1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[83]
2550 #define SWIGTYPE_p_wxObject swig_types[84]
2551 #define SWIGTYPE_p_wxPCXHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNMHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialog swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[89]
2556 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPanel swig_types[92]
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2560 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94]
2561 #define SWIGTYPE_p_wxPoint swig_types[95]
2562 #define SWIGTYPE_p_wxPopupWindow swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewCanvas swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewControlBar swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewFrame swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialog swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialogData swig_types[102]
2569 #define SWIGTYPE_p_wxPrintPreview swig_types[103]
2570 #define SWIGTYPE_p_wxPrinter swig_types[104]
2571 #define SWIGTYPE_p_wxProgressDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPyApp swig_types[106]
2573 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[109]
2576 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPyPanel swig_types[111]
2578 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintPreview swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintout swig_types[116]
2583 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119]
2586 #define SWIGTYPE_p_wxPyVListBox swig_types[120]
2587 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPyValidator swig_types[122]
2589 #define SWIGTYPE_p_wxPyWindow swig_types[123]
2590 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124]
2591 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125]
2592 #define SWIGTYPE_p_wxRect swig_types[126]
2593 #define SWIGTYPE_p_wxRegion swig_types[127]
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStatusBar swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIcon swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620 #define SWIGTYPE_p_wxTipWindow swig_types[154]
2621 #define SWIGTYPE_p_wxToolBar swig_types[155]
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624 #define SWIGTYPE_p_wxValidator swig_types[158]
2625 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2626 #define SWIGTYPE_p_wxWindow swig_types[160]
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2629 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2630 static swig_type_info
*swig_types
[165];
2631 static swig_module_info swig_module
= {swig_types
, 164, 0, 0, 0, 0};
2632 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2633 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635 /* -------- TYPES TABLE (END) -------- */
2637 #if (PY_VERSION_HEX <= 0x02000000)
2638 # if !defined(SWIG_PYTHON_CLASSIC)
2639 # error "This python version requires to use swig with the '-classic' option"
2642 #if (PY_VERSION_HEX <= 0x02020000)
2643 # error "This python version requires to use swig with the '-nomodern' option"
2645 #if (PY_VERSION_HEX <= 0x02020000)
2646 # error "This python version requires to use swig with the '-nomodernargs' option"
2649 # error "This python version requires to use swig with the '-nofastunpack' option"
2652 /*-----------------------------------------------
2653 @(target):= _windows_.so
2654 ------------------------------------------------*/
2655 #define SWIG_init init_windows_
2657 #define SWIG_name "_windows_"
2659 #define SWIGVERSION 0x010329
2662 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2663 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2666 #include <stdexcept>
2670 class PyObject_ptr
{
2675 PyObject_ptr() :_obj(0)
2679 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2684 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2686 if (initial_ref
) Py_XINCREF(_obj
);
2689 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2691 Py_XINCREF(item
._obj
);
2702 operator PyObject
*() const
2707 PyObject
*operator->() const
2716 struct PyObject_var
: PyObject_ptr
{
2717 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2719 PyObject_var
& operator = (PyObject
* obj
)
2729 #include "wx/wxPython/wxPython.h"
2730 #include "wx/wxPython/pyclasses.h"
2733 static const wxString
wxPyEmptyString(wxEmptyString
);
2734 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2740 # define LLONG_MIN LONG_LONG_MIN
2743 # define LLONG_MAX LONG_LONG_MAX
2746 # define ULLONG_MAX ULONG_LONG_MAX
2751 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2753 if (PyNumber_Check(obj
)) {
2754 if (val
) *val
= PyInt_AsLong(obj
);
2757 return SWIG_TypeError
;
2762 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2765 int res
= SWIG_AsVal_long (obj
, &v
);
2766 if (SWIG_IsOK(res
)) {
2767 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2768 return SWIG_OverflowError
;
2770 if (val
) *val
= static_cast< int >(v
);
2778 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2780 if (obj
== Py_True
) {
2781 if (val
) *val
= true;
2783 } else if (obj
== Py_False
) {
2784 if (val
) *val
= false;
2788 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2789 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2795 #define SWIG_From_long PyInt_FromLong
2798 SWIGINTERNINLINE PyObject
*
2799 SWIG_From_int (int value
)
2801 return SWIG_From_long (value
);
2806 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2808 if (PyNumber_Check(obj
)) {
2809 if (val
) *val
= PyFloat_AsDouble(obj
);
2812 return SWIG_TypeError
;
2816 #define SWIG_From_double PyFloat_FromDouble
2818 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2819 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2820 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2821 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2822 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2823 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2826 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2829 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2830 return SWIG_TypeError
;
2833 *val
= (unsigned long)v
;
2839 SWIG_AsVal_unsigned_SS_char (PyObject
* obj
, unsigned char *val
)
2842 int res
= SWIG_AsVal_unsigned_SS_long (obj
, &v
);
2843 if (SWIG_IsOK(res
)) {
2844 if ((v
> UCHAR_MAX
)) {
2845 return SWIG_OverflowError
;
2847 if (val
) *val
= static_cast< unsigned char >(v
);
2855 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2857 self
->GetFieldRect(i
, r
);
2860 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2861 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2862 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2864 #include <wx/popupwin.h>
2867 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2870 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2871 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2872 : wxPopupTransientWindow(parent
, style
) {}
2874 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2875 DEC_PYCALLBACK__(OnDismiss
);
2876 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2881 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2882 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2883 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2886 #include <wx/tipwin.h>
2888 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2889 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2892 #include <wx/tipwin.h>
2895 #include <wx/vscroll.h>
2898 class wxPyVScrolledWindow
: public wxVScrolledWindow
2900 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2902 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2904 wxPyVScrolledWindow(wxWindow
*parent
,
2905 wxWindowID id
= wxID_ANY
,
2906 const wxPoint
& pos
= wxDefaultPosition
,
2907 const wxSize
& size
= wxDefaultSize
,
2909 const wxString
& name
= wxPyPanelNameStr
)
2910 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2913 // Overridable virtuals
2915 // this function must be overridden in the derived class and it should
2916 // return the height of the given line in pixels
2917 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2920 // this function doesn't have to be overridden but it may be useful to do
2921 // it if calculating the lines heights is a relatively expensive operation
2922 // as it gives the user code a possibility to calculate several of them at
2925 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2926 // shouldn't rely on the latter being called for all lines in the interval
2927 // specified here. It is also possible that OnGetLineHeight() will be
2928 // called for the lines outside of this interval, so this is really just a
2929 // hint, not a promise.
2931 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2933 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2936 // when the number of lines changes, we try to estimate the total height
2937 // of all lines which is a rather expensive operation in terms of lines
2938 // access, so if the user code may estimate the average height
2939 // better/faster than we do, it should override this function to implement
2942 // this function should return the best guess for the total height it may
2944 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2947 // Also expose some other interesting protected methods
2950 // find the index of the line we need to show at the top of the window such
2951 // that the last (fully or partially) visible line is the given one
2952 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2953 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2955 // get the total height of the lines between lineMin (inclusive) and
2956 // lineMax (exclusive)
2957 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2958 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2960 // update the thumb size shown by the scrollbar
2961 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2963 // remove the scrollbar completely because we don't need it
2964 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2969 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2971 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2972 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2973 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2976 SWIGINTERNINLINE
int
2977 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2980 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2981 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2986 SWIGINTERNINLINE PyObject
*
2987 SWIG_From_unsigned_SS_long (unsigned long value
)
2989 return (value
> LONG_MAX
) ?
2990 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2994 SWIGINTERNINLINE PyObject
*
2995 SWIG_From_size_t (size_t value
)
2997 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
3001 #include <wx/vlbox.h>
3003 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
3005 class wxPyVListBox
: public wxVListBox
3007 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3009 wxPyVListBox() : wxVListBox() {}
3011 wxPyVListBox(wxWindow
*parent
,
3012 wxWindowID id
= wxID_ANY
,
3013 const wxPoint
& pos
= wxDefaultPosition
,
3014 const wxSize
& size
= wxDefaultSize
,
3016 const wxString
& name
= wxPyVListBoxNameStr
)
3017 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3020 // Overridable virtuals
3022 // the derived class must implement this function to actually draw the item
3023 // with the given index on the provided DC
3024 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3025 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3028 // the derived class must implement this method to return the height of the
3030 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3031 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3034 // this method may be used to draw separators between the lines; note that
3035 // the rectangle may be modified, typically to deflate it a bit before
3036 // passing to OnDrawItem()
3038 // the base class version doesn't do anything
3039 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3040 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3043 // this method is used to draw the items background and, maybe, a border
3046 // the base class version implements a reasonable default behaviour which
3047 // consists in drawing the selected item with the standard background
3048 // colour and drawing a border around the item if it is either selected or
3050 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3051 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3057 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3059 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3060 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3061 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3062 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3065 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3066 unsigned long cookie
= 0;
3067 int selected
= self
->GetFirstSelected(cookie
);
3068 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3069 PyObject
* tup
= PyTuple_New(2);
3070 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3071 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3072 wxPyEndBlockThreads(blocked
);
3075 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3076 int selected
= self
->GetNextSelected(cookie
);
3077 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3078 PyObject
* tup
= PyTuple_New(2);
3079 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3080 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3081 wxPyEndBlockThreads(blocked
);
3085 #include <wx/htmllbox.h>
3088 class wxPyHtmlListBox
: public wxHtmlListBox
3090 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3092 wxPyHtmlListBox() : wxHtmlListBox() {}
3094 wxPyHtmlListBox(wxWindow
*parent
,
3095 wxWindowID id
= wxID_ANY
,
3096 const wxPoint
& pos
= wxDefaultPosition
,
3097 const wxSize
& size
= wxDefaultSize
,
3099 const wxString
& name
= wxPyVListBoxNameStr
)
3100 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3103 // Overridable virtuals
3105 // this method must be implemented in the derived class and should return
3106 // the body (i.e. without <html>) of the HTML for the given item
3107 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3109 // this function may be overridden to decorate HTML returned by OnGetItem()
3110 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3112 // These are from wxVListBox
3113 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3114 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3117 // // this method allows to customize the selection appearance: it may be used
3118 // // to specify the colour of the text which normally has the given colour
3119 // // colFg when it is inside the selection
3121 // // by default, the original colour is not used at all and all text has the
3122 // // same (default for this system) colour inside selection
3123 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3125 // // this is the same as GetSelectedTextColour() but allows to customize the
3126 // // background colour -- this is even more rarely used as you can change it
3127 // // globally using SetSelectionBackground()
3128 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3131 // This method may be overriden to handle clicking on a link in
3132 // the listbox. By default, clicking links is ignored.
3133 virtual void OnLinkClicked(size_t n
,
3134 const wxHtmlLinkInfo
& link
);
3140 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3142 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3143 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3144 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3145 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3148 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3149 const wxHtmlLinkInfo
& link
) {
3151 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3152 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3153 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3154 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3157 wxPyEndBlockThreads(blocked
);
3159 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3166 #ifndef wxHAS_TASK_BAR_ICON
3167 // implement dummy classes for platforms that don't have it
3169 class wxTaskBarIcon
: public wxEvtHandler
3172 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3176 class wxTaskBarIconEvent
: public wxEvent
3179 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3180 { wxPyRaiseNotImplemented(); }
3181 virtual wxEvent
* Clone() const { return NULL
; }
3182 bool IsOk() const { return false; }
3183 bool IsIconInstalled() const { return false; }
3184 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3185 bool RemoveIcon() { return false; }
3186 bool PopupMenu(wxMenu
*menu
) { return false; }
3190 wxEVT_TASKBAR_MOVE
= 0,
3191 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3192 wxEVT_TASKBAR_LEFT_UP
= 0,
3193 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3194 wxEVT_TASKBAR_RIGHT_UP
= 0,
3195 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3196 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3201 // Otherwise make a class that can virtualize CreatePopupMenu
3202 class wxPyTaskBarIcon
: public wxTaskBarIcon
3204 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3206 wxPyTaskBarIcon() : wxTaskBarIcon()
3209 wxMenu
* CreatePopupMenu() {
3210 wxMenu
*rval
= NULL
;
3212 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3213 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3216 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3218 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3223 wxPyEndBlockThreads(blocked
);
3225 rval
= wxTaskBarIcon::CreatePopupMenu();
3232 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3236 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3240 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3241 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3242 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3243 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3244 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3245 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3247 // for compatibility only
3248 #define wxHIDE_READONLY 0
3250 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3252 self
->GetFilenames(arr
);
3253 return wxArrayString2PyList_helper(arr
);
3255 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3257 self
->GetPaths(arr
);
3258 return wxArrayString2PyList_helper(arr
);
3260 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3261 return wxArrayInt2PyList_helper(self
->GetSelections());
3263 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
){
3264 return new wxSingleChoiceDialog(parent
, message
, caption
,
3265 choices
, choices_array
, NULL
, style
, pos
);
3267 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3269 SWIGINTERNINLINE PyObject
*
3270 SWIG_From_bool (bool value
)
3272 return PyBool_FromLong(value
? 1 : 0);
3278 // C++ version of Python aware wxWindow
3279 class wxPyWindow
: public wxWindow
3281 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3283 wxPyWindow() : wxWindow() {}
3284 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3285 const wxPoint
& pos
= wxDefaultPosition
,
3286 const wxSize
& size
= wxDefaultSize
,
3288 const wxString
& name
= wxPyPanelNameStr
)
3289 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3291 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3293 bool DoEraseBackground(wxDC
* dc
) {
3295 return wxWindow::DoEraseBackground(dc
->GetHDC());
3297 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3303 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3304 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3305 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3306 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3308 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3309 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3310 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3312 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3313 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3315 DEC_PYCALLBACK__(InitDialog
);
3316 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3317 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3318 DEC_PYCALLBACK_BOOL_(Validate
);
3320 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3321 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3322 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3324 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3325 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3327 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3328 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3330 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3332 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3337 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3339 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3340 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3341 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3342 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3344 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3345 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3346 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3348 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3349 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3351 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3352 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3353 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3354 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3356 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3357 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3358 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3360 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3361 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3363 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3364 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3366 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3368 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3370 // C++ version of Python aware wxPanel
3371 class wxPyPanel
: public wxPanel
3373 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3375 wxPyPanel() : wxPanel() {}
3376 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3377 const wxPoint
& pos
= wxDefaultPosition
,
3378 const wxSize
& size
= wxDefaultSize
,
3380 const wxString
& name
= wxPyPanelNameStr
)
3381 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3383 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3384 bool DoEraseBackground(wxDC
* dc
) {
3386 return wxWindow::DoEraseBackground(dc
->GetHDC());
3388 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3395 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3396 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3397 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3398 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3400 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3401 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3402 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3404 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3405 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3407 DEC_PYCALLBACK__(InitDialog
);
3408 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3409 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3410 DEC_PYCALLBACK_BOOL_(Validate
);
3412 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3413 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3414 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3416 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3417 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3419 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3420 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3422 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3424 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3429 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3431 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3432 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3433 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3434 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3436 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3437 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3438 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3440 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3441 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3443 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3444 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3446 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3448 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3449 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3450 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3452 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3453 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3455 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3456 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3458 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3460 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3462 // C++ version of Python aware wxScrolledWindow
3463 class wxPyScrolledWindow
: public wxScrolledWindow
3465 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3467 wxPyScrolledWindow() : wxScrolledWindow() {}
3468 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3469 const wxPoint
& pos
= wxDefaultPosition
,
3470 const wxSize
& size
= wxDefaultSize
,
3472 const wxString
& name
= wxPyPanelNameStr
)
3473 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3475 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3476 bool DoEraseBackground(wxDC
* dc
) {
3478 return wxWindow::DoEraseBackground(dc
->GetHDC());
3480 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3486 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3487 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3488 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3489 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3491 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3492 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3493 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3495 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3496 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3498 DEC_PYCALLBACK__(InitDialog
);
3499 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3500 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3501 DEC_PYCALLBACK_BOOL_(Validate
);
3503 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3504 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3505 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3507 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3508 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3510 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3511 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3513 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3515 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3520 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3522 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3523 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3524 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3525 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3527 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3528 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3529 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3531 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3532 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3534 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3535 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3537 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3539 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3540 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3541 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3543 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3544 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3546 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3547 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3549 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3551 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3554 #include "wx/wxPython/printfw.h"
3557 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3558 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3559 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3561 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3562 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3563 self
->GetPrivDataLen());
3564 wxPyEndBlockThreads(blocked
);
3567 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3568 if (! PyString_Check(data
)) {
3569 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3570 "Expected string object"));
3574 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3575 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3576 wxPyEndBlockThreads(blocked
);
3580 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3582 // Since this one would be tough and ugly to do with the Macros...
3583 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3584 bool hadErr
= false;
3587 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3588 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3589 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3590 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3593 val
= PyTuple_GetItem(result
, 0);
3594 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3597 val
= PyTuple_GetItem(result
, 1);
3598 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3601 val
= PyTuple_GetItem(result
, 2);
3602 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3605 val
= PyTuple_GetItem(result
, 3);
3606 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3613 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3618 wxPyEndBlockThreads(blocked
);
3620 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3625 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3626 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3627 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3628 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3629 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3630 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3631 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3637 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3638 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3641 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3642 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3645 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3646 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3647 PyObject* win = wxPyMake_wxObject(a,false); \
3648 PyObject* dc = wxPyMake_wxObject(&b,false); \
3649 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3653 wxPyEndBlockThreads(blocked); \
3655 rval = PCLASS::CBNAME(a, b); \
3662 class wxPyPrintPreview
: public wxPrintPreview
3664 DECLARE_CLASS(wxPyPrintPreview
)
3666 wxPyPrintPreview(wxPyPrintout
* printout
,
3667 wxPyPrintout
* printoutForPrinting
,
3668 wxPrintDialogData
* data
=NULL
)
3669 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3671 wxPyPrintPreview(wxPyPrintout
* printout
,
3672 wxPyPrintout
* printoutForPrinting
,
3674 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3677 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3678 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3679 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3680 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3681 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3682 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3683 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3688 // Stupid renamed classes... Fix this in 2.5...
3689 #if defined(__WXMSW__)
3690 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3691 #elif defined(__WXMAC__)
3692 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3694 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3697 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3698 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3699 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3700 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3701 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3702 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3703 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3706 class wxPyPreviewFrame
: public wxPreviewFrame
3708 DECLARE_CLASS(wxPyPreviewFrame
)
3710 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3711 const wxString
& title
,
3712 const wxPoint
& pos
= wxDefaultPosition
,
3713 const wxSize
& size
= wxDefaultSize
,
3714 long style
= wxDEFAULT_FRAME_STYLE
,
3715 const wxString
& name
= wxPyFrameNameStr
)
3716 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3719 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3720 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3722 DEC_PYCALLBACK_VOID_(Initialize
);
3723 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3724 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3729 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3731 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3732 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3733 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3736 class wxPyPreviewControlBar
: public wxPreviewControlBar
3738 DECLARE_CLASS(wxPyPreviewControlBar
)
3740 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3743 const wxPoint
& pos
= wxDefaultPosition
,
3744 const wxSize
& size
= wxDefaultSize
,
3746 const wxString
& name
= wxPyPanelNameStr
)
3747 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3750 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3752 DEC_PYCALLBACK_VOID_(CreateButtons
);
3753 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3758 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3759 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3760 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3765 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3766 PyObject
*resultobj
= 0;
3767 wxWindow
*arg1
= (wxWindow
*) 0 ;
3768 int arg2
= (int) (int)-1 ;
3769 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3770 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3771 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3772 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3773 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3774 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3775 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3776 wxPanel
*result
= 0 ;
3785 bool temp6
= false ;
3786 PyObject
* obj0
= 0 ;
3787 PyObject
* obj1
= 0 ;
3788 PyObject
* obj2
= 0 ;
3789 PyObject
* obj3
= 0 ;
3790 PyObject
* obj4
= 0 ;
3791 PyObject
* obj5
= 0 ;
3792 char * kwnames
[] = {
3793 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3798 if (!SWIG_IsOK(res1
)) {
3799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3801 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3804 if (!SWIG_IsOK(ecode2
)) {
3805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3807 arg2
= static_cast< int >(val2
);
3812 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3818 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3822 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3823 if (!SWIG_IsOK(ecode5
)) {
3824 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3826 arg5
= static_cast< long >(val5
);
3830 arg6
= wxString_in_helper(obj5
);
3831 if (arg6
== NULL
) SWIG_fail
;
3836 if (!wxPyCheckForApp()) SWIG_fail
;
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3839 wxPyEndAllowThreads(__tstate
);
3840 if (PyErr_Occurred()) SWIG_fail
;
3842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3857 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3858 PyObject
*resultobj
= 0;
3859 wxPanel
*result
= 0 ;
3861 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3863 if (!wxPyCheckForApp()) SWIG_fail
;
3864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3865 result
= (wxPanel
*)new wxPanel();
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3876 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
= 0;
3878 wxPanel
*arg1
= (wxPanel
*) 0 ;
3879 wxWindow
*arg2
= (wxWindow
*) 0 ;
3880 int arg3
= (int) (int)-1 ;
3881 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3882 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3883 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3884 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3885 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3886 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3887 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3899 bool temp7
= false ;
3900 PyObject
* obj0
= 0 ;
3901 PyObject
* obj1
= 0 ;
3902 PyObject
* obj2
= 0 ;
3903 PyObject
* obj3
= 0 ;
3904 PyObject
* obj4
= 0 ;
3905 PyObject
* obj5
= 0 ;
3906 PyObject
* obj6
= 0 ;
3907 char * kwnames
[] = {
3908 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3913 if (!SWIG_IsOK(res1
)) {
3914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3916 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3917 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3918 if (!SWIG_IsOK(res2
)) {
3919 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3921 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3923 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3924 if (!SWIG_IsOK(ecode3
)) {
3925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3927 arg3
= static_cast< int >(val3
);
3932 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3938 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3942 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3943 if (!SWIG_IsOK(ecode6
)) {
3944 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3946 arg6
= static_cast< long >(val6
);
3950 arg7
= wxString_in_helper(obj6
);
3951 if (arg7
== NULL
) SWIG_fail
;
3956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3957 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3978 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3979 PyObject
*resultobj
= 0;
3980 wxPanel
*arg1
= (wxPanel
*) 0 ;
3983 PyObject
*swig_obj
[1] ;
3985 if (!args
) SWIG_fail
;
3987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3988 if (!SWIG_IsOK(res1
)) {
3989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3991 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3994 (arg1
)->SetFocusIgnoringChildren();
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= SWIG_Py_Void();
4005 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
= 0;
4007 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4008 SwigValueWrapper
<wxVisualAttributes
> result
;
4011 PyObject
* obj0
= 0 ;
4012 char * kwnames
[] = {
4013 (char *) "variant", NULL
4016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4018 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4019 if (!SWIG_IsOK(ecode1
)) {
4020 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4022 arg1
= static_cast< wxWindowVariant
>(val1
);
4025 if (!wxPyCheckForApp()) SWIG_fail
;
4026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4027 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4028 wxPyEndAllowThreads(__tstate
);
4029 if (PyErr_Occurred()) SWIG_fail
;
4031 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4038 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4040 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4041 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4042 return SWIG_Py_Void();
4045 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4046 return SWIG_Python_InitShadowInstance(args
);
4049 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4050 PyObject
*resultobj
= 0;
4051 wxWindow
*arg1
= (wxWindow
*) 0 ;
4052 int arg2
= (int) (int)-1 ;
4053 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4054 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4055 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4056 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4057 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4058 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4059 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4060 wxScrolledWindow
*result
= 0 ;
4069 bool temp6
= false ;
4070 PyObject
* obj0
= 0 ;
4071 PyObject
* obj1
= 0 ;
4072 PyObject
* obj2
= 0 ;
4073 PyObject
* obj3
= 0 ;
4074 PyObject
* obj4
= 0 ;
4075 PyObject
* obj5
= 0 ;
4076 char * kwnames
[] = {
4077 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4082 if (!SWIG_IsOK(res1
)) {
4083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4085 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4087 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4088 if (!SWIG_IsOK(ecode2
)) {
4089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4091 arg2
= static_cast< int >(val2
);
4096 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4102 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4106 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4107 if (!SWIG_IsOK(ecode5
)) {
4108 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4110 arg5
= static_cast< long >(val5
);
4114 arg6
= wxString_in_helper(obj5
);
4115 if (arg6
== NULL
) SWIG_fail
;
4120 if (!wxPyCheckForApp()) SWIG_fail
;
4121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4122 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4141 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4142 PyObject
*resultobj
= 0;
4143 wxScrolledWindow
*result
= 0 ;
4145 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4147 if (!wxPyCheckForApp()) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4150 wxPyEndAllowThreads(__tstate
);
4151 if (PyErr_Occurred()) SWIG_fail
;
4153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4160 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4161 PyObject
*resultobj
= 0;
4162 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4163 wxWindow
*arg2
= (wxWindow
*) 0 ;
4164 int arg3
= (int) (int)-1 ;
4165 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4166 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4167 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4168 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4169 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4170 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4171 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4183 bool temp7
= false ;
4184 PyObject
* obj0
= 0 ;
4185 PyObject
* obj1
= 0 ;
4186 PyObject
* obj2
= 0 ;
4187 PyObject
* obj3
= 0 ;
4188 PyObject
* obj4
= 0 ;
4189 PyObject
* obj5
= 0 ;
4190 PyObject
* obj6
= 0 ;
4191 char * kwnames
[] = {
4192 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4197 if (!SWIG_IsOK(res1
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4200 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4202 if (!SWIG_IsOK(res2
)) {
4203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4205 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4207 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4208 if (!SWIG_IsOK(ecode3
)) {
4209 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4211 arg3
= static_cast< int >(val3
);
4216 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4222 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4226 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4227 if (!SWIG_IsOK(ecode6
)) {
4228 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4230 arg6
= static_cast< long >(val6
);
4234 arg7
= wxString_in_helper(obj6
);
4235 if (arg7
== NULL
) SWIG_fail
;
4240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4241 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4262 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4263 PyObject
*resultobj
= 0;
4264 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4269 int arg6
= (int) 0 ;
4270 int arg7
= (int) 0 ;
4271 bool arg8
= (bool) false ;
4288 PyObject
* obj0
= 0 ;
4289 PyObject
* obj1
= 0 ;
4290 PyObject
* obj2
= 0 ;
4291 PyObject
* obj3
= 0 ;
4292 PyObject
* obj4
= 0 ;
4293 PyObject
* obj5
= 0 ;
4294 PyObject
* obj6
= 0 ;
4295 PyObject
* obj7
= 0 ;
4296 char * kwnames
[] = {
4297 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4302 if (!SWIG_IsOK(res1
)) {
4303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4305 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4307 if (!SWIG_IsOK(ecode2
)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4310 arg2
= static_cast< int >(val2
);
4311 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4312 if (!SWIG_IsOK(ecode3
)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4315 arg3
= static_cast< int >(val3
);
4316 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4317 if (!SWIG_IsOK(ecode4
)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4320 arg4
= static_cast< int >(val4
);
4321 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4322 if (!SWIG_IsOK(ecode5
)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4325 arg5
= static_cast< int >(val5
);
4327 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4328 if (!SWIG_IsOK(ecode6
)) {
4329 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4331 arg6
= static_cast< int >(val6
);
4334 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4335 if (!SWIG_IsOK(ecode7
)) {
4336 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4338 arg7
= static_cast< int >(val7
);
4341 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4342 if (!SWIG_IsOK(ecode8
)) {
4343 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4345 arg8
= static_cast< bool >(val8
);
4348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4349 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4350 wxPyEndAllowThreads(__tstate
);
4351 if (PyErr_Occurred()) SWIG_fail
;
4353 resultobj
= SWIG_Py_Void();
4360 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4361 PyObject
*resultobj
= 0;
4362 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4371 PyObject
* obj0
= 0 ;
4372 PyObject
* obj1
= 0 ;
4373 PyObject
* obj2
= 0 ;
4374 char * kwnames
[] = {
4375 (char *) "self",(char *) "x",(char *) "y", NULL
4378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4380 if (!SWIG_IsOK(res1
)) {
4381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4383 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4384 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4385 if (!SWIG_IsOK(ecode2
)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4388 arg2
= static_cast< int >(val2
);
4389 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4390 if (!SWIG_IsOK(ecode3
)) {
4391 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4393 arg3
= static_cast< int >(val3
);
4395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4396 (arg1
)->Scroll(arg2
,arg3
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= SWIG_Py_Void();
4407 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
= 0;
4409 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4416 PyObject
* obj0
= 0 ;
4417 PyObject
* obj1
= 0 ;
4418 char * kwnames
[] = {
4419 (char *) "self",(char *) "orient", NULL
4422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4424 if (!SWIG_IsOK(res1
)) {
4425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4427 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4428 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4429 if (!SWIG_IsOK(ecode2
)) {
4430 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4432 arg2
= static_cast< int >(val2
);
4434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4436 wxPyEndAllowThreads(__tstate
);
4437 if (PyErr_Occurred()) SWIG_fail
;
4439 resultobj
= SWIG_From_int(static_cast< int >(result
));
4446 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4447 PyObject
*resultobj
= 0;
4448 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4457 PyObject
* obj0
= 0 ;
4458 PyObject
* obj1
= 0 ;
4459 PyObject
* obj2
= 0 ;
4460 char * kwnames
[] = {
4461 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4466 if (!SWIG_IsOK(res1
)) {
4467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4469 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4471 if (!SWIG_IsOK(ecode2
)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4474 arg2
= static_cast< int >(val2
);
4475 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4476 if (!SWIG_IsOK(ecode3
)) {
4477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4479 arg3
= static_cast< int >(val3
);
4481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4482 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4483 wxPyEndAllowThreads(__tstate
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 resultobj
= SWIG_Py_Void();
4493 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
= 0;
4495 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4504 PyObject
* obj0
= 0 ;
4505 PyObject
* obj1
= 0 ;
4506 PyObject
* obj2
= 0 ;
4507 char * kwnames
[] = {
4508 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4513 if (!SWIG_IsOK(res1
)) {
4514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4516 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4518 if (!SWIG_IsOK(ecode2
)) {
4519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4521 arg2
= static_cast< int >(val2
);
4522 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4523 if (!SWIG_IsOK(ecode3
)) {
4524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4526 arg3
= static_cast< int >(val3
);
4528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4529 (arg1
)->SetScrollRate(arg2
,arg3
);
4530 wxPyEndAllowThreads(__tstate
);
4531 if (PyErr_Occurred()) SWIG_fail
;
4533 resultobj
= SWIG_Py_Void();
4540 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4541 PyObject
*resultobj
= 0;
4542 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4543 int *arg2
= (int *) 0 ;
4544 int *arg3
= (int *) 0 ;
4548 int res2
= SWIG_TMPOBJ
;
4550 int res3
= SWIG_TMPOBJ
;
4551 PyObject
*swig_obj
[1] ;
4555 if (!args
) SWIG_fail
;
4557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4558 if (!SWIG_IsOK(res1
)) {
4559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4561 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4564 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4568 resultobj
= SWIG_Py_Void();
4569 if (SWIG_IsTmpObj(res2
)) {
4570 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4572 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4573 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4575 if (SWIG_IsTmpObj(res3
)) {
4576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4578 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4587 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4588 PyObject
*resultobj
= 0;
4589 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4598 PyObject
* obj0
= 0 ;
4599 PyObject
* obj1
= 0 ;
4600 PyObject
* obj2
= 0 ;
4601 char * kwnames
[] = {
4602 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4607 if (!SWIG_IsOK(res1
)) {
4608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4610 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4611 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4612 if (!SWIG_IsOK(ecode2
)) {
4613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4615 arg2
= static_cast< bool >(val2
);
4616 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4617 if (!SWIG_IsOK(ecode3
)) {
4618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4620 arg3
= static_cast< bool >(val3
);
4622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4623 (arg1
)->EnableScrolling(arg2
,arg3
);
4624 wxPyEndAllowThreads(__tstate
);
4625 if (PyErr_Occurred()) SWIG_fail
;
4627 resultobj
= SWIG_Py_Void();
4634 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4635 PyObject
*resultobj
= 0;
4636 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4637 int *arg2
= (int *) 0 ;
4638 int *arg3
= (int *) 0 ;
4642 int res2
= SWIG_TMPOBJ
;
4644 int res3
= SWIG_TMPOBJ
;
4645 PyObject
*swig_obj
[1] ;
4649 if (!args
) SWIG_fail
;
4651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4652 if (!SWIG_IsOK(res1
)) {
4653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4655 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4658 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4659 wxPyEndAllowThreads(__tstate
);
4660 if (PyErr_Occurred()) SWIG_fail
;
4662 resultobj
= SWIG_Py_Void();
4663 if (SWIG_IsTmpObj(res2
)) {
4664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4666 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4669 if (SWIG_IsTmpObj(res3
)) {
4670 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4672 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4673 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4681 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4682 PyObject
*resultobj
= 0;
4683 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4692 PyObject
* obj0
= 0 ;
4693 PyObject
* obj1
= 0 ;
4694 PyObject
* obj2
= 0 ;
4695 char * kwnames
[] = {
4696 (char *) "self",(char *) "xs",(char *) "ys", NULL
4699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4701 if (!SWIG_IsOK(res1
)) {
4702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4704 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4705 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4706 if (!SWIG_IsOK(ecode2
)) {
4707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4709 arg2
= static_cast< double >(val2
);
4710 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4711 if (!SWIG_IsOK(ecode3
)) {
4712 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4714 arg3
= static_cast< double >(val3
);
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 (arg1
)->SetScale(arg2
,arg3
);
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= SWIG_Py_Void();
4728 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4729 PyObject
*resultobj
= 0;
4730 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4734 PyObject
*swig_obj
[1] ;
4736 if (!args
) SWIG_fail
;
4738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4739 if (!SWIG_IsOK(res1
)) {
4740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4742 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4745 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= SWIG_From_double(static_cast< double >(result
));
4756 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4757 PyObject
*resultobj
= 0;
4758 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4762 PyObject
*swig_obj
[1] ;
4764 if (!args
) SWIG_fail
;
4766 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4767 if (!SWIG_IsOK(res1
)) {
4768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4770 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4774 wxPyEndAllowThreads(__tstate
);
4775 if (PyErr_Occurred()) SWIG_fail
;
4777 resultobj
= SWIG_From_double(static_cast< double >(result
));
4784 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4785 PyObject
*resultobj
= 0;
4786 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4793 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4795 if (!SWIG_IsOK(res1
)) {
4796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4798 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4801 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4805 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4806 wxPyEndAllowThreads(__tstate
);
4807 if (PyErr_Occurred()) SWIG_fail
;
4809 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4816 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4817 PyObject
*resultobj
= 0;
4818 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4821 int *arg4
= (int *) 0 ;
4822 int *arg5
= (int *) 0 ;
4830 int res4
= SWIG_TMPOBJ
;
4832 int res5
= SWIG_TMPOBJ
;
4836 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4838 if (!SWIG_IsOK(res1
)) {
4839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4841 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4842 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4843 if (!SWIG_IsOK(ecode2
)) {
4844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4846 arg2
= static_cast< int >(val2
);
4847 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4848 if (!SWIG_IsOK(ecode3
)) {
4849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4851 arg3
= static_cast< int >(val3
);
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4855 wxPyEndAllowThreads(__tstate
);
4856 if (PyErr_Occurred()) SWIG_fail
;
4858 resultobj
= SWIG_Py_Void();
4859 if (SWIG_IsTmpObj(res4
)) {
4860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4862 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4863 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4865 if (SWIG_IsTmpObj(res5
)) {
4866 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4868 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4869 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4877 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4881 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4884 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4887 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4891 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4896 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4897 PyObject
*resultobj
= 0;
4898 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4905 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4907 if (!SWIG_IsOK(res1
)) {
4908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4910 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4913 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4917 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4918 wxPyEndAllowThreads(__tstate
);
4919 if (PyErr_Occurred()) SWIG_fail
;
4921 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4928 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4929 PyObject
*resultobj
= 0;
4930 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4933 int *arg4
= (int *) 0 ;
4934 int *arg5
= (int *) 0 ;
4942 int res4
= SWIG_TMPOBJ
;
4944 int res5
= SWIG_TMPOBJ
;
4948 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4950 if (!SWIG_IsOK(res1
)) {
4951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4953 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4954 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4955 if (!SWIG_IsOK(ecode2
)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4958 arg2
= static_cast< int >(val2
);
4959 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4960 if (!SWIG_IsOK(ecode3
)) {
4961 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4963 arg3
= static_cast< int >(val3
);
4965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4966 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 resultobj
= SWIG_Py_Void();
4971 if (SWIG_IsTmpObj(res4
)) {
4972 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4974 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4975 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4977 if (SWIG_IsTmpObj(res5
)) {
4978 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4980 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4981 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4989 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4993 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4996 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4999 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
5003 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5008 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5009 PyObject
*resultobj
= 0;
5010 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5013 PyObject
*swig_obj
[1] ;
5015 if (!args
) SWIG_fail
;
5017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5018 if (!SWIG_IsOK(res1
)) {
5019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5021 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5024 (arg1
)->AdjustScrollbars();
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5028 resultobj
= SWIG_Py_Void();
5035 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
= 0;
5037 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5038 wxScrollWinEvent
*arg2
= 0 ;
5044 PyObject
* obj0
= 0 ;
5045 PyObject
* obj1
= 0 ;
5046 char * kwnames
[] = {
5047 (char *) "self",(char *) "event", NULL
5050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5052 if (!SWIG_IsOK(res1
)) {
5053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5055 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5056 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5057 if (!SWIG_IsOK(res2
)) {
5058 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5061 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5063 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5070 resultobj
= SWIG_From_int(static_cast< int >(result
));
5077 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5078 PyObject
*resultobj
= 0;
5079 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5080 wxWindow
*arg2
= (wxWindow
*) 0 ;
5085 PyObject
* obj0
= 0 ;
5086 PyObject
* obj1
= 0 ;
5087 char * kwnames
[] = {
5088 (char *) "self",(char *) "target", NULL
5091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5093 if (!SWIG_IsOK(res1
)) {
5094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5096 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5097 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5098 if (!SWIG_IsOK(res2
)) {
5099 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5101 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 (arg1
)->SetTargetWindow(arg2
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 resultobj
= SWIG_Py_Void();
5115 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5116 PyObject
*resultobj
= 0;
5117 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5118 wxWindow
*result
= 0 ;
5121 PyObject
*swig_obj
[1] ;
5123 if (!args
) SWIG_fail
;
5125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5126 if (!SWIG_IsOK(res1
)) {
5127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5129 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= wxPyMake_wxObject(result
, 0);
5145 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5146 PyObject
*resultobj
= 0;
5147 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5152 PyObject
* obj0
= 0 ;
5153 PyObject
* obj1
= 0 ;
5154 char * kwnames
[] = {
5155 (char *) "self",(char *) "rect", NULL
5158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5160 if (!SWIG_IsOK(res1
)) {
5161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5163 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5166 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5170 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5171 wxPyEndAllowThreads(__tstate
);
5172 if (PyErr_Occurred()) SWIG_fail
;
5174 resultobj
= SWIG_Py_Void();
5181 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5182 PyObject
*resultobj
= 0;
5183 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5187 PyObject
*swig_obj
[1] ;
5189 if (!args
) SWIG_fail
;
5191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5192 if (!SWIG_IsOK(res1
)) {
5193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5195 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5202 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5209 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
*resultobj
= 0;
5211 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5217 PyObject
* obj0
= 0 ;
5218 PyObject
* obj1
= 0 ;
5219 char * kwnames
[] = {
5220 (char *) "self",(char *) "dc", NULL
5223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5225 if (!SWIG_IsOK(res1
)) {
5226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5228 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5229 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5230 if (!SWIG_IsOK(res2
)) {
5231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5234 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5236 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5239 (arg1
)->DoPrepareDC(*arg2
);
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_Py_Void();
5250 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
= 0;
5252 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5253 SwigValueWrapper
<wxVisualAttributes
> result
;
5256 PyObject
* obj0
= 0 ;
5257 char * kwnames
[] = {
5258 (char *) "variant", NULL
5261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5263 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5264 if (!SWIG_IsOK(ecode1
)) {
5265 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5267 arg1
= static_cast< wxWindowVariant
>(val1
);
5270 if (!wxPyCheckForApp()) SWIG_fail
;
5271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5272 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5283 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5285 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5286 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5287 return SWIG_Py_Void();
5290 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5291 return SWIG_Python_InitShadowInstance(args
);
5294 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5295 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5300 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5301 PyObject
*pyobj
= 0;
5305 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5307 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5314 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5315 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5320 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5321 PyObject
*pyobj
= 0;
5325 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5327 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5334 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5335 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5340 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5341 PyObject
*pyobj
= 0;
5345 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5347 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5354 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5355 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5360 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5361 PyObject
*pyobj
= 0;
5365 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5367 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5374 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5375 PyObject
*resultobj
= 0;
5376 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5377 bool arg2
= (bool) true ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5384 char * kwnames
[] = {
5385 (char *) "self",(char *) "maximize", NULL
5388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5390 if (!SWIG_IsOK(res1
)) {
5391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5393 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5395 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5396 if (!SWIG_IsOK(ecode2
)) {
5397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5399 arg2
= static_cast< bool >(val2
);
5402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5403 (arg1
)->Maximize(arg2
);
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 resultobj
= SWIG_Py_Void();
5414 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5415 PyObject
*resultobj
= 0;
5416 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5419 PyObject
*swig_obj
[1] ;
5421 if (!args
) SWIG_fail
;
5423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5424 if (!SWIG_IsOK(res1
)) {
5425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5427 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5434 resultobj
= SWIG_Py_Void();
5441 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5442 PyObject
*resultobj
= 0;
5443 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5444 bool arg2
= (bool) true ;
5449 PyObject
* obj0
= 0 ;
5450 PyObject
* obj1
= 0 ;
5451 char * kwnames
[] = {
5452 (char *) "self",(char *) "iconize", NULL
5455 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5457 if (!SWIG_IsOK(res1
)) {
5458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5460 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5462 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5463 if (!SWIG_IsOK(ecode2
)) {
5464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5466 arg2
= static_cast< bool >(val2
);
5469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5470 (arg1
)->Iconize(arg2
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= SWIG_Py_Void();
5481 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5482 PyObject
*resultobj
= 0;
5483 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5487 PyObject
*swig_obj
[1] ;
5489 if (!args
) SWIG_fail
;
5491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5492 if (!SWIG_IsOK(res1
)) {
5493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5495 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5498 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5499 wxPyEndAllowThreads(__tstate
);
5500 if (PyErr_Occurred()) SWIG_fail
;
5503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5511 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5512 PyObject
*resultobj
= 0;
5513 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5517 PyObject
*swig_obj
[1] ;
5519 if (!args
) SWIG_fail
;
5521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5522 if (!SWIG_IsOK(res1
)) {
5523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5525 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5528 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5529 wxPyEndAllowThreads(__tstate
);
5530 if (PyErr_Occurred()) SWIG_fail
;
5533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5541 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5542 PyObject
*resultobj
= 0;
5543 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5547 PyObject
*swig_obj
[1] ;
5549 if (!args
) SWIG_fail
;
5551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5552 if (!SWIG_IsOK(res1
)) {
5553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5555 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5559 wxPyEndAllowThreads(__tstate
);
5560 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5571 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5572 PyObject
*resultobj
= 0;
5573 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5577 PyObject
*swig_obj
[1] ;
5579 if (!args
) SWIG_fail
;
5581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5582 if (!SWIG_IsOK(res1
)) {
5583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5585 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5588 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5589 wxPyEndAllowThreads(__tstate
);
5590 if (PyErr_Occurred()) SWIG_fail
;
5592 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5599 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5600 PyObject
*resultobj
= 0;
5601 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5607 PyObject
* obj0
= 0 ;
5608 PyObject
* obj1
= 0 ;
5609 char * kwnames
[] = {
5610 (char *) "self",(char *) "icon", NULL
5613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5615 if (!SWIG_IsOK(res1
)) {
5616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5618 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5619 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5620 if (!SWIG_IsOK(res2
)) {
5621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5624 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5626 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= SWIG_Py_Void();
5640 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
= 0;
5642 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5643 wxIconBundle
*arg2
= 0 ;
5648 PyObject
* obj0
= 0 ;
5649 PyObject
* obj1
= 0 ;
5650 char * kwnames
[] = {
5651 (char *) "self",(char *) "icons", NULL
5654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5656 if (!SWIG_IsOK(res1
)) {
5657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5659 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5660 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5661 if (!SWIG_IsOK(res2
)) {
5662 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5665 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5667 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5674 resultobj
= SWIG_Py_Void();
5681 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5682 PyObject
*resultobj
= 0;
5683 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5685 long arg3
= (long) wxFULLSCREEN_ALL
;
5693 PyObject
* obj0
= 0 ;
5694 PyObject
* obj1
= 0 ;
5695 PyObject
* obj2
= 0 ;
5696 char * kwnames
[] = {
5697 (char *) "self",(char *) "show",(char *) "style", NULL
5700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5702 if (!SWIG_IsOK(res1
)) {
5703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5705 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5706 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5707 if (!SWIG_IsOK(ecode2
)) {
5708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5710 arg2
= static_cast< bool >(val2
);
5712 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5713 if (!SWIG_IsOK(ecode3
)) {
5714 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5716 arg3
= static_cast< long >(val3
);
5719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5720 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5733 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5734 PyObject
*resultobj
= 0;
5735 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5739 PyObject
*swig_obj
[1] ;
5741 if (!args
) SWIG_fail
;
5743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5744 if (!SWIG_IsOK(res1
)) {
5745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5747 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5751 wxPyEndAllowThreads(__tstate
);
5752 if (PyErr_Occurred()) SWIG_fail
;
5755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5763 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5764 PyObject
*resultobj
= 0;
5765 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5766 wxString
*arg2
= 0 ;
5769 bool temp2
= false ;
5770 PyObject
* obj0
= 0 ;
5771 PyObject
* obj1
= 0 ;
5772 char * kwnames
[] = {
5773 (char *) "self",(char *) "title", NULL
5776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5777 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5778 if (!SWIG_IsOK(res1
)) {
5779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5781 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5783 arg2
= wxString_in_helper(obj1
);
5784 if (arg2
== NULL
) SWIG_fail
;
5788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5789 (arg1
)->SetTitle((wxString
const &)*arg2
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5793 resultobj
= SWIG_Py_Void();
5808 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5809 PyObject
*resultobj
= 0;
5810 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5814 PyObject
*swig_obj
[1] ;
5816 if (!args
) SWIG_fail
;
5818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5819 if (!SWIG_IsOK(res1
)) {
5820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5822 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5825 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5842 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
= 0;
5844 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5845 wxRegion
*arg2
= 0 ;
5851 PyObject
* obj0
= 0 ;
5852 PyObject
* obj1
= 0 ;
5853 char * kwnames
[] = {
5854 (char *) "self",(char *) "region", NULL
5857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5859 if (!SWIG_IsOK(res1
)) {
5860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5862 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5863 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5864 if (!SWIG_IsOK(res2
)) {
5865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5868 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5870 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5873 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5874 wxPyEndAllowThreads(__tstate
);
5875 if (PyErr_Occurred()) SWIG_fail
;
5878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5886 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
= 0;
5888 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5889 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5894 PyObject
* obj0
= 0 ;
5895 PyObject
* obj1
= 0 ;
5896 char * kwnames
[] = {
5897 (char *) "self",(char *) "flags", NULL
5900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5902 if (!SWIG_IsOK(res1
)) {
5903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5905 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5908 if (!SWIG_IsOK(ecode2
)) {
5909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5911 arg2
= static_cast< int >(val2
);
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 (arg1
)->RequestUserAttention(arg2
);
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5919 resultobj
= SWIG_Py_Void();
5926 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5927 PyObject
*resultobj
= 0;
5928 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5932 PyObject
*swig_obj
[1] ;
5934 if (!args
) SWIG_fail
;
5936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5937 if (!SWIG_IsOK(res1
)) {
5938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5940 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5943 result
= (bool)(arg1
)->IsActive();
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5956 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5957 PyObject
*resultobj
= 0;
5958 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5965 PyObject
* obj1
= 0 ;
5966 char * kwnames
[] = {
5967 (char *) "self",(char *) "on", NULL
5970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5972 if (!SWIG_IsOK(res1
)) {
5973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5975 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5976 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5977 if (!SWIG_IsOK(ecode2
)) {
5978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5980 arg2
= static_cast< bool >(val2
);
5982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5983 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= SWIG_Py_Void();
5994 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5995 PyObject
*resultobj
= 0;
5996 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6000 PyObject
*swig_obj
[1] ;
6002 if (!args
) SWIG_fail
;
6004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6005 if (!SWIG_IsOK(res1
)) {
6006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6008 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6011 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
6012 wxPyEndAllowThreads(__tstate
);
6013 if (PyErr_Occurred()) SWIG_fail
;
6016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6024 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6025 PyObject
*resultobj
= 0;
6026 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6027 int arg2
= (int) wxBOTH
;
6032 PyObject
* obj0
= 0 ;
6033 PyObject
* obj1
= 0 ;
6034 char * kwnames
[] = {
6035 (char *) "self",(char *) "dir", NULL
6038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6040 if (!SWIG_IsOK(res1
)) {
6041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6043 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6046 if (!SWIG_IsOK(ecode2
)) {
6047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6049 arg2
= static_cast< int >(val2
);
6052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6053 (arg1
)->CenterOnScreen(arg2
);
6054 wxPyEndAllowThreads(__tstate
);
6055 if (PyErr_Occurred()) SWIG_fail
;
6057 resultobj
= SWIG_Py_Void();
6064 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6065 PyObject
*resultobj
= 0;
6066 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6067 bool arg2
= (bool) true ;
6073 PyObject
* obj0
= 0 ;
6074 PyObject
* obj1
= 0 ;
6075 char * kwnames
[] = {
6076 (char *) "self",(char *) "enable", NULL
6079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6081 if (!SWIG_IsOK(res1
)) {
6082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6084 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6086 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6087 if (!SWIG_IsOK(ecode2
)) {
6088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6090 arg2
= static_cast< bool >(val2
);
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6107 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6108 PyObject
*resultobj
= 0;
6109 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6114 unsigned char val2
;
6116 PyObject
* obj0
= 0 ;
6117 PyObject
* obj1
= 0 ;
6118 char * kwnames
[] = {
6119 (char *) "self",(char *) "alpha", NULL
6122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTransparent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6124 if (!SWIG_IsOK(res1
)) {
6125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6127 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6128 ecode2
= SWIG_AsVal_unsigned_SS_char(obj1
, &val2
);
6129 if (!SWIG_IsOK(ecode2
)) {
6130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_SetTransparent" "', expected argument " "2"" of type '" "byte""'");
6132 arg2
= static_cast< byte
>(val2
);
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 result
= (bool)(arg1
)->SetTransparent(arg2
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6148 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CanSetTransparent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6149 PyObject
*resultobj
= 0;
6150 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6154 PyObject
*swig_obj
[1] ;
6156 if (!args
) SWIG_fail
;
6158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6159 if (!SWIG_IsOK(res1
)) {
6160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CanSetTransparent" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6162 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 result
= (bool)(arg1
)->CanSetTransparent();
6166 wxPyEndAllowThreads(__tstate
);
6167 if (PyErr_Occurred()) SWIG_fail
;
6170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6178 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6179 PyObject
*resultobj
= 0;
6180 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6181 wxWindow
*result
= 0 ;
6184 PyObject
*swig_obj
[1] ;
6186 if (!args
) SWIG_fail
;
6188 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6189 if (!SWIG_IsOK(res1
)) {
6190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6192 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6195 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6196 wxPyEndAllowThreads(__tstate
);
6197 if (PyErr_Occurred()) SWIG_fail
;
6200 resultobj
= wxPyMake_wxObject(result
, 0);
6208 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6209 PyObject
*resultobj
= 0;
6210 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6211 wxWindow
*arg2
= (wxWindow
*) 0 ;
6212 wxWindow
*result
= 0 ;
6217 PyObject
* obj0
= 0 ;
6218 PyObject
* obj1
= 0 ;
6219 char * kwnames
[] = {
6220 (char *) "self",(char *) "child", NULL
6223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6225 if (!SWIG_IsOK(res1
)) {
6226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6228 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6230 if (!SWIG_IsOK(res2
)) {
6231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6233 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6236 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6237 wxPyEndAllowThreads(__tstate
);
6238 if (PyErr_Occurred()) SWIG_fail
;
6241 resultobj
= wxPyMake_wxObject(result
, 0);
6249 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
*resultobj
= 0;
6251 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6252 wxWindow
*arg2
= (wxWindow
*) 0 ;
6257 PyObject
* obj0
= 0 ;
6258 PyObject
* obj1
= 0 ;
6259 char * kwnames
[] = {
6260 (char *) "self",(char *) "win", NULL
6263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6265 if (!SWIG_IsOK(res1
)) {
6266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6268 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6270 if (!SWIG_IsOK(res2
)) {
6271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6273 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6276 (arg1
)->SetTmpDefaultItem(arg2
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6280 resultobj
= SWIG_Py_Void();
6287 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6288 PyObject
*resultobj
= 0;
6289 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6290 wxWindow
*result
= 0 ;
6293 PyObject
*swig_obj
[1] ;
6295 if (!args
) SWIG_fail
;
6297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6298 if (!SWIG_IsOK(res1
)) {
6299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6301 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6304 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6305 wxPyEndAllowThreads(__tstate
);
6306 if (PyErr_Occurred()) SWIG_fail
;
6309 resultobj
= wxPyMake_wxObject(result
, 0);
6317 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6319 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6320 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6321 return SWIG_Py_Void();
6324 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6325 PyObject
*resultobj
= 0;
6326 wxWindow
*arg1
= (wxWindow
*) 0 ;
6327 int arg2
= (int) (int)-1 ;
6328 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6329 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6330 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6331 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6332 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6333 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6334 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6335 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6336 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6337 wxFrame
*result
= 0 ;
6342 bool temp3
= false ;
6347 bool temp7
= false ;
6348 PyObject
* obj0
= 0 ;
6349 PyObject
* obj1
= 0 ;
6350 PyObject
* obj2
= 0 ;
6351 PyObject
* obj3
= 0 ;
6352 PyObject
* obj4
= 0 ;
6353 PyObject
* obj5
= 0 ;
6354 PyObject
* obj6
= 0 ;
6355 char * kwnames
[] = {
6356 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6361 if (!SWIG_IsOK(res1
)) {
6362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6364 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6366 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6367 if (!SWIG_IsOK(ecode2
)) {
6368 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6370 arg2
= static_cast< int >(val2
);
6374 arg3
= wxString_in_helper(obj2
);
6375 if (arg3
== NULL
) SWIG_fail
;
6382 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6388 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6392 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6393 if (!SWIG_IsOK(ecode6
)) {
6394 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6396 arg6
= static_cast< long >(val6
);
6400 arg7
= wxString_in_helper(obj6
);
6401 if (arg7
== NULL
) SWIG_fail
;
6406 if (!wxPyCheckForApp()) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6409 wxPyEndAllowThreads(__tstate
);
6410 if (PyErr_Occurred()) SWIG_fail
;
6412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6435 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6436 PyObject
*resultobj
= 0;
6437 wxFrame
*result
= 0 ;
6439 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6441 if (!wxPyCheckForApp()) SWIG_fail
;
6442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6443 result
= (wxFrame
*)new wxFrame();
6444 wxPyEndAllowThreads(__tstate
);
6445 if (PyErr_Occurred()) SWIG_fail
;
6447 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6454 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6455 PyObject
*resultobj
= 0;
6456 wxFrame
*arg1
= (wxFrame
*) 0 ;
6457 wxWindow
*arg2
= (wxWindow
*) 0 ;
6458 int arg3
= (int) (int)-1 ;
6459 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6460 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6461 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6462 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6463 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6464 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6465 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6466 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6467 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6475 bool temp4
= false ;
6480 bool temp8
= false ;
6481 PyObject
* obj0
= 0 ;
6482 PyObject
* obj1
= 0 ;
6483 PyObject
* obj2
= 0 ;
6484 PyObject
* obj3
= 0 ;
6485 PyObject
* obj4
= 0 ;
6486 PyObject
* obj5
= 0 ;
6487 PyObject
* obj6
= 0 ;
6488 PyObject
* obj7
= 0 ;
6489 char * kwnames
[] = {
6490 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6495 if (!SWIG_IsOK(res1
)) {
6496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6498 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6499 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6500 if (!SWIG_IsOK(res2
)) {
6501 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6503 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6506 if (!SWIG_IsOK(ecode3
)) {
6507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6509 arg3
= static_cast< int >(val3
);
6513 arg4
= wxString_in_helper(obj3
);
6514 if (arg4
== NULL
) SWIG_fail
;
6521 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6527 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6531 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6532 if (!SWIG_IsOK(ecode7
)) {
6533 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6535 arg7
= static_cast< long >(val7
);
6539 arg8
= wxString_in_helper(obj7
);
6540 if (arg8
== NULL
) SWIG_fail
;
6545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6546 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6547 wxPyEndAllowThreads(__tstate
);
6548 if (PyErr_Occurred()) SWIG_fail
;
6551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6575 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6576 PyObject
*resultobj
= 0;
6577 wxFrame
*arg1
= (wxFrame
*) 0 ;
6580 PyObject
*swig_obj
[1] ;
6582 if (!args
) SWIG_fail
;
6584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6585 if (!SWIG_IsOK(res1
)) {
6586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6588 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6591 (arg1
)->SendSizeEvent();
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 resultobj
= SWIG_Py_Void();
6602 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
= 0;
6604 wxFrame
*arg1
= (wxFrame
*) 0 ;
6605 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6610 PyObject
* obj0
= 0 ;
6611 PyObject
* obj1
= 0 ;
6612 char * kwnames
[] = {
6613 (char *) "self",(char *) "menubar", NULL
6616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6618 if (!SWIG_IsOK(res1
)) {
6619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6621 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6622 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6623 if (!SWIG_IsOK(res2
)) {
6624 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6626 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 (arg1
)->SetMenuBar(arg2
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6633 resultobj
= SWIG_Py_Void();
6640 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6641 PyObject
*resultobj
= 0;
6642 wxFrame
*arg1
= (wxFrame
*) 0 ;
6643 wxMenuBar
*result
= 0 ;
6646 PyObject
*swig_obj
[1] ;
6648 if (!args
) SWIG_fail
;
6650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6651 if (!SWIG_IsOK(res1
)) {
6652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6654 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6657 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6658 wxPyEndAllowThreads(__tstate
);
6659 if (PyErr_Occurred()) SWIG_fail
;
6662 resultobj
= wxPyMake_wxObject(result
, 0);
6670 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6671 PyObject
*resultobj
= 0;
6672 wxFrame
*arg1
= (wxFrame
*) 0 ;
6679 PyObject
* obj0
= 0 ;
6680 PyObject
* obj1
= 0 ;
6681 char * kwnames
[] = {
6682 (char *) "self",(char *) "winid", NULL
6685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6687 if (!SWIG_IsOK(res1
)) {
6688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6690 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6692 if (!SWIG_IsOK(ecode2
)) {
6693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6695 arg2
= static_cast< int >(val2
);
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6703 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6711 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
= 0;
6713 wxFrame
*arg1
= (wxFrame
*) 0 ;
6714 int arg2
= (int) 1 ;
6715 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6716 int arg4
= (int) 0 ;
6717 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6718 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6719 wxStatusBar
*result
= 0 ;
6728 bool temp5
= false ;
6729 PyObject
* obj0
= 0 ;
6730 PyObject
* obj1
= 0 ;
6731 PyObject
* obj2
= 0 ;
6732 PyObject
* obj3
= 0 ;
6733 PyObject
* obj4
= 0 ;
6734 char * kwnames
[] = {
6735 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6740 if (!SWIG_IsOK(res1
)) {
6741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6743 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6746 if (!SWIG_IsOK(ecode2
)) {
6747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6749 arg2
= static_cast< int >(val2
);
6752 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6753 if (!SWIG_IsOK(ecode3
)) {
6754 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6756 arg3
= static_cast< long >(val3
);
6759 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6760 if (!SWIG_IsOK(ecode4
)) {
6761 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6763 arg4
= static_cast< int >(val4
);
6767 arg5
= wxString_in_helper(obj4
);
6768 if (arg5
== NULL
) SWIG_fail
;
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6779 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6795 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6796 PyObject
*resultobj
= 0;
6797 wxFrame
*arg1
= (wxFrame
*) 0 ;
6798 wxStatusBar
*result
= 0 ;
6801 PyObject
*swig_obj
[1] ;
6803 if (!args
) SWIG_fail
;
6805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6806 if (!SWIG_IsOK(res1
)) {
6807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6809 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6812 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6813 wxPyEndAllowThreads(__tstate
);
6814 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6825 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6826 PyObject
*resultobj
= 0;
6827 wxFrame
*arg1
= (wxFrame
*) 0 ;
6828 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6833 PyObject
* obj0
= 0 ;
6834 PyObject
* obj1
= 0 ;
6835 char * kwnames
[] = {
6836 (char *) "self",(char *) "statBar", NULL
6839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6841 if (!SWIG_IsOK(res1
)) {
6842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6844 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6845 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6846 if (!SWIG_IsOK(res2
)) {
6847 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6849 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6852 (arg1
)->SetStatusBar(arg2
);
6853 wxPyEndAllowThreads(__tstate
);
6854 if (PyErr_Occurred()) SWIG_fail
;
6856 resultobj
= SWIG_Py_Void();
6863 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6864 PyObject
*resultobj
= 0;
6865 wxFrame
*arg1
= (wxFrame
*) 0 ;
6866 wxString
*arg2
= 0 ;
6867 int arg3
= (int) 0 ;
6870 bool temp2
= false ;
6873 PyObject
* obj0
= 0 ;
6874 PyObject
* obj1
= 0 ;
6875 PyObject
* obj2
= 0 ;
6876 char * kwnames
[] = {
6877 (char *) "self",(char *) "text",(char *) "number", NULL
6880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6882 if (!SWIG_IsOK(res1
)) {
6883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6885 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6887 arg2
= wxString_in_helper(obj1
);
6888 if (arg2
== NULL
) SWIG_fail
;
6892 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6893 if (!SWIG_IsOK(ecode3
)) {
6894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6896 arg3
= static_cast< int >(val3
);
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= SWIG_Py_Void();
6919 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
= 0;
6921 wxFrame
*arg1
= (wxFrame
*) 0 ;
6923 int *arg3
= (int *) 0 ;
6926 PyObject
* obj0
= 0 ;
6927 PyObject
* obj1
= 0 ;
6928 char * kwnames
[] = {
6929 (char *) "self",(char *) "widths", NULL
6932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6934 if (!SWIG_IsOK(res1
)) {
6935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6937 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6939 arg2
= PyList_Size(obj1
);
6940 arg3
= int_LIST_helper(obj1
);
6941 if (arg3
== NULL
) SWIG_fail
;
6944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6945 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6946 wxPyEndAllowThreads(__tstate
);
6947 if (PyErr_Occurred()) SWIG_fail
;
6949 resultobj
= SWIG_Py_Void();
6951 if (arg3
) delete [] arg3
;
6956 if (arg3
) delete [] arg3
;
6962 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6963 PyObject
*resultobj
= 0;
6964 wxFrame
*arg1
= (wxFrame
*) 0 ;
6965 wxString
*arg2
= 0 ;
6966 int arg3
= (int) 0 ;
6969 bool temp2
= false ;
6972 PyObject
* obj0
= 0 ;
6973 PyObject
* obj1
= 0 ;
6974 PyObject
* obj2
= 0 ;
6975 char * kwnames
[] = {
6976 (char *) "self",(char *) "text",(char *) "number", NULL
6979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6981 if (!SWIG_IsOK(res1
)) {
6982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6984 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6986 arg2
= wxString_in_helper(obj1
);
6987 if (arg2
== NULL
) SWIG_fail
;
6991 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6992 if (!SWIG_IsOK(ecode3
)) {
6993 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6995 arg3
= static_cast< int >(val3
);
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= SWIG_Py_Void();
7018 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7019 PyObject
*resultobj
= 0;
7020 wxFrame
*arg1
= (wxFrame
*) 0 ;
7021 int arg2
= (int) 0 ;
7026 PyObject
* obj0
= 0 ;
7027 PyObject
* obj1
= 0 ;
7028 char * kwnames
[] = {
7029 (char *) "self",(char *) "number", NULL
7032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7034 if (!SWIG_IsOK(res1
)) {
7035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
7037 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7040 if (!SWIG_IsOK(ecode2
)) {
7041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
7043 arg2
= static_cast< int >(val2
);
7046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7047 (arg1
)->PopStatusText(arg2
);
7048 wxPyEndAllowThreads(__tstate
);
7049 if (PyErr_Occurred()) SWIG_fail
;
7051 resultobj
= SWIG_Py_Void();
7058 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7059 PyObject
*resultobj
= 0;
7060 wxFrame
*arg1
= (wxFrame
*) 0 ;
7066 PyObject
* obj0
= 0 ;
7067 PyObject
* obj1
= 0 ;
7068 char * kwnames
[] = {
7069 (char *) "self",(char *) "n", NULL
7072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7074 if (!SWIG_IsOK(res1
)) {
7075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
7077 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7078 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7079 if (!SWIG_IsOK(ecode2
)) {
7080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7082 arg2
= static_cast< int >(val2
);
7084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7085 (arg1
)->SetStatusBarPane(arg2
);
7086 wxPyEndAllowThreads(__tstate
);
7087 if (PyErr_Occurred()) SWIG_fail
;
7089 resultobj
= SWIG_Py_Void();
7096 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7097 PyObject
*resultobj
= 0;
7098 wxFrame
*arg1
= (wxFrame
*) 0 ;
7102 PyObject
*swig_obj
[1] ;
7104 if (!args
) SWIG_fail
;
7106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7107 if (!SWIG_IsOK(res1
)) {
7108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7110 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7113 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 resultobj
= SWIG_From_int(static_cast< int >(result
));
7124 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
= 0;
7126 wxFrame
*arg1
= (wxFrame
*) 0 ;
7127 long arg2
= (long) -1 ;
7128 int arg3
= (int) -1 ;
7129 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7130 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7131 wxToolBar
*result
= 0 ;
7138 bool temp4
= false ;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7141 PyObject
* obj2
= 0 ;
7142 PyObject
* obj3
= 0 ;
7143 char * kwnames
[] = {
7144 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7149 if (!SWIG_IsOK(res1
)) {
7150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7152 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7154 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7155 if (!SWIG_IsOK(ecode2
)) {
7156 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7158 arg2
= static_cast< long >(val2
);
7161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7162 if (!SWIG_IsOK(ecode3
)) {
7163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7165 arg3
= static_cast< int >(val3
);
7169 arg4
= wxString_in_helper(obj3
);
7170 if (arg4
== NULL
) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7177 wxPyEndAllowThreads(__tstate
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7181 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7197 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7198 PyObject
*resultobj
= 0;
7199 wxFrame
*arg1
= (wxFrame
*) 0 ;
7200 wxToolBar
*result
= 0 ;
7203 PyObject
*swig_obj
[1] ;
7205 if (!args
) SWIG_fail
;
7207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7208 if (!SWIG_IsOK(res1
)) {
7209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7211 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7214 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7215 wxPyEndAllowThreads(__tstate
);
7216 if (PyErr_Occurred()) SWIG_fail
;
7219 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7227 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7228 PyObject
*resultobj
= 0;
7229 wxFrame
*arg1
= (wxFrame
*) 0 ;
7230 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7235 PyObject
* obj0
= 0 ;
7236 PyObject
* obj1
= 0 ;
7237 char * kwnames
[] = {
7238 (char *) "self",(char *) "toolbar", NULL
7241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7243 if (!SWIG_IsOK(res1
)) {
7244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7246 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7247 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7248 if (!SWIG_IsOK(res2
)) {
7249 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7251 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7254 (arg1
)->SetToolBar(arg2
);
7255 wxPyEndAllowThreads(__tstate
);
7256 if (PyErr_Occurred()) SWIG_fail
;
7258 resultobj
= SWIG_Py_Void();
7265 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7266 PyObject
*resultobj
= 0;
7267 wxFrame
*arg1
= (wxFrame
*) 0 ;
7268 wxString
*arg2
= 0 ;
7272 bool temp2
= false ;
7275 PyObject
* obj0
= 0 ;
7276 PyObject
* obj1
= 0 ;
7277 PyObject
* obj2
= 0 ;
7278 char * kwnames
[] = {
7279 (char *) "self",(char *) "text",(char *) "show", NULL
7282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7284 if (!SWIG_IsOK(res1
)) {
7285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7287 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7289 arg2
= wxString_in_helper(obj1
);
7290 if (arg2
== NULL
) SWIG_fail
;
7293 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7294 if (!SWIG_IsOK(ecode3
)) {
7295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7297 arg3
= static_cast< bool >(val3
);
7299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7300 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7301 wxPyEndAllowThreads(__tstate
);
7302 if (PyErr_Occurred()) SWIG_fail
;
7304 resultobj
= SWIG_Py_Void();
7319 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
= 0;
7321 wxFrame
*arg1
= (wxFrame
*) 0 ;
7322 wxMenu
*arg2
= (wxMenu
*) NULL
;
7327 PyObject
* obj0
= 0 ;
7328 PyObject
* obj1
= 0 ;
7329 char * kwnames
[] = {
7330 (char *) "self",(char *) "menu", NULL
7333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7335 if (!SWIG_IsOK(res1
)) {
7336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7338 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7340 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7341 if (!SWIG_IsOK(res2
)) {
7342 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7344 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 (arg1
)->DoMenuUpdates(arg2
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 resultobj
= SWIG_Py_Void();
7359 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7360 PyObject
*resultobj
= 0;
7361 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7362 SwigValueWrapper
<wxVisualAttributes
> result
;
7365 PyObject
* obj0
= 0 ;
7366 char * kwnames
[] = {
7367 (char *) "variant", NULL
7370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7372 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7373 if (!SWIG_IsOK(ecode1
)) {
7374 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7376 arg1
= static_cast< wxWindowVariant
>(val1
);
7379 if (!wxPyCheckForApp()) SWIG_fail
;
7380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7381 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7392 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7394 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7395 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7396 return SWIG_Py_Void();
7399 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7400 return SWIG_Python_InitShadowInstance(args
);
7403 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7404 PyObject
*resultobj
= 0;
7405 wxWindow
*arg1
= (wxWindow
*) 0 ;
7406 int arg2
= (int) (int)-1 ;
7407 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7408 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7409 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7410 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7411 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7412 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7413 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7414 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7415 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7416 wxDialog
*result
= 0 ;
7421 bool temp3
= false ;
7426 bool temp7
= false ;
7427 PyObject
* obj0
= 0 ;
7428 PyObject
* obj1
= 0 ;
7429 PyObject
* obj2
= 0 ;
7430 PyObject
* obj3
= 0 ;
7431 PyObject
* obj4
= 0 ;
7432 PyObject
* obj5
= 0 ;
7433 PyObject
* obj6
= 0 ;
7434 char * kwnames
[] = {
7435 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7440 if (!SWIG_IsOK(res1
)) {
7441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7443 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7445 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7446 if (!SWIG_IsOK(ecode2
)) {
7447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7449 arg2
= static_cast< int >(val2
);
7453 arg3
= wxString_in_helper(obj2
);
7454 if (arg3
== NULL
) SWIG_fail
;
7461 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7467 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7471 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7472 if (!SWIG_IsOK(ecode6
)) {
7473 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7475 arg6
= static_cast< long >(val6
);
7479 arg7
= wxString_in_helper(obj6
);
7480 if (arg7
== NULL
) SWIG_fail
;
7485 if (!wxPyCheckForApp()) SWIG_fail
;
7486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7487 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7491 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7514 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7515 PyObject
*resultobj
= 0;
7516 wxDialog
*result
= 0 ;
7518 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7520 if (!wxPyCheckForApp()) SWIG_fail
;
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 result
= (wxDialog
*)new wxDialog();
7523 wxPyEndAllowThreads(__tstate
);
7524 if (PyErr_Occurred()) SWIG_fail
;
7526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7533 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
= 0;
7535 wxDialog
*arg1
= (wxDialog
*) 0 ;
7536 wxWindow
*arg2
= (wxWindow
*) 0 ;
7537 int arg3
= (int) (int)-1 ;
7538 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7539 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7540 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7541 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7542 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7543 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7544 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7545 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7546 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7554 bool temp4
= false ;
7559 bool temp8
= false ;
7560 PyObject
* obj0
= 0 ;
7561 PyObject
* obj1
= 0 ;
7562 PyObject
* obj2
= 0 ;
7563 PyObject
* obj3
= 0 ;
7564 PyObject
* obj4
= 0 ;
7565 PyObject
* obj5
= 0 ;
7566 PyObject
* obj6
= 0 ;
7567 PyObject
* obj7
= 0 ;
7568 char * kwnames
[] = {
7569 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7574 if (!SWIG_IsOK(res1
)) {
7575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7577 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7578 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7579 if (!SWIG_IsOK(res2
)) {
7580 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7582 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7584 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7585 if (!SWIG_IsOK(ecode3
)) {
7586 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7588 arg3
= static_cast< int >(val3
);
7592 arg4
= wxString_in_helper(obj3
);
7593 if (arg4
== NULL
) SWIG_fail
;
7600 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7606 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7610 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7611 if (!SWIG_IsOK(ecode7
)) {
7612 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7614 arg7
= static_cast< long >(val7
);
7618 arg8
= wxString_in_helper(obj7
);
7619 if (arg8
== NULL
) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7654 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
= 0;
7656 wxDialog
*arg1
= (wxDialog
*) 0 ;
7662 PyObject
* obj0
= 0 ;
7663 PyObject
* obj1
= 0 ;
7664 char * kwnames
[] = {
7665 (char *) "self",(char *) "returnCode", NULL
7668 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7669 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7670 if (!SWIG_IsOK(res1
)) {
7671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7673 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7675 if (!SWIG_IsOK(ecode2
)) {
7676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7678 arg2
= static_cast< int >(val2
);
7680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7681 (arg1
)->SetReturnCode(arg2
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= SWIG_Py_Void();
7692 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7693 PyObject
*resultobj
= 0;
7694 wxDialog
*arg1
= (wxDialog
*) 0 ;
7698 PyObject
*swig_obj
[1] ;
7700 if (!args
) SWIG_fail
;
7702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7703 if (!SWIG_IsOK(res1
)) {
7704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7706 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7709 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7710 wxPyEndAllowThreads(__tstate
);
7711 if (PyErr_Occurred()) SWIG_fail
;
7713 resultobj
= SWIG_From_int(static_cast< int >(result
));
7720 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7721 PyObject
*resultobj
= 0;
7722 wxDialog
*arg1
= (wxDialog
*) 0 ;
7728 PyObject
* obj0
= 0 ;
7729 PyObject
* obj1
= 0 ;
7730 char * kwnames
[] = {
7731 (char *) "self",(char *) "affirmativeId", NULL
7734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7736 if (!SWIG_IsOK(res1
)) {
7737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7739 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7741 if (!SWIG_IsOK(ecode2
)) {
7742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7744 arg2
= static_cast< int >(val2
);
7746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7747 (arg1
)->SetAffirmativeId(arg2
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= SWIG_Py_Void();
7758 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7759 PyObject
*resultobj
= 0;
7760 wxDialog
*arg1
= (wxDialog
*) 0 ;
7764 PyObject
*swig_obj
[1] ;
7766 if (!args
) SWIG_fail
;
7768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7769 if (!SWIG_IsOK(res1
)) {
7770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7772 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= SWIG_From_int(static_cast< int >(result
));
7786 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7787 PyObject
*resultobj
= 0;
7788 wxDialog
*arg1
= (wxDialog
*) 0 ;
7794 PyObject
* obj0
= 0 ;
7795 PyObject
* obj1
= 0 ;
7796 char * kwnames
[] = {
7797 (char *) "self",(char *) "escapeId", NULL
7800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7802 if (!SWIG_IsOK(res1
)) {
7803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7805 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7807 if (!SWIG_IsOK(ecode2
)) {
7808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7810 arg2
= static_cast< int >(val2
);
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 (arg1
)->SetEscapeId(arg2
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= SWIG_Py_Void();
7824 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7825 PyObject
*resultobj
= 0;
7826 wxDialog
*arg1
= (wxDialog
*) 0 ;
7830 PyObject
*swig_obj
[1] ;
7832 if (!args
) SWIG_fail
;
7834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7835 if (!SWIG_IsOK(res1
)) {
7836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7838 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7841 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7842 wxPyEndAllowThreads(__tstate
);
7843 if (PyErr_Occurred()) SWIG_fail
;
7845 resultobj
= SWIG_From_int(static_cast< int >(result
));
7852 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7853 PyObject
*resultobj
= 0;
7854 wxDialog
*arg1
= (wxDialog
*) 0 ;
7855 wxString
*arg2
= 0 ;
7856 wxSizer
*result
= 0 ;
7859 bool temp2
= false ;
7860 PyObject
* obj0
= 0 ;
7861 PyObject
* obj1
= 0 ;
7862 char * kwnames
[] = {
7863 (char *) "self",(char *) "message", NULL
7866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7868 if (!SWIG_IsOK(res1
)) {
7869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7871 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7873 arg2
= wxString_in_helper(obj1
);
7874 if (arg2
== NULL
) SWIG_fail
;
7878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7879 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7884 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7900 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7901 PyObject
*resultobj
= 0;
7902 wxDialog
*arg1
= (wxDialog
*) 0 ;
7904 bool arg3
= (bool) false ;
7905 int arg4
= (int) 0 ;
7906 wxSizer
*result
= 0 ;
7915 PyObject
* obj0
= 0 ;
7916 PyObject
* obj1
= 0 ;
7917 PyObject
* obj2
= 0 ;
7918 PyObject
* obj3
= 0 ;
7919 char * kwnames
[] = {
7920 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7925 if (!SWIG_IsOK(res1
)) {
7926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7928 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7929 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7930 if (!SWIG_IsOK(ecode2
)) {
7931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7933 arg2
= static_cast< long >(val2
);
7935 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7936 if (!SWIG_IsOK(ecode3
)) {
7937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7939 arg3
= static_cast< bool >(val3
);
7942 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7943 if (!SWIG_IsOK(ecode4
)) {
7944 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7946 arg4
= static_cast< int >(val4
);
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7951 wxPyEndAllowThreads(__tstate
);
7952 if (PyErr_Occurred()) SWIG_fail
;
7955 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7963 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7964 PyObject
*resultobj
= 0;
7965 wxDialog
*arg1
= (wxDialog
*) 0 ;
7967 wxStdDialogButtonSizer
*result
= 0 ;
7972 PyObject
* obj0
= 0 ;
7973 PyObject
* obj1
= 0 ;
7974 char * kwnames
[] = {
7975 (char *) "self",(char *) "flags", NULL
7978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7980 if (!SWIG_IsOK(res1
)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7983 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7984 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7985 if (!SWIG_IsOK(ecode2
)) {
7986 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7988 arg2
= static_cast< long >(val2
);
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
8002 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8003 PyObject
*resultobj
= 0;
8004 wxDialog
*arg1
= (wxDialog
*) 0 ;
8008 PyObject
*swig_obj
[1] ;
8010 if (!args
) SWIG_fail
;
8012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8013 if (!SWIG_IsOK(res1
)) {
8014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
8016 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8019 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8032 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8033 PyObject
*resultobj
= 0;
8034 wxDialog
*arg1
= (wxDialog
*) 0 ;
8038 PyObject
*swig_obj
[1] ;
8040 if (!args
) SWIG_fail
;
8042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8043 if (!SWIG_IsOK(res1
)) {
8044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8046 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8049 result
= (int)(arg1
)->ShowModal();
8050 wxPyEndAllowThreads(__tstate
);
8051 if (PyErr_Occurred()) SWIG_fail
;
8053 resultobj
= SWIG_From_int(static_cast< int >(result
));
8060 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
= 0;
8062 wxDialog
*arg1
= (wxDialog
*) 0 ;
8068 PyObject
* obj0
= 0 ;
8069 PyObject
* obj1
= 0 ;
8070 char * kwnames
[] = {
8071 (char *) "self",(char *) "retCode", NULL
8074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8076 if (!SWIG_IsOK(res1
)) {
8077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8079 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8080 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8081 if (!SWIG_IsOK(ecode2
)) {
8082 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8084 arg2
= static_cast< int >(val2
);
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 (arg1
)->EndModal(arg2
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8091 resultobj
= SWIG_Py_Void();
8098 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8099 PyObject
*resultobj
= 0;
8100 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8101 SwigValueWrapper
<wxVisualAttributes
> result
;
8104 PyObject
* obj0
= 0 ;
8105 char * kwnames
[] = {
8106 (char *) "variant", NULL
8109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8111 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8112 if (!SWIG_IsOK(ecode1
)) {
8113 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8115 arg1
= static_cast< wxWindowVariant
>(val1
);
8118 if (!wxPyCheckForApp()) SWIG_fail
;
8119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8120 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8131 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8133 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8134 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8135 return SWIG_Py_Void();
8138 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8139 return SWIG_Python_InitShadowInstance(args
);
8142 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
= 0;
8144 wxWindow
*arg1
= (wxWindow
*) 0 ;
8145 int arg2
= (int) (int)-1 ;
8146 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8147 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8152 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8153 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8154 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8155 wxMiniFrame
*result
= 0 ;
8160 bool temp3
= false ;
8165 bool temp7
= false ;
8166 PyObject
* obj0
= 0 ;
8167 PyObject
* obj1
= 0 ;
8168 PyObject
* obj2
= 0 ;
8169 PyObject
* obj3
= 0 ;
8170 PyObject
* obj4
= 0 ;
8171 PyObject
* obj5
= 0 ;
8172 PyObject
* obj6
= 0 ;
8173 char * kwnames
[] = {
8174 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8179 if (!SWIG_IsOK(res1
)) {
8180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8182 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8184 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8185 if (!SWIG_IsOK(ecode2
)) {
8186 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8188 arg2
= static_cast< int >(val2
);
8192 arg3
= wxString_in_helper(obj2
);
8193 if (arg3
== NULL
) SWIG_fail
;
8200 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8206 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8210 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8211 if (!SWIG_IsOK(ecode6
)) {
8212 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8214 arg6
= static_cast< long >(val6
);
8218 arg7
= wxString_in_helper(obj6
);
8219 if (arg7
== NULL
) SWIG_fail
;
8224 if (!wxPyCheckForApp()) SWIG_fail
;
8225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8226 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8227 wxPyEndAllowThreads(__tstate
);
8228 if (PyErr_Occurred()) SWIG_fail
;
8230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8253 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8254 PyObject
*resultobj
= 0;
8255 wxMiniFrame
*result
= 0 ;
8257 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8259 if (!wxPyCheckForApp()) SWIG_fail
;
8260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8261 result
= (wxMiniFrame
*)new wxMiniFrame();
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8272 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
= 0;
8274 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8275 wxWindow
*arg2
= (wxWindow
*) 0 ;
8276 int arg3
= (int) (int)-1 ;
8277 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8278 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8279 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8280 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8281 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8282 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8283 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8284 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8285 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8293 bool temp4
= false ;
8298 bool temp8
= false ;
8299 PyObject
* obj0
= 0 ;
8300 PyObject
* obj1
= 0 ;
8301 PyObject
* obj2
= 0 ;
8302 PyObject
* obj3
= 0 ;
8303 PyObject
* obj4
= 0 ;
8304 PyObject
* obj5
= 0 ;
8305 PyObject
* obj6
= 0 ;
8306 PyObject
* obj7
= 0 ;
8307 char * kwnames
[] = {
8308 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8313 if (!SWIG_IsOK(res1
)) {
8314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8316 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8317 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8318 if (!SWIG_IsOK(res2
)) {
8319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8321 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8324 if (!SWIG_IsOK(ecode3
)) {
8325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8327 arg3
= static_cast< int >(val3
);
8331 arg4
= wxString_in_helper(obj3
);
8332 if (arg4
== NULL
) SWIG_fail
;
8339 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8345 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8349 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8350 if (!SWIG_IsOK(ecode7
)) {
8351 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8353 arg7
= static_cast< long >(val7
);
8357 arg8
= wxString_in_helper(obj7
);
8358 if (arg8
== NULL
) SWIG_fail
;
8363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8364 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8393 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8395 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8396 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8397 return SWIG_Py_Void();
8400 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8401 return SWIG_Python_InitShadowInstance(args
);
8404 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
= 0;
8406 wxBitmap
*arg1
= 0 ;
8407 wxWindow
*arg2
= (wxWindow
*) 0 ;
8409 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8410 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8411 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8412 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8413 long arg6
= (long) wxNO_BORDER
;
8414 wxSplashScreenWindow
*result
= 0 ;
8425 PyObject
* obj0
= 0 ;
8426 PyObject
* obj1
= 0 ;
8427 PyObject
* obj2
= 0 ;
8428 PyObject
* obj3
= 0 ;
8429 PyObject
* obj4
= 0 ;
8430 PyObject
* obj5
= 0 ;
8431 char * kwnames
[] = {
8432 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8435 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8436 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8437 if (!SWIG_IsOK(res1
)) {
8438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8441 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8443 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8444 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8445 if (!SWIG_IsOK(res2
)) {
8446 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8448 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8450 if (!SWIG_IsOK(ecode3
)) {
8451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8453 arg3
= static_cast< int >(val3
);
8457 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8463 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8467 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8468 if (!SWIG_IsOK(ecode6
)) {
8469 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8471 arg6
= static_cast< long >(val6
);
8474 if (!wxPyCheckForApp()) SWIG_fail
;
8475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8476 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8477 wxPyEndAllowThreads(__tstate
);
8478 if (PyErr_Occurred()) SWIG_fail
;
8480 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8487 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8488 PyObject
*resultobj
= 0;
8489 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8490 wxBitmap
*arg2
= 0 ;
8495 PyObject
* obj0
= 0 ;
8496 PyObject
* obj1
= 0 ;
8497 char * kwnames
[] = {
8498 (char *) "self",(char *) "bitmap", NULL
8501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8503 if (!SWIG_IsOK(res1
)) {
8504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8506 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8507 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8508 if (!SWIG_IsOK(res2
)) {
8509 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8512 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8514 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8517 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8518 wxPyEndAllowThreads(__tstate
);
8519 if (PyErr_Occurred()) SWIG_fail
;
8521 resultobj
= SWIG_Py_Void();
8528 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8529 PyObject
*resultobj
= 0;
8530 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8531 wxBitmap
*result
= 0 ;
8534 PyObject
*swig_obj
[1] ;
8536 if (!args
) SWIG_fail
;
8538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8539 if (!SWIG_IsOK(res1
)) {
8540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8542 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8546 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8547 result
= (wxBitmap
*) &_result_ref
;
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8553 wxBitmap
* resultptr
= new wxBitmap(*result
);
8554 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8562 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8564 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8565 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8566 return SWIG_Py_Void();
8569 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8570 return SWIG_Python_InitShadowInstance(args
);
8573 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8574 PyObject
*resultobj
= 0;
8575 wxBitmap
*arg1
= 0 ;
8578 wxWindow
*arg4
= (wxWindow
*) 0 ;
8579 int arg5
= (int) -1 ;
8580 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8581 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8582 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8583 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8584 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8585 wxSplashScreen
*result
= 0 ;
8600 PyObject
* obj0
= 0 ;
8601 PyObject
* obj1
= 0 ;
8602 PyObject
* obj2
= 0 ;
8603 PyObject
* obj3
= 0 ;
8604 PyObject
* obj4
= 0 ;
8605 PyObject
* obj5
= 0 ;
8606 PyObject
* obj6
= 0 ;
8607 PyObject
* obj7
= 0 ;
8608 char * kwnames
[] = {
8609 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8613 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8614 if (!SWIG_IsOK(res1
)) {
8615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8618 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8620 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8621 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8622 if (!SWIG_IsOK(ecode2
)) {
8623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8625 arg2
= static_cast< long >(val2
);
8626 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8627 if (!SWIG_IsOK(ecode3
)) {
8628 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8630 arg3
= static_cast< int >(val3
);
8631 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8632 if (!SWIG_IsOK(res4
)) {
8633 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8635 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8637 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8638 if (!SWIG_IsOK(ecode5
)) {
8639 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8641 arg5
= static_cast< int >(val5
);
8646 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8652 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8656 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8657 if (!SWIG_IsOK(ecode8
)) {
8658 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8660 arg8
= static_cast< long >(val8
);
8663 if (!wxPyCheckForApp()) SWIG_fail
;
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8676 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8677 PyObject
*resultobj
= 0;
8678 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8682 PyObject
*swig_obj
[1] ;
8684 if (!args
) SWIG_fail
;
8686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8687 if (!SWIG_IsOK(res1
)) {
8688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8690 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8693 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8694 wxPyEndAllowThreads(__tstate
);
8695 if (PyErr_Occurred()) SWIG_fail
;
8697 resultobj
= SWIG_From_long(static_cast< long >(result
));
8704 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8705 PyObject
*resultobj
= 0;
8706 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8707 wxSplashScreenWindow
*result
= 0 ;
8710 PyObject
*swig_obj
[1] ;
8712 if (!args
) SWIG_fail
;
8714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8715 if (!SWIG_IsOK(res1
)) {
8716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8718 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8732 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8733 PyObject
*resultobj
= 0;
8734 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8738 PyObject
*swig_obj
[1] ;
8740 if (!args
) SWIG_fail
;
8742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8743 if (!SWIG_IsOK(res1
)) {
8744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8746 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 resultobj
= SWIG_From_int(static_cast< int >(result
));
8760 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8762 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8763 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8764 return SWIG_Py_Void();
8767 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8768 return SWIG_Python_InitShadowInstance(args
);
8771 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8772 PyObject
*resultobj
= 0;
8773 wxWindow
*arg1
= (wxWindow
*) 0 ;
8774 int arg2
= (int) -1 ;
8775 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8776 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8777 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8778 wxStatusBar
*result
= 0 ;
8785 bool temp4
= false ;
8786 PyObject
* obj0
= 0 ;
8787 PyObject
* obj1
= 0 ;
8788 PyObject
* obj2
= 0 ;
8789 PyObject
* obj3
= 0 ;
8790 char * kwnames
[] = {
8791 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8796 if (!SWIG_IsOK(res1
)) {
8797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8799 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8802 if (!SWIG_IsOK(ecode2
)) {
8803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8805 arg2
= static_cast< int >(val2
);
8808 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8809 if (!SWIG_IsOK(ecode3
)) {
8810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8812 arg3
= static_cast< long >(val3
);
8816 arg4
= wxString_in_helper(obj3
);
8817 if (arg4
== NULL
) SWIG_fail
;
8822 if (!wxPyCheckForApp()) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8843 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8844 PyObject
*resultobj
= 0;
8845 wxStatusBar
*result
= 0 ;
8847 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8849 if (!wxPyCheckForApp()) SWIG_fail
;
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 result
= (wxStatusBar
*)new wxStatusBar();
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8862 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
= 0;
8864 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8865 wxWindow
*arg2
= (wxWindow
*) 0 ;
8866 int arg3
= (int) -1 ;
8867 long arg4
= (long) wxST_SIZEGRIP
;
8868 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8869 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8879 bool temp5
= false ;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8882 PyObject
* obj2
= 0 ;
8883 PyObject
* obj3
= 0 ;
8884 PyObject
* obj4
= 0 ;
8885 char * kwnames
[] = {
8886 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8891 if (!SWIG_IsOK(res1
)) {
8892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8894 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8895 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8896 if (!SWIG_IsOK(res2
)) {
8897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8899 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8901 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8902 if (!SWIG_IsOK(ecode3
)) {
8903 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8905 arg3
= static_cast< int >(val3
);
8908 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8909 if (!SWIG_IsOK(ecode4
)) {
8910 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8912 arg4
= static_cast< long >(val4
);
8916 arg5
= wxString_in_helper(obj4
);
8917 if (arg5
== NULL
) SWIG_fail
;
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8944 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8945 PyObject
*resultobj
= 0;
8946 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8947 int arg2
= (int) 1 ;
8952 PyObject
* obj0
= 0 ;
8953 PyObject
* obj1
= 0 ;
8954 char * kwnames
[] = {
8955 (char *) "self",(char *) "number", NULL
8958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8960 if (!SWIG_IsOK(res1
)) {
8961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8963 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8966 if (!SWIG_IsOK(ecode2
)) {
8967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8969 arg2
= static_cast< int >(val2
);
8972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8973 (arg1
)->SetFieldsCount(arg2
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8977 resultobj
= SWIG_Py_Void();
8984 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8985 PyObject
*resultobj
= 0;
8986 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8990 PyObject
*swig_obj
[1] ;
8992 if (!args
) SWIG_fail
;
8994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8995 if (!SWIG_IsOK(res1
)) {
8996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8998 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9001 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
9002 wxPyEndAllowThreads(__tstate
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9005 resultobj
= SWIG_From_int(static_cast< int >(result
));
9012 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9013 PyObject
*resultobj
= 0;
9014 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9015 wxString
*arg2
= 0 ;
9016 int arg3
= (int) 0 ;
9019 bool temp2
= false ;
9022 PyObject
* obj0
= 0 ;
9023 PyObject
* obj1
= 0 ;
9024 PyObject
* obj2
= 0 ;
9025 char * kwnames
[] = {
9026 (char *) "self",(char *) "text",(char *) "number", NULL
9029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9031 if (!SWIG_IsOK(res1
)) {
9032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9034 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9036 arg2
= wxString_in_helper(obj1
);
9037 if (arg2
== NULL
) SWIG_fail
;
9041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9042 if (!SWIG_IsOK(ecode3
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
9045 arg3
= static_cast< int >(val3
);
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9053 resultobj
= SWIG_Py_Void();
9068 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
= 0;
9070 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9071 int arg2
= (int) 0 ;
9077 PyObject
* obj0
= 0 ;
9078 PyObject
* obj1
= 0 ;
9079 char * kwnames
[] = {
9080 (char *) "self",(char *) "number", NULL
9083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9085 if (!SWIG_IsOK(res1
)) {
9086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9088 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9091 if (!SWIG_IsOK(ecode2
)) {
9092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9094 arg2
= static_cast< int >(val2
);
9097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9098 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9115 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9116 PyObject
*resultobj
= 0;
9117 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9118 wxString
*arg2
= 0 ;
9119 int arg3
= (int) 0 ;
9122 bool temp2
= false ;
9125 PyObject
* obj0
= 0 ;
9126 PyObject
* obj1
= 0 ;
9127 PyObject
* obj2
= 0 ;
9128 char * kwnames
[] = {
9129 (char *) "self",(char *) "text",(char *) "number", NULL
9132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9134 if (!SWIG_IsOK(res1
)) {
9135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9137 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9139 arg2
= wxString_in_helper(obj1
);
9140 if (arg2
== NULL
) SWIG_fail
;
9144 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9145 if (!SWIG_IsOK(ecode3
)) {
9146 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9148 arg3
= static_cast< int >(val3
);
9151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9152 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9153 wxPyEndAllowThreads(__tstate
);
9154 if (PyErr_Occurred()) SWIG_fail
;
9156 resultobj
= SWIG_Py_Void();
9171 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
= 0;
9173 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9174 int arg2
= (int) 0 ;
9179 PyObject
* obj0
= 0 ;
9180 PyObject
* obj1
= 0 ;
9181 char * kwnames
[] = {
9182 (char *) "self",(char *) "number", NULL
9185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9187 if (!SWIG_IsOK(res1
)) {
9188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9190 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9192 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9193 if (!SWIG_IsOK(ecode2
)) {
9194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9196 arg2
= static_cast< int >(val2
);
9199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9200 (arg1
)->PopStatusText(arg2
);
9201 wxPyEndAllowThreads(__tstate
);
9202 if (PyErr_Occurred()) SWIG_fail
;
9204 resultobj
= SWIG_Py_Void();
9211 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9212 PyObject
*resultobj
= 0;
9213 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9215 int *arg3
= (int *) 0 ;
9218 PyObject
* obj0
= 0 ;
9219 PyObject
* obj1
= 0 ;
9220 char * kwnames
[] = {
9221 (char *) "self",(char *) "widths", NULL
9224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9226 if (!SWIG_IsOK(res1
)) {
9227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9229 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9231 arg2
= PyList_Size(obj1
);
9232 arg3
= int_LIST_helper(obj1
);
9233 if (arg3
== NULL
) SWIG_fail
;
9236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9237 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9241 resultobj
= SWIG_Py_Void();
9243 if (arg3
) delete [] arg3
;
9248 if (arg3
) delete [] arg3
;
9254 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
= 0;
9256 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9258 int *arg3
= (int *) 0 ;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9263 char * kwnames
[] = {
9264 (char *) "self",(char *) "styles", NULL
9267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9269 if (!SWIG_IsOK(res1
)) {
9270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9272 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9274 arg2
= PyList_Size(obj1
);
9275 arg3
= int_LIST_helper(obj1
);
9276 if (arg3
== NULL
) SWIG_fail
;
9279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9280 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 resultobj
= SWIG_Py_Void();
9286 if (arg3
) delete [] arg3
;
9291 if (arg3
) delete [] arg3
;
9297 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9298 PyObject
*resultobj
= 0;
9299 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9306 PyObject
* obj0
= 0 ;
9307 PyObject
* obj1
= 0 ;
9308 char * kwnames
[] = {
9309 (char *) "self",(char *) "i", NULL
9312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9314 if (!SWIG_IsOK(res1
)) {
9315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9317 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9319 if (!SWIG_IsOK(ecode2
)) {
9320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9322 arg2
= static_cast< int >(val2
);
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9326 wxPyEndAllowThreads(__tstate
);
9327 if (PyErr_Occurred()) SWIG_fail
;
9329 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9336 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
= 0;
9338 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9344 PyObject
* obj0
= 0 ;
9345 PyObject
* obj1
= 0 ;
9346 char * kwnames
[] = {
9347 (char *) "self",(char *) "height", NULL
9350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9352 if (!SWIG_IsOK(res1
)) {
9353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9355 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9356 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9357 if (!SWIG_IsOK(ecode2
)) {
9358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9360 arg2
= static_cast< int >(val2
);
9362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9363 (arg1
)->SetMinHeight(arg2
);
9364 wxPyEndAllowThreads(__tstate
);
9365 if (PyErr_Occurred()) SWIG_fail
;
9367 resultobj
= SWIG_Py_Void();
9374 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9375 PyObject
*resultobj
= 0;
9376 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9380 PyObject
*swig_obj
[1] ;
9382 if (!args
) SWIG_fail
;
9384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9385 if (!SWIG_IsOK(res1
)) {
9386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9388 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9395 resultobj
= SWIG_From_int(static_cast< int >(result
));
9402 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9403 PyObject
*resultobj
= 0;
9404 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9408 PyObject
*swig_obj
[1] ;
9410 if (!args
) SWIG_fail
;
9412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9413 if (!SWIG_IsOK(res1
)) {
9414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9416 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9419 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 resultobj
= SWIG_From_int(static_cast< int >(result
));
9430 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9431 PyObject
*resultobj
= 0;
9432 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9433 SwigValueWrapper
<wxVisualAttributes
> result
;
9436 PyObject
* obj0
= 0 ;
9437 char * kwnames
[] = {
9438 (char *) "variant", NULL
9441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9443 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9444 if (!SWIG_IsOK(ecode1
)) {
9445 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9447 arg1
= static_cast< wxWindowVariant
>(val1
);
9450 if (!wxPyCheckForApp()) SWIG_fail
;
9451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9452 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9453 wxPyEndAllowThreads(__tstate
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9456 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9463 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9466 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9467 return SWIG_Py_Void();
9470 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9471 return SWIG_Python_InitShadowInstance(args
);
9474 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9475 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9480 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9481 PyObject
*pyobj
= 0;
9485 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9487 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9494 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9495 PyObject
*resultobj
= 0;
9496 wxWindow
*arg1
= (wxWindow
*) 0 ;
9497 int arg2
= (int) -1 ;
9498 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9499 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9500 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9501 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9502 long arg5
= (long) wxSP_3D
;
9503 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9504 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9505 wxSplitterWindow
*result
= 0 ;
9514 bool temp6
= false ;
9515 PyObject
* obj0
= 0 ;
9516 PyObject
* obj1
= 0 ;
9517 PyObject
* obj2
= 0 ;
9518 PyObject
* obj3
= 0 ;
9519 PyObject
* obj4
= 0 ;
9520 PyObject
* obj5
= 0 ;
9521 char * kwnames
[] = {
9522 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9527 if (!SWIG_IsOK(res1
)) {
9528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9530 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9532 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9533 if (!SWIG_IsOK(ecode2
)) {
9534 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9536 arg2
= static_cast< int >(val2
);
9541 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9547 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9551 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9552 if (!SWIG_IsOK(ecode5
)) {
9553 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9555 arg5
= static_cast< long >(val5
);
9559 arg6
= wxString_in_helper(obj5
);
9560 if (arg6
== NULL
) SWIG_fail
;
9565 if (!wxPyCheckForApp()) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9586 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9587 PyObject
*resultobj
= 0;
9588 wxSplitterWindow
*result
= 0 ;
9590 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9592 if (!wxPyCheckForApp()) SWIG_fail
;
9593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9594 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9595 wxPyEndAllowThreads(__tstate
);
9596 if (PyErr_Occurred()) SWIG_fail
;
9598 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9605 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
= 0;
9607 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9608 wxWindow
*arg2
= (wxWindow
*) 0 ;
9609 int arg3
= (int) -1 ;
9610 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9611 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9612 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9613 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9614 long arg6
= (long) wxSP_3D
;
9615 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9616 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9628 bool temp7
= false ;
9629 PyObject
* obj0
= 0 ;
9630 PyObject
* obj1
= 0 ;
9631 PyObject
* obj2
= 0 ;
9632 PyObject
* obj3
= 0 ;
9633 PyObject
* obj4
= 0 ;
9634 PyObject
* obj5
= 0 ;
9635 PyObject
* obj6
= 0 ;
9636 char * kwnames
[] = {
9637 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9642 if (!SWIG_IsOK(res1
)) {
9643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9645 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9646 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9647 if (!SWIG_IsOK(res2
)) {
9648 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9650 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9652 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9653 if (!SWIG_IsOK(ecode3
)) {
9654 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9656 arg3
= static_cast< int >(val3
);
9661 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9667 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9671 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9672 if (!SWIG_IsOK(ecode6
)) {
9673 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9675 arg6
= static_cast< long >(val6
);
9679 arg7
= wxString_in_helper(obj6
);
9680 if (arg7
== NULL
) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9687 wxPyEndAllowThreads(__tstate
);
9688 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9707 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9708 PyObject
*resultobj
= 0;
9709 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9710 wxWindow
*result
= 0 ;
9713 PyObject
*swig_obj
[1] ;
9715 if (!args
) SWIG_fail
;
9717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9718 if (!SWIG_IsOK(res1
)) {
9719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9721 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= wxPyMake_wxObject(result
, 0);
9737 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9738 PyObject
*resultobj
= 0;
9739 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9740 wxWindow
*result
= 0 ;
9743 PyObject
*swig_obj
[1] ;
9745 if (!args
) SWIG_fail
;
9747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9748 if (!SWIG_IsOK(res1
)) {
9749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9751 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9754 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9755 wxPyEndAllowThreads(__tstate
);
9756 if (PyErr_Occurred()) SWIG_fail
;
9759 resultobj
= wxPyMake_wxObject(result
, 0);
9767 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9768 PyObject
*resultobj
= 0;
9769 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9776 PyObject
* obj1
= 0 ;
9777 char * kwnames
[] = {
9778 (char *) "self",(char *) "mode", NULL
9781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9783 if (!SWIG_IsOK(res1
)) {
9784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9786 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9788 if (!SWIG_IsOK(ecode2
)) {
9789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9791 arg2
= static_cast< int >(val2
);
9793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9794 (arg1
)->SetSplitMode(arg2
);
9795 wxPyEndAllowThreads(__tstate
);
9796 if (PyErr_Occurred()) SWIG_fail
;
9798 resultobj
= SWIG_Py_Void();
9805 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9806 PyObject
*resultobj
= 0;
9807 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9811 PyObject
*swig_obj
[1] ;
9813 if (!args
) SWIG_fail
;
9815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9816 if (!SWIG_IsOK(res1
)) {
9817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9819 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9822 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9823 wxPyEndAllowThreads(__tstate
);
9824 if (PyErr_Occurred()) SWIG_fail
;
9826 resultobj
= SWIG_From_int(static_cast< int >(result
));
9833 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9834 PyObject
*resultobj
= 0;
9835 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9836 wxWindow
*arg2
= (wxWindow
*) 0 ;
9841 PyObject
* obj0
= 0 ;
9842 PyObject
* obj1
= 0 ;
9843 char * kwnames
[] = {
9844 (char *) "self",(char *) "window", NULL
9847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9849 if (!SWIG_IsOK(res1
)) {
9850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9852 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9853 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9854 if (!SWIG_IsOK(res2
)) {
9855 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9857 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 (arg1
)->Initialize(arg2
);
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9864 resultobj
= SWIG_Py_Void();
9871 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9872 PyObject
*resultobj
= 0;
9873 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9874 wxWindow
*arg2
= (wxWindow
*) 0 ;
9875 wxWindow
*arg3
= (wxWindow
*) 0 ;
9876 int arg4
= (int) 0 ;
9886 PyObject
* obj0
= 0 ;
9887 PyObject
* obj1
= 0 ;
9888 PyObject
* obj2
= 0 ;
9889 PyObject
* obj3
= 0 ;
9890 char * kwnames
[] = {
9891 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9896 if (!SWIG_IsOK(res1
)) {
9897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9899 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9901 if (!SWIG_IsOK(res2
)) {
9902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9904 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9905 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9906 if (!SWIG_IsOK(res3
)) {
9907 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9909 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9911 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9912 if (!SWIG_IsOK(ecode4
)) {
9913 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9915 arg4
= static_cast< int >(val4
);
9918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9919 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9920 wxPyEndAllowThreads(__tstate
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9932 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9933 PyObject
*resultobj
= 0;
9934 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9935 wxWindow
*arg2
= (wxWindow
*) 0 ;
9936 wxWindow
*arg3
= (wxWindow
*) 0 ;
9937 int arg4
= (int) 0 ;
9947 PyObject
* obj0
= 0 ;
9948 PyObject
* obj1
= 0 ;
9949 PyObject
* obj2
= 0 ;
9950 PyObject
* obj3
= 0 ;
9951 char * kwnames
[] = {
9952 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9957 if (!SWIG_IsOK(res1
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9960 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9962 if (!SWIG_IsOK(res2
)) {
9963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9965 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9966 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9967 if (!SWIG_IsOK(res3
)) {
9968 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9970 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9972 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9973 if (!SWIG_IsOK(ecode4
)) {
9974 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9976 arg4
= static_cast< int >(val4
);
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9993 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9994 PyObject
*resultobj
= 0;
9995 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9996 wxWindow
*arg2
= (wxWindow
*) NULL
;
10002 PyObject
* obj0
= 0 ;
10003 PyObject
* obj1
= 0 ;
10004 char * kwnames
[] = {
10005 (char *) "self",(char *) "toRemove", NULL
10008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10010 if (!SWIG_IsOK(res1
)) {
10011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10013 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10015 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10016 if (!SWIG_IsOK(res2
)) {
10017 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
10019 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (bool)(arg1
)->Unsplit(arg2
);
10024 wxPyEndAllowThreads(__tstate
);
10025 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10036 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10037 PyObject
*resultobj
= 0;
10038 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10039 wxWindow
*arg2
= (wxWindow
*) 0 ;
10040 wxWindow
*arg3
= (wxWindow
*) 0 ;
10048 PyObject
* obj0
= 0 ;
10049 PyObject
* obj1
= 0 ;
10050 PyObject
* obj2
= 0 ;
10051 char * kwnames
[] = {
10052 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
10055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10057 if (!SWIG_IsOK(res1
)) {
10058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10060 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10061 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10062 if (!SWIG_IsOK(res2
)) {
10063 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10065 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10066 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10067 if (!SWIG_IsOK(res3
)) {
10068 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10070 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10073 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10086 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10087 PyObject
*resultobj
= 0;
10088 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10091 PyObject
*swig_obj
[1] ;
10093 if (!args
) SWIG_fail
;
10094 swig_obj
[0] = args
;
10095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10096 if (!SWIG_IsOK(res1
)) {
10097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10099 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 (arg1
)->UpdateSize();
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= SWIG_Py_Void();
10113 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10114 PyObject
*resultobj
= 0;
10115 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10119 PyObject
*swig_obj
[1] ;
10121 if (!args
) SWIG_fail
;
10122 swig_obj
[0] = args
;
10123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10124 if (!SWIG_IsOK(res1
)) {
10125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10127 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10143 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10144 PyObject
*resultobj
= 0;
10145 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10151 PyObject
* obj0
= 0 ;
10152 PyObject
* obj1
= 0 ;
10153 char * kwnames
[] = {
10154 (char *) "self",(char *) "width", NULL
10157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10159 if (!SWIG_IsOK(res1
)) {
10160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10162 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10163 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10164 if (!SWIG_IsOK(ecode2
)) {
10165 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10167 arg2
= static_cast< int >(val2
);
10169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10170 (arg1
)->SetSashSize(arg2
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10174 resultobj
= SWIG_Py_Void();
10181 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
= 0;
10183 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10189 PyObject
* obj0
= 0 ;
10190 PyObject
* obj1
= 0 ;
10191 char * kwnames
[] = {
10192 (char *) "self",(char *) "width", NULL
10195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10197 if (!SWIG_IsOK(res1
)) {
10198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10200 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10202 if (!SWIG_IsOK(ecode2
)) {
10203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10205 arg2
= static_cast< int >(val2
);
10207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10208 (arg1
)->SetBorderSize(arg2
);
10209 wxPyEndAllowThreads(__tstate
);
10210 if (PyErr_Occurred()) SWIG_fail
;
10212 resultobj
= SWIG_Py_Void();
10219 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10220 PyObject
*resultobj
= 0;
10221 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10225 PyObject
*swig_obj
[1] ;
10227 if (!args
) SWIG_fail
;
10228 swig_obj
[0] = args
;
10229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10230 if (!SWIG_IsOK(res1
)) {
10231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10233 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10236 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10237 wxPyEndAllowThreads(__tstate
);
10238 if (PyErr_Occurred()) SWIG_fail
;
10240 resultobj
= SWIG_From_int(static_cast< int >(result
));
10247 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10248 PyObject
*resultobj
= 0;
10249 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10253 PyObject
*swig_obj
[1] ;
10255 if (!args
) SWIG_fail
;
10256 swig_obj
[0] = args
;
10257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10258 if (!SWIG_IsOK(res1
)) {
10259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10261 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10264 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10265 wxPyEndAllowThreads(__tstate
);
10266 if (PyErr_Occurred()) SWIG_fail
;
10268 resultobj
= SWIG_From_int(static_cast< int >(result
));
10275 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10276 PyObject
*resultobj
= 0;
10277 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10279 bool arg3
= (bool) true ;
10286 PyObject
* obj0
= 0 ;
10287 PyObject
* obj1
= 0 ;
10288 PyObject
* obj2
= 0 ;
10289 char * kwnames
[] = {
10290 (char *) "self",(char *) "position",(char *) "redraw", NULL
10293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10295 if (!SWIG_IsOK(res1
)) {
10296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10298 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10300 if (!SWIG_IsOK(ecode2
)) {
10301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10303 arg2
= static_cast< int >(val2
);
10305 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10306 if (!SWIG_IsOK(ecode3
)) {
10307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10309 arg3
= static_cast< bool >(val3
);
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 (arg1
)->SetSashPosition(arg2
,arg3
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= SWIG_Py_Void();
10324 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10325 PyObject
*resultobj
= 0;
10326 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10330 PyObject
*swig_obj
[1] ;
10332 if (!args
) SWIG_fail
;
10333 swig_obj
[0] = args
;
10334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10335 if (!SWIG_IsOK(res1
)) {
10336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10338 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= SWIG_From_int(static_cast< int >(result
));
10352 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
= 0;
10354 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10362 char * kwnames
[] = {
10363 (char *) "self",(char *) "gravity", NULL
10366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10368 if (!SWIG_IsOK(res1
)) {
10369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10371 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10372 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10373 if (!SWIG_IsOK(ecode2
)) {
10374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10376 arg2
= static_cast< double >(val2
);
10378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10379 (arg1
)->SetSashGravity(arg2
);
10380 wxPyEndAllowThreads(__tstate
);
10381 if (PyErr_Occurred()) SWIG_fail
;
10383 resultobj
= SWIG_Py_Void();
10390 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10391 PyObject
*resultobj
= 0;
10392 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10396 PyObject
*swig_obj
[1] ;
10398 if (!args
) SWIG_fail
;
10399 swig_obj
[0] = args
;
10400 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10401 if (!SWIG_IsOK(res1
)) {
10402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10404 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10407 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= SWIG_From_double(static_cast< double >(result
));
10418 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
= 0;
10420 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10426 PyObject
* obj0
= 0 ;
10427 PyObject
* obj1
= 0 ;
10428 char * kwnames
[] = {
10429 (char *) "self",(char *) "min", NULL
10432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10434 if (!SWIG_IsOK(res1
)) {
10435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10437 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10439 if (!SWIG_IsOK(ecode2
)) {
10440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10442 arg2
= static_cast< int >(val2
);
10444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10445 (arg1
)->SetMinimumPaneSize(arg2
);
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10449 resultobj
= SWIG_Py_Void();
10456 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10457 PyObject
*resultobj
= 0;
10458 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10462 PyObject
*swig_obj
[1] ;
10464 if (!args
) SWIG_fail
;
10465 swig_obj
[0] = args
;
10466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10467 if (!SWIG_IsOK(res1
)) {
10468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10470 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10477 resultobj
= SWIG_From_int(static_cast< int >(result
));
10484 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10485 PyObject
*resultobj
= 0;
10486 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10489 int arg4
= (int) 5 ;
10499 PyObject
* obj0
= 0 ;
10500 PyObject
* obj1
= 0 ;
10501 PyObject
* obj2
= 0 ;
10502 PyObject
* obj3
= 0 ;
10503 char * kwnames
[] = {
10504 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10509 if (!SWIG_IsOK(res1
)) {
10510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10512 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10514 if (!SWIG_IsOK(ecode2
)) {
10515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10517 arg2
= static_cast< int >(val2
);
10518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10519 if (!SWIG_IsOK(ecode3
)) {
10520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10522 arg3
= static_cast< int >(val3
);
10524 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10525 if (!SWIG_IsOK(ecode4
)) {
10526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10528 arg4
= static_cast< int >(val4
);
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10533 wxPyEndAllowThreads(__tstate
);
10534 if (PyErr_Occurred()) SWIG_fail
;
10537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10545 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10546 PyObject
*resultobj
= 0;
10547 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10550 PyObject
*swig_obj
[1] ;
10552 if (!args
) SWIG_fail
;
10553 swig_obj
[0] = args
;
10554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10555 if (!SWIG_IsOK(res1
)) {
10556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10558 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 (arg1
)->SizeWindows();
10562 wxPyEndAllowThreads(__tstate
);
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 resultobj
= SWIG_Py_Void();
10572 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10573 PyObject
*resultobj
= 0;
10574 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10580 PyObject
* obj0
= 0 ;
10581 PyObject
* obj1
= 0 ;
10582 char * kwnames
[] = {
10583 (char *) "self",(char *) "needUpdating", NULL
10586 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10587 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10588 if (!SWIG_IsOK(res1
)) {
10589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10591 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10592 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10593 if (!SWIG_IsOK(ecode2
)) {
10594 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10596 arg2
= static_cast< bool >(val2
);
10598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10599 (arg1
)->SetNeedUpdating(arg2
);
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 resultobj
= SWIG_Py_Void();
10610 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10611 PyObject
*resultobj
= 0;
10612 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10616 PyObject
*swig_obj
[1] ;
10618 if (!args
) SWIG_fail
;
10619 swig_obj
[0] = args
;
10620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10621 if (!SWIG_IsOK(res1
)) {
10622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10624 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10628 wxPyEndAllowThreads(__tstate
);
10629 if (PyErr_Occurred()) SWIG_fail
;
10632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10640 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
= 0;
10642 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10643 SwigValueWrapper
<wxVisualAttributes
> result
;
10646 PyObject
* obj0
= 0 ;
10647 char * kwnames
[] = {
10648 (char *) "variant", NULL
10651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10653 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10654 if (!SWIG_IsOK(ecode1
)) {
10655 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10657 arg1
= static_cast< wxWindowVariant
>(val1
);
10660 if (!wxPyCheckForApp()) SWIG_fail
;
10661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10662 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10666 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10673 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10675 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10676 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10677 return SWIG_Py_Void();
10680 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10681 return SWIG_Python_InitShadowInstance(args
);
10684 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10685 PyObject
*resultobj
= 0;
10686 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10687 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10688 wxSplitterEvent
*result
= 0 ;
10693 PyObject
* obj0
= 0 ;
10694 PyObject
* obj1
= 0 ;
10695 char * kwnames
[] = {
10696 (char *) "type",(char *) "splitter", NULL
10699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10702 if (!SWIG_IsOK(ecode1
)) {
10703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10705 arg1
= static_cast< wxEventType
>(val1
);
10708 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10709 if (!SWIG_IsOK(res2
)) {
10710 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10712 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10716 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10717 wxPyEndAllowThreads(__tstate
);
10718 if (PyErr_Occurred()) SWIG_fail
;
10720 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10727 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10728 PyObject
*resultobj
= 0;
10729 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10735 PyObject
* obj0
= 0 ;
10736 PyObject
* obj1
= 0 ;
10737 char * kwnames
[] = {
10738 (char *) "self",(char *) "pos", NULL
10741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10743 if (!SWIG_IsOK(res1
)) {
10744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10746 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10748 if (!SWIG_IsOK(ecode2
)) {
10749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10751 arg2
= static_cast< int >(val2
);
10753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10754 (arg1
)->SetSashPosition(arg2
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 resultobj
= SWIG_Py_Void();
10765 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10766 PyObject
*resultobj
= 0;
10767 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10771 PyObject
*swig_obj
[1] ;
10773 if (!args
) SWIG_fail
;
10774 swig_obj
[0] = args
;
10775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10776 if (!SWIG_IsOK(res1
)) {
10777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10779 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10782 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 resultobj
= SWIG_From_int(static_cast< int >(result
));
10793 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10794 PyObject
*resultobj
= 0;
10795 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10796 wxWindow
*result
= 0 ;
10799 PyObject
*swig_obj
[1] ;
10801 if (!args
) SWIG_fail
;
10802 swig_obj
[0] = args
;
10803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10804 if (!SWIG_IsOK(res1
)) {
10805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10807 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10810 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10811 wxPyEndAllowThreads(__tstate
);
10812 if (PyErr_Occurred()) SWIG_fail
;
10815 resultobj
= wxPyMake_wxObject(result
, 0);
10823 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10824 PyObject
*resultobj
= 0;
10825 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10829 PyObject
*swig_obj
[1] ;
10831 if (!args
) SWIG_fail
;
10832 swig_obj
[0] = args
;
10833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10834 if (!SWIG_IsOK(res1
)) {
10835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10837 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10844 resultobj
= SWIG_From_int(static_cast< int >(result
));
10851 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10852 PyObject
*resultobj
= 0;
10853 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10857 PyObject
*swig_obj
[1] ;
10859 if (!args
) SWIG_fail
;
10860 swig_obj
[0] = args
;
10861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10862 if (!SWIG_IsOK(res1
)) {
10863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10865 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10868 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10869 wxPyEndAllowThreads(__tstate
);
10870 if (PyErr_Occurred()) SWIG_fail
;
10872 resultobj
= SWIG_From_int(static_cast< int >(result
));
10879 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10881 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10882 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10883 return SWIG_Py_Void();
10886 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10887 return SWIG_Python_InitShadowInstance(args
);
10890 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10891 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10896 SWIGINTERN PyObject
*SashNameStr_get(void) {
10897 PyObject
*pyobj
= 0;
10901 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10903 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10910 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10911 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10916 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10917 PyObject
*pyobj
= 0;
10921 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10923 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10930 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
= 0;
10932 wxWindow
*arg1
= (wxWindow
*) 0 ;
10933 int arg2
= (int) -1 ;
10934 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10935 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10936 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10937 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10938 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10939 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10940 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10941 wxSashWindow
*result
= 0 ;
10950 bool temp6
= false ;
10951 PyObject
* obj0
= 0 ;
10952 PyObject
* obj1
= 0 ;
10953 PyObject
* obj2
= 0 ;
10954 PyObject
* obj3
= 0 ;
10955 PyObject
* obj4
= 0 ;
10956 PyObject
* obj5
= 0 ;
10957 char * kwnames
[] = {
10958 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10963 if (!SWIG_IsOK(res1
)) {
10964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10966 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10968 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10969 if (!SWIG_IsOK(ecode2
)) {
10970 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10972 arg2
= static_cast< int >(val2
);
10977 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10983 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10987 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10988 if (!SWIG_IsOK(ecode5
)) {
10989 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10991 arg5
= static_cast< long >(val5
);
10995 arg6
= wxString_in_helper(obj5
);
10996 if (arg6
== NULL
) SWIG_fail
;
11001 if (!wxPyCheckForApp()) SWIG_fail
;
11002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11003 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
11004 wxPyEndAllowThreads(__tstate
);
11005 if (PyErr_Occurred()) SWIG_fail
;
11007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
11022 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11023 PyObject
*resultobj
= 0;
11024 wxSashWindow
*result
= 0 ;
11026 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
11028 if (!wxPyCheckForApp()) SWIG_fail
;
11029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11030 result
= (wxSashWindow
*)new wxSashWindow();
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
11041 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
= 0;
11043 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11044 wxWindow
*arg2
= (wxWindow
*) 0 ;
11045 int arg3
= (int) -1 ;
11046 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
11047 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
11048 wxSize
const &arg5_defvalue
= wxDefaultSize
;
11049 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
11050 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
11051 wxString
const &arg7_defvalue
= wxPySashNameStr
;
11052 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11064 bool temp7
= false ;
11065 PyObject
* obj0
= 0 ;
11066 PyObject
* obj1
= 0 ;
11067 PyObject
* obj2
= 0 ;
11068 PyObject
* obj3
= 0 ;
11069 PyObject
* obj4
= 0 ;
11070 PyObject
* obj5
= 0 ;
11071 PyObject
* obj6
= 0 ;
11072 char * kwnames
[] = {
11073 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11078 if (!SWIG_IsOK(res1
)) {
11079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11081 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11083 if (!SWIG_IsOK(res2
)) {
11084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11086 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11088 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11089 if (!SWIG_IsOK(ecode3
)) {
11090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11092 arg3
= static_cast< int >(val3
);
11097 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11103 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11107 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11108 if (!SWIG_IsOK(ecode6
)) {
11109 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11111 arg6
= static_cast< long >(val6
);
11115 arg7
= wxString_in_helper(obj6
);
11116 if (arg7
== NULL
) SWIG_fail
;
11121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11122 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11123 wxPyEndAllowThreads(__tstate
);
11124 if (PyErr_Occurred()) SWIG_fail
;
11127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11143 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11144 PyObject
*resultobj
= 0;
11145 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11146 wxSashEdgePosition arg2
;
11154 PyObject
* obj0
= 0 ;
11155 PyObject
* obj1
= 0 ;
11156 PyObject
* obj2
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "self",(char *) "edge",(char *) "sash", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11166 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11168 if (!SWIG_IsOK(ecode2
)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11171 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11172 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11173 if (!SWIG_IsOK(ecode3
)) {
11174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11176 arg3
= static_cast< bool >(val3
);
11178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11179 (arg1
)->SetSashVisible(arg2
,arg3
);
11180 wxPyEndAllowThreads(__tstate
);
11181 if (PyErr_Occurred()) SWIG_fail
;
11183 resultobj
= SWIG_Py_Void();
11190 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11191 PyObject
*resultobj
= 0;
11192 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11193 wxSashEdgePosition arg2
;
11199 PyObject
* obj0
= 0 ;
11200 PyObject
* obj1
= 0 ;
11201 char * kwnames
[] = {
11202 (char *) "self",(char *) "edge", NULL
11205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11207 if (!SWIG_IsOK(res1
)) {
11208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11210 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11211 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11212 if (!SWIG_IsOK(ecode2
)) {
11213 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11215 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11218 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11231 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
= 0;
11233 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11234 wxSashEdgePosition arg2
;
11242 PyObject
* obj0
= 0 ;
11243 PyObject
* obj1
= 0 ;
11244 PyObject
* obj2
= 0 ;
11245 char * kwnames
[] = {
11246 (char *) "self",(char *) "edge",(char *) "border", NULL
11249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11251 if (!SWIG_IsOK(res1
)) {
11252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11254 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11256 if (!SWIG_IsOK(ecode2
)) {
11257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11259 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11260 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11261 if (!SWIG_IsOK(ecode3
)) {
11262 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11264 arg3
= static_cast< bool >(val3
);
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 (arg1
)->SetSashBorder(arg2
,arg3
);
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= SWIG_Py_Void();
11278 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11279 PyObject
*resultobj
= 0;
11280 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11281 wxSashEdgePosition arg2
;
11287 PyObject
* obj0
= 0 ;
11288 PyObject
* obj1
= 0 ;
11289 char * kwnames
[] = {
11290 (char *) "self",(char *) "edge", NULL
11293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11295 if (!SWIG_IsOK(res1
)) {
11296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11298 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11299 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11300 if (!SWIG_IsOK(ecode2
)) {
11301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11303 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11319 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11320 PyObject
*resultobj
= 0;
11321 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11322 wxSashEdgePosition arg2
;
11328 PyObject
* obj0
= 0 ;
11329 PyObject
* obj1
= 0 ;
11330 char * kwnames
[] = {
11331 (char *) "self",(char *) "edge", NULL
11334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11336 if (!SWIG_IsOK(res1
)) {
11337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11339 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11341 if (!SWIG_IsOK(ecode2
)) {
11342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11344 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11348 wxPyEndAllowThreads(__tstate
);
11349 if (PyErr_Occurred()) SWIG_fail
;
11351 resultobj
= SWIG_From_int(static_cast< int >(result
));
11358 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11359 PyObject
*resultobj
= 0;
11360 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11366 PyObject
* obj0
= 0 ;
11367 PyObject
* obj1
= 0 ;
11368 char * kwnames
[] = {
11369 (char *) "self",(char *) "width", NULL
11372 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11373 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11374 if (!SWIG_IsOK(res1
)) {
11375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11377 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11378 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11379 if (!SWIG_IsOK(ecode2
)) {
11380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11382 arg2
= static_cast< int >(val2
);
11384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11385 (arg1
)->SetDefaultBorderSize(arg2
);
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= SWIG_Py_Void();
11396 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11397 PyObject
*resultobj
= 0;
11398 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11402 PyObject
*swig_obj
[1] ;
11404 if (!args
) SWIG_fail
;
11405 swig_obj
[0] = args
;
11406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11407 if (!SWIG_IsOK(res1
)) {
11408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11410 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11417 resultobj
= SWIG_From_int(static_cast< int >(result
));
11424 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11425 PyObject
*resultobj
= 0;
11426 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11432 PyObject
* obj0
= 0 ;
11433 PyObject
* obj1
= 0 ;
11434 char * kwnames
[] = {
11435 (char *) "self",(char *) "width", NULL
11438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11440 if (!SWIG_IsOK(res1
)) {
11441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11443 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11444 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11445 if (!SWIG_IsOK(ecode2
)) {
11446 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11448 arg2
= static_cast< int >(val2
);
11450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11451 (arg1
)->SetExtraBorderSize(arg2
);
11452 wxPyEndAllowThreads(__tstate
);
11453 if (PyErr_Occurred()) SWIG_fail
;
11455 resultobj
= SWIG_Py_Void();
11462 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11463 PyObject
*resultobj
= 0;
11464 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11468 PyObject
*swig_obj
[1] ;
11470 if (!args
) SWIG_fail
;
11471 swig_obj
[0] = args
;
11472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11473 if (!SWIG_IsOK(res1
)) {
11474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11476 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11479 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11480 wxPyEndAllowThreads(__tstate
);
11481 if (PyErr_Occurred()) SWIG_fail
;
11483 resultobj
= SWIG_From_int(static_cast< int >(result
));
11490 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
= 0;
11492 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11498 PyObject
* obj0
= 0 ;
11499 PyObject
* obj1
= 0 ;
11500 char * kwnames
[] = {
11501 (char *) "self",(char *) "min", NULL
11504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11506 if (!SWIG_IsOK(res1
)) {
11507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11509 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11511 if (!SWIG_IsOK(ecode2
)) {
11512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11514 arg2
= static_cast< int >(val2
);
11516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11517 (arg1
)->SetMinimumSizeX(arg2
);
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 resultobj
= SWIG_Py_Void();
11528 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
= 0;
11530 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11536 PyObject
* obj0
= 0 ;
11537 PyObject
* obj1
= 0 ;
11538 char * kwnames
[] = {
11539 (char *) "self",(char *) "min", NULL
11542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11544 if (!SWIG_IsOK(res1
)) {
11545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11547 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11549 if (!SWIG_IsOK(ecode2
)) {
11550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11552 arg2
= static_cast< int >(val2
);
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 (arg1
)->SetMinimumSizeY(arg2
);
11556 wxPyEndAllowThreads(__tstate
);
11557 if (PyErr_Occurred()) SWIG_fail
;
11559 resultobj
= SWIG_Py_Void();
11566 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11567 PyObject
*resultobj
= 0;
11568 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11572 PyObject
*swig_obj
[1] ;
11574 if (!args
) SWIG_fail
;
11575 swig_obj
[0] = args
;
11576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11577 if (!SWIG_IsOK(res1
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11580 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11584 wxPyEndAllowThreads(__tstate
);
11585 if (PyErr_Occurred()) SWIG_fail
;
11587 resultobj
= SWIG_From_int(static_cast< int >(result
));
11594 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11595 PyObject
*resultobj
= 0;
11596 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11600 PyObject
*swig_obj
[1] ;
11602 if (!args
) SWIG_fail
;
11603 swig_obj
[0] = args
;
11604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11605 if (!SWIG_IsOK(res1
)) {
11606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11608 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11612 wxPyEndAllowThreads(__tstate
);
11613 if (PyErr_Occurred()) SWIG_fail
;
11615 resultobj
= SWIG_From_int(static_cast< int >(result
));
11622 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11623 PyObject
*resultobj
= 0;
11624 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11630 PyObject
* obj0
= 0 ;
11631 PyObject
* obj1
= 0 ;
11632 char * kwnames
[] = {
11633 (char *) "self",(char *) "max", NULL
11636 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11637 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11638 if (!SWIG_IsOK(res1
)) {
11639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11641 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11642 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11643 if (!SWIG_IsOK(ecode2
)) {
11644 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11646 arg2
= static_cast< int >(val2
);
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11649 (arg1
)->SetMaximumSizeX(arg2
);
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 resultobj
= SWIG_Py_Void();
11660 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
= 0;
11662 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11668 PyObject
* obj0
= 0 ;
11669 PyObject
* obj1
= 0 ;
11670 char * kwnames
[] = {
11671 (char *) "self",(char *) "max", NULL
11674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11676 if (!SWIG_IsOK(res1
)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11679 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11680 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11681 if (!SWIG_IsOK(ecode2
)) {
11682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11684 arg2
= static_cast< int >(val2
);
11686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11687 (arg1
)->SetMaximumSizeY(arg2
);
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 resultobj
= SWIG_Py_Void();
11698 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11699 PyObject
*resultobj
= 0;
11700 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11704 PyObject
*swig_obj
[1] ;
11706 if (!args
) SWIG_fail
;
11707 swig_obj
[0] = args
;
11708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11709 if (!SWIG_IsOK(res1
)) {
11710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11712 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= SWIG_From_int(static_cast< int >(result
));
11726 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11727 PyObject
*resultobj
= 0;
11728 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11732 PyObject
*swig_obj
[1] ;
11734 if (!args
) SWIG_fail
;
11735 swig_obj
[0] = args
;
11736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11737 if (!SWIG_IsOK(res1
)) {
11738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11740 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_From_int(static_cast< int >(result
));
11754 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
= 0;
11756 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11759 int arg4
= (int) 2 ;
11760 wxSashEdgePosition result
;
11769 PyObject
* obj0
= 0 ;
11770 PyObject
* obj1
= 0 ;
11771 PyObject
* obj2
= 0 ;
11772 PyObject
* obj3
= 0 ;
11773 char * kwnames
[] = {
11774 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11779 if (!SWIG_IsOK(res1
)) {
11780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11782 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11783 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11784 if (!SWIG_IsOK(ecode2
)) {
11785 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11787 arg2
= static_cast< int >(val2
);
11788 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11789 if (!SWIG_IsOK(ecode3
)) {
11790 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11792 arg3
= static_cast< int >(val3
);
11794 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11795 if (!SWIG_IsOK(ecode4
)) {
11796 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11798 arg4
= static_cast< int >(val4
);
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= SWIG_From_int(static_cast< int >(result
));
11813 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11814 PyObject
*resultobj
= 0;
11815 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11818 PyObject
*swig_obj
[1] ;
11820 if (!args
) SWIG_fail
;
11821 swig_obj
[0] = args
;
11822 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11823 if (!SWIG_IsOK(res1
)) {
11824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11826 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11829 (arg1
)->SizeWindows();
11830 wxPyEndAllowThreads(__tstate
);
11831 if (PyErr_Occurred()) SWIG_fail
;
11833 resultobj
= SWIG_Py_Void();
11840 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11842 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11843 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11844 return SWIG_Py_Void();
11847 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11848 return SWIG_Python_InitShadowInstance(args
);
11851 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
= 0;
11853 int arg1
= (int) 0 ;
11854 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11855 wxSashEvent
*result
= 0 ;
11860 PyObject
* obj0
= 0 ;
11861 PyObject
* obj1
= 0 ;
11862 char * kwnames
[] = {
11863 (char *) "id",(char *) "edge", NULL
11866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11868 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11869 if (!SWIG_IsOK(ecode1
)) {
11870 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11872 arg1
= static_cast< int >(val1
);
11875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11876 if (!SWIG_IsOK(ecode2
)) {
11877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11879 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11894 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
= 0;
11896 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11897 wxSashEdgePosition arg2
;
11902 PyObject
* obj0
= 0 ;
11903 PyObject
* obj1
= 0 ;
11904 char * kwnames
[] = {
11905 (char *) "self",(char *) "edge", NULL
11908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11910 if (!SWIG_IsOK(res1
)) {
11911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11913 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11915 if (!SWIG_IsOK(ecode2
)) {
11916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11918 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 (arg1
)->SetEdge(arg2
);
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_Py_Void();
11932 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11933 PyObject
*resultobj
= 0;
11934 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11935 wxSashEdgePosition result
;
11938 PyObject
*swig_obj
[1] ;
11940 if (!args
) SWIG_fail
;
11941 swig_obj
[0] = args
;
11942 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11943 if (!SWIG_IsOK(res1
)) {
11944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11946 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= SWIG_From_int(static_cast< int >(result
));
11960 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11961 PyObject
*resultobj
= 0;
11962 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11967 PyObject
* obj0
= 0 ;
11968 PyObject
* obj1
= 0 ;
11969 char * kwnames
[] = {
11970 (char *) "self",(char *) "rect", NULL
11973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11975 if (!SWIG_IsOK(res1
)) {
11976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11978 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11981 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= SWIG_Py_Void();
11996 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11997 PyObject
*resultobj
= 0;
11998 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12002 PyObject
*swig_obj
[1] ;
12004 if (!args
) SWIG_fail
;
12005 swig_obj
[0] = args
;
12006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12007 if (!SWIG_IsOK(res1
)) {
12008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12010 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12024 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12025 PyObject
*resultobj
= 0;
12026 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12027 wxSashDragStatus arg2
;
12032 PyObject
* obj0
= 0 ;
12033 PyObject
* obj1
= 0 ;
12034 char * kwnames
[] = {
12035 (char *) "self",(char *) "status", NULL
12038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12040 if (!SWIG_IsOK(res1
)) {
12041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
12043 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12044 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12045 if (!SWIG_IsOK(ecode2
)) {
12046 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
12048 arg2
= static_cast< wxSashDragStatus
>(val2
);
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 (arg1
)->SetDragStatus(arg2
);
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= SWIG_Py_Void();
12062 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12063 PyObject
*resultobj
= 0;
12064 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
12065 wxSashDragStatus result
;
12068 PyObject
*swig_obj
[1] ;
12070 if (!args
) SWIG_fail
;
12071 swig_obj
[0] = args
;
12072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
12073 if (!SWIG_IsOK(res1
)) {
12074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
12076 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= SWIG_From_int(static_cast< int >(result
));
12090 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12093 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12094 return SWIG_Py_Void();
12097 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12098 return SWIG_Python_InitShadowInstance(args
);
12101 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12102 PyObject
*resultobj
= 0;
12103 int arg1
= (int) 0 ;
12104 wxQueryLayoutInfoEvent
*result
= 0 ;
12107 PyObject
* obj0
= 0 ;
12108 char * kwnames
[] = {
12109 (char *) "id", NULL
12112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12114 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12115 if (!SWIG_IsOK(ecode1
)) {
12116 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12118 arg1
= static_cast< int >(val1
);
12121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12122 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12133 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
= 0;
12135 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 PyObject
* obj1
= 0 ;
12143 char * kwnames
[] = {
12144 (char *) "self",(char *) "length", NULL
12147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12149 if (!SWIG_IsOK(res1
)) {
12150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12152 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12154 if (!SWIG_IsOK(ecode2
)) {
12155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12157 arg2
= static_cast< int >(val2
);
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 (arg1
)->SetRequestedLength(arg2
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_Py_Void();
12171 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12172 PyObject
*resultobj
= 0;
12173 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12177 PyObject
*swig_obj
[1] ;
12179 if (!args
) SWIG_fail
;
12180 swig_obj
[0] = args
;
12181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12182 if (!SWIG_IsOK(res1
)) {
12183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12185 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12188 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12189 wxPyEndAllowThreads(__tstate
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 resultobj
= SWIG_From_int(static_cast< int >(result
));
12199 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12200 PyObject
*resultobj
= 0;
12201 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12207 PyObject
* obj0
= 0 ;
12208 PyObject
* obj1
= 0 ;
12209 char * kwnames
[] = {
12210 (char *) "self",(char *) "flags", NULL
12213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12215 if (!SWIG_IsOK(res1
)) {
12216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12218 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12220 if (!SWIG_IsOK(ecode2
)) {
12221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12223 arg2
= static_cast< int >(val2
);
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 (arg1
)->SetFlags(arg2
);
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 resultobj
= SWIG_Py_Void();
12237 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12238 PyObject
*resultobj
= 0;
12239 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12243 PyObject
*swig_obj
[1] ;
12245 if (!args
) SWIG_fail
;
12246 swig_obj
[0] = args
;
12247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12248 if (!SWIG_IsOK(res1
)) {
12249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12251 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= SWIG_From_int(static_cast< int >(result
));
12265 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12266 PyObject
*resultobj
= 0;
12267 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12272 PyObject
* obj0
= 0 ;
12273 PyObject
* obj1
= 0 ;
12274 char * kwnames
[] = {
12275 (char *) "self",(char *) "size", NULL
12278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12280 if (!SWIG_IsOK(res1
)) {
12281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12283 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12286 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 (arg1
)->SetSize((wxSize
const &)*arg2
);
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= SWIG_Py_Void();
12301 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12302 PyObject
*resultobj
= 0;
12303 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12307 PyObject
*swig_obj
[1] ;
12309 if (!args
) SWIG_fail
;
12310 swig_obj
[0] = args
;
12311 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12312 if (!SWIG_IsOK(res1
)) {
12313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12315 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12329 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
= 0;
12331 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12332 wxLayoutOrientation arg2
;
12337 PyObject
* obj0
= 0 ;
12338 PyObject
* obj1
= 0 ;
12339 char * kwnames
[] = {
12340 (char *) "self",(char *) "orient", NULL
12343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12345 if (!SWIG_IsOK(res1
)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12348 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12350 if (!SWIG_IsOK(ecode2
)) {
12351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12353 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12356 (arg1
)->SetOrientation(arg2
);
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= SWIG_Py_Void();
12367 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12368 PyObject
*resultobj
= 0;
12369 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12370 wxLayoutOrientation result
;
12373 PyObject
*swig_obj
[1] ;
12375 if (!args
) SWIG_fail
;
12376 swig_obj
[0] = args
;
12377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12378 if (!SWIG_IsOK(res1
)) {
12379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12381 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 resultobj
= SWIG_From_int(static_cast< int >(result
));
12395 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12396 PyObject
*resultobj
= 0;
12397 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12398 wxLayoutAlignment arg2
;
12403 PyObject
* obj0
= 0 ;
12404 PyObject
* obj1
= 0 ;
12405 char * kwnames
[] = {
12406 (char *) "self",(char *) "align", NULL
12409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12411 if (!SWIG_IsOK(res1
)) {
12412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12414 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12416 if (!SWIG_IsOK(ecode2
)) {
12417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12419 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12422 (arg1
)->SetAlignment(arg2
);
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= SWIG_Py_Void();
12433 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12434 PyObject
*resultobj
= 0;
12435 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12436 wxLayoutAlignment result
;
12439 PyObject
*swig_obj
[1] ;
12441 if (!args
) SWIG_fail
;
12442 swig_obj
[0] = args
;
12443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12444 if (!SWIG_IsOK(res1
)) {
12445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12447 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= SWIG_From_int(static_cast< int >(result
));
12461 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12463 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12464 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12465 return SWIG_Py_Void();
12468 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12469 return SWIG_Python_InitShadowInstance(args
);
12472 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12473 PyObject
*resultobj
= 0;
12474 int arg1
= (int) 0 ;
12475 wxCalculateLayoutEvent
*result
= 0 ;
12478 PyObject
* obj0
= 0 ;
12479 char * kwnames
[] = {
12480 (char *) "id", NULL
12483 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12485 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12486 if (!SWIG_IsOK(ecode1
)) {
12487 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12489 arg1
= static_cast< int >(val1
);
12492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12493 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12504 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
= 0;
12506 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12512 PyObject
* obj0
= 0 ;
12513 PyObject
* obj1
= 0 ;
12514 char * kwnames
[] = {
12515 (char *) "self",(char *) "flags", NULL
12518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12520 if (!SWIG_IsOK(res1
)) {
12521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12523 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12525 if (!SWIG_IsOK(ecode2
)) {
12526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12528 arg2
= static_cast< int >(val2
);
12530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12531 (arg1
)->SetFlags(arg2
);
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= SWIG_Py_Void();
12542 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12543 PyObject
*resultobj
= 0;
12544 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12548 PyObject
*swig_obj
[1] ;
12550 if (!args
) SWIG_fail
;
12551 swig_obj
[0] = args
;
12552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12553 if (!SWIG_IsOK(res1
)) {
12554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12556 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12559 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12560 wxPyEndAllowThreads(__tstate
);
12561 if (PyErr_Occurred()) SWIG_fail
;
12563 resultobj
= SWIG_From_int(static_cast< int >(result
));
12570 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12571 PyObject
*resultobj
= 0;
12572 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12577 PyObject
* obj0
= 0 ;
12578 PyObject
* obj1
= 0 ;
12579 char * kwnames
[] = {
12580 (char *) "self",(char *) "rect", NULL
12583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12585 if (!SWIG_IsOK(res1
)) {
12586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12588 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12591 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12595 (arg1
)->SetRect((wxRect
const &)*arg2
);
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12599 resultobj
= SWIG_Py_Void();
12606 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12607 PyObject
*resultobj
= 0;
12608 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12612 PyObject
*swig_obj
[1] ;
12614 if (!args
) SWIG_fail
;
12615 swig_obj
[0] = args
;
12616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12617 if (!SWIG_IsOK(res1
)) {
12618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12620 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12623 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12627 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12634 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12636 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12637 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12638 return SWIG_Py_Void();
12641 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12642 return SWIG_Python_InitShadowInstance(args
);
12645 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12646 PyObject
*resultobj
= 0;
12647 wxWindow
*arg1
= (wxWindow
*) 0 ;
12648 int arg2
= (int) -1 ;
12649 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12650 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12651 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12652 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12653 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12654 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12655 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12656 wxSashLayoutWindow
*result
= 0 ;
12665 bool temp6
= false ;
12666 PyObject
* obj0
= 0 ;
12667 PyObject
* obj1
= 0 ;
12668 PyObject
* obj2
= 0 ;
12669 PyObject
* obj3
= 0 ;
12670 PyObject
* obj4
= 0 ;
12671 PyObject
* obj5
= 0 ;
12672 char * kwnames
[] = {
12673 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12678 if (!SWIG_IsOK(res1
)) {
12679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12681 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12683 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12684 if (!SWIG_IsOK(ecode2
)) {
12685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12687 arg2
= static_cast< int >(val2
);
12692 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12698 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12702 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12703 if (!SWIG_IsOK(ecode5
)) {
12704 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12706 arg5
= static_cast< long >(val5
);
12710 arg6
= wxString_in_helper(obj5
);
12711 if (arg6
== NULL
) SWIG_fail
;
12716 if (!wxPyCheckForApp()) SWIG_fail
;
12717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12718 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12737 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12738 PyObject
*resultobj
= 0;
12739 wxSashLayoutWindow
*result
= 0 ;
12741 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12743 if (!wxPyCheckForApp()) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12756 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
= 0;
12758 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12759 wxWindow
*arg2
= (wxWindow
*) 0 ;
12760 int arg3
= (int) -1 ;
12761 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12762 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12763 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12764 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12765 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12766 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12767 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12779 bool temp7
= false ;
12780 PyObject
* obj0
= 0 ;
12781 PyObject
* obj1
= 0 ;
12782 PyObject
* obj2
= 0 ;
12783 PyObject
* obj3
= 0 ;
12784 PyObject
* obj4
= 0 ;
12785 PyObject
* obj5
= 0 ;
12786 PyObject
* obj6
= 0 ;
12787 char * kwnames
[] = {
12788 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12793 if (!SWIG_IsOK(res1
)) {
12794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12796 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12797 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12798 if (!SWIG_IsOK(res2
)) {
12799 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12801 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12803 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12804 if (!SWIG_IsOK(ecode3
)) {
12805 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12807 arg3
= static_cast< int >(val3
);
12812 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12818 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12822 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12823 if (!SWIG_IsOK(ecode6
)) {
12824 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12826 arg6
= static_cast< long >(val6
);
12830 arg7
= wxString_in_helper(obj6
);
12831 if (arg7
== NULL
) SWIG_fail
;
12836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12837 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12838 wxPyEndAllowThreads(__tstate
);
12839 if (PyErr_Occurred()) SWIG_fail
;
12842 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12858 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12859 PyObject
*resultobj
= 0;
12860 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12861 wxLayoutAlignment result
;
12864 PyObject
*swig_obj
[1] ;
12866 if (!args
) SWIG_fail
;
12867 swig_obj
[0] = args
;
12868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12869 if (!SWIG_IsOK(res1
)) {
12870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12872 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12875 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 resultobj
= SWIG_From_int(static_cast< int >(result
));
12886 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12887 PyObject
*resultobj
= 0;
12888 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12889 wxLayoutOrientation result
;
12892 PyObject
*swig_obj
[1] ;
12894 if (!args
) SWIG_fail
;
12895 swig_obj
[0] = args
;
12896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12897 if (!SWIG_IsOK(res1
)) {
12898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12900 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12903 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= SWIG_From_int(static_cast< int >(result
));
12914 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
= 0;
12916 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12917 wxLayoutAlignment arg2
;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 char * kwnames
[] = {
12925 (char *) "self",(char *) "alignment", NULL
12928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12930 if (!SWIG_IsOK(res1
)) {
12931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12933 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12935 if (!SWIG_IsOK(ecode2
)) {
12936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12938 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 (arg1
)->SetAlignment(arg2
);
12942 wxPyEndAllowThreads(__tstate
);
12943 if (PyErr_Occurred()) SWIG_fail
;
12945 resultobj
= SWIG_Py_Void();
12952 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
= 0;
12954 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12959 PyObject
* obj0
= 0 ;
12960 PyObject
* obj1
= 0 ;
12961 char * kwnames
[] = {
12962 (char *) "self",(char *) "size", NULL
12965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12967 if (!SWIG_IsOK(res1
)) {
12968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12970 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12973 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12977 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12978 wxPyEndAllowThreads(__tstate
);
12979 if (PyErr_Occurred()) SWIG_fail
;
12981 resultobj
= SWIG_Py_Void();
12988 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
= 0;
12990 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12991 wxLayoutOrientation arg2
;
12996 PyObject
* obj0
= 0 ;
12997 PyObject
* obj1
= 0 ;
12998 char * kwnames
[] = {
12999 (char *) "self",(char *) "orientation", NULL
13002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
13004 if (!SWIG_IsOK(res1
)) {
13005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
13007 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
13008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13009 if (!SWIG_IsOK(ecode2
)) {
13010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
13012 arg2
= static_cast< wxLayoutOrientation
>(val2
);
13014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13015 (arg1
)->SetOrientation(arg2
);
13016 wxPyEndAllowThreads(__tstate
);
13017 if (PyErr_Occurred()) SWIG_fail
;
13019 resultobj
= SWIG_Py_Void();
13026 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13029 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
13030 return SWIG_Py_Void();
13033 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13034 return SWIG_Python_InitShadowInstance(args
);
13037 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13038 PyObject
*resultobj
= 0;
13039 wxLayoutAlgorithm
*result
= 0 ;
13041 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
13043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13044 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
13045 wxPyEndAllowThreads(__tstate
);
13046 if (PyErr_Occurred()) SWIG_fail
;
13048 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
13055 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13056 PyObject
*resultobj
= 0;
13057 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13060 PyObject
*swig_obj
[1] ;
13062 if (!args
) SWIG_fail
;
13063 swig_obj
[0] = args
;
13064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
13065 if (!SWIG_IsOK(res1
)) {
13066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13068 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 wxPyEndAllowThreads(__tstate
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 resultobj
= SWIG_Py_Void();
13083 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
= 0;
13085 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13086 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13087 wxRect
*arg3
= (wxRect
*) NULL
;
13095 PyObject
* obj0
= 0 ;
13096 PyObject
* obj1
= 0 ;
13097 PyObject
* obj2
= 0 ;
13098 char * kwnames
[] = {
13099 (char *) "self",(char *) "frame",(char *) "rect", NULL
13102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13104 if (!SWIG_IsOK(res1
)) {
13105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13107 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13108 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13109 if (!SWIG_IsOK(res2
)) {
13110 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13112 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13114 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13115 if (!SWIG_IsOK(res3
)) {
13116 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13118 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13122 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13123 wxPyEndAllowThreads(__tstate
);
13124 if (PyErr_Occurred()) SWIG_fail
;
13127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13135 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13136 PyObject
*resultobj
= 0;
13137 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13138 wxFrame
*arg2
= (wxFrame
*) 0 ;
13139 wxWindow
*arg3
= (wxWindow
*) NULL
;
13147 PyObject
* obj0
= 0 ;
13148 PyObject
* obj1
= 0 ;
13149 PyObject
* obj2
= 0 ;
13150 char * kwnames
[] = {
13151 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13156 if (!SWIG_IsOK(res1
)) {
13157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13159 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13161 if (!SWIG_IsOK(res2
)) {
13162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13164 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13166 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13167 if (!SWIG_IsOK(res3
)) {
13168 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13170 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13174 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13179 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13187 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
= 0;
13189 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13190 wxWindow
*arg2
= (wxWindow
*) 0 ;
13191 wxWindow
*arg3
= (wxWindow
*) NULL
;
13199 PyObject
* obj0
= 0 ;
13200 PyObject
* obj1
= 0 ;
13201 PyObject
* obj2
= 0 ;
13202 char * kwnames
[] = {
13203 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13208 if (!SWIG_IsOK(res1
)) {
13209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13211 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13212 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13213 if (!SWIG_IsOK(res2
)) {
13214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13216 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13218 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13219 if (!SWIG_IsOK(res3
)) {
13220 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13222 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13226 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13239 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13242 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13243 return SWIG_Py_Void();
13246 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13247 return SWIG_Python_InitShadowInstance(args
);
13250 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
= 0;
13252 wxWindow
*arg1
= (wxWindow
*) 0 ;
13253 int arg2
= (int) wxBORDER_NONE
;
13254 wxPopupWindow
*result
= 0 ;
13259 PyObject
* obj0
= 0 ;
13260 PyObject
* obj1
= 0 ;
13261 char * kwnames
[] = {
13262 (char *) "parent",(char *) "flags", NULL
13265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13267 if (!SWIG_IsOK(res1
)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13270 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13273 if (!SWIG_IsOK(ecode2
)) {
13274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13276 arg2
= static_cast< int >(val2
);
13279 if (!wxPyCheckForApp()) SWIG_fail
;
13280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13281 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13292 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13293 PyObject
*resultobj
= 0;
13294 wxPopupWindow
*result
= 0 ;
13296 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13298 if (!wxPyCheckForApp()) SWIG_fail
;
13299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 result
= (wxPopupWindow
*)new wxPopupWindow();
13301 wxPyEndAllowThreads(__tstate
);
13302 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13311 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
= 0;
13313 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13314 wxWindow
*arg2
= (wxWindow
*) 0 ;
13315 int arg3
= (int) wxBORDER_NONE
;
13323 PyObject
* obj0
= 0 ;
13324 PyObject
* obj1
= 0 ;
13325 PyObject
* obj2
= 0 ;
13326 char * kwnames
[] = {
13327 (char *) "self",(char *) "parent",(char *) "flags", NULL
13330 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13331 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13332 if (!SWIG_IsOK(res1
)) {
13333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13335 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13336 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13337 if (!SWIG_IsOK(res2
)) {
13338 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13340 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13342 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13343 if (!SWIG_IsOK(ecode3
)) {
13344 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13346 arg3
= static_cast< int >(val3
);
13349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13350 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13351 wxPyEndAllowThreads(__tstate
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13363 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
= 0;
13365 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13366 wxPoint
*arg2
= 0 ;
13372 PyObject
* obj0
= 0 ;
13373 PyObject
* obj1
= 0 ;
13374 PyObject
* obj2
= 0 ;
13375 char * kwnames
[] = {
13376 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13379 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13380 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13381 if (!SWIG_IsOK(res1
)) {
13382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13384 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13391 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13396 wxPyEndAllowThreads(__tstate
);
13397 if (PyErr_Occurred()) SWIG_fail
;
13399 resultobj
= SWIG_Py_Void();
13406 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13409 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13410 return SWIG_Py_Void();
13413 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13414 return SWIG_Python_InitShadowInstance(args
);
13417 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13418 PyObject
*resultobj
= 0;
13419 wxWindow
*arg1
= (wxWindow
*) 0 ;
13420 int arg2
= (int) wxBORDER_NONE
;
13421 wxPyPopupTransientWindow
*result
= 0 ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 char * kwnames
[] = {
13429 (char *) "parent",(char *) "style", NULL
13432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13434 if (!SWIG_IsOK(res1
)) {
13435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13437 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13440 if (!SWIG_IsOK(ecode2
)) {
13441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13443 arg2
= static_cast< int >(val2
);
13446 if (!wxPyCheckForApp()) SWIG_fail
;
13447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13448 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13459 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13460 PyObject
*resultobj
= 0;
13461 wxPyPopupTransientWindow
*result
= 0 ;
13463 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13465 if (!wxPyCheckForApp()) SWIG_fail
;
13466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13467 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13468 wxPyEndAllowThreads(__tstate
);
13469 if (PyErr_Occurred()) SWIG_fail
;
13471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13478 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13479 PyObject
*resultobj
= 0;
13480 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13481 PyObject
*arg2
= (PyObject
*) 0 ;
13482 PyObject
*arg3
= (PyObject
*) 0 ;
13485 PyObject
* obj0
= 0 ;
13486 PyObject
* obj1
= 0 ;
13487 PyObject
* obj2
= 0 ;
13488 char * kwnames
[] = {
13489 (char *) "self",(char *) "self",(char *) "_class", NULL
13492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13494 if (!SWIG_IsOK(res1
)) {
13495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13497 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13503 wxPyEndAllowThreads(__tstate
);
13504 if (PyErr_Occurred()) SWIG_fail
;
13506 resultobj
= SWIG_Py_Void();
13513 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13514 PyObject
*resultobj
= 0;
13515 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13516 wxWindow
*arg2
= (wxWindow
*) NULL
;
13521 PyObject
* obj0
= 0 ;
13522 PyObject
* obj1
= 0 ;
13523 char * kwnames
[] = {
13524 (char *) "self",(char *) "focus", NULL
13527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13529 if (!SWIG_IsOK(res1
)) {
13530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13532 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13535 if (!SWIG_IsOK(res2
)) {
13536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13538 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13542 (arg1
)->Popup(arg2
);
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 resultobj
= SWIG_Py_Void();
13553 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13554 PyObject
*resultobj
= 0;
13555 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13558 PyObject
*swig_obj
[1] ;
13560 if (!args
) SWIG_fail
;
13561 swig_obj
[0] = args
;
13562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13563 if (!SWIG_IsOK(res1
)) {
13564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13566 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= SWIG_Py_Void();
13580 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13582 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13583 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13584 return SWIG_Py_Void();
13587 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13588 return SWIG_Python_InitShadowInstance(args
);
13591 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13592 PyObject
*resultobj
= 0;
13593 wxWindow
*arg1
= (wxWindow
*) 0 ;
13594 wxString
*arg2
= 0 ;
13595 int arg3
= (int) 100 ;
13596 wxRect
*arg4
= (wxRect
*) NULL
;
13597 wxTipWindow
*result
= 0 ;
13600 bool temp2
= false ;
13605 PyObject
* obj0
= 0 ;
13606 PyObject
* obj1
= 0 ;
13607 PyObject
* obj2
= 0 ;
13608 PyObject
* obj3
= 0 ;
13609 char * kwnames
[] = {
13610 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13615 if (!SWIG_IsOK(res1
)) {
13616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13618 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13620 arg2
= wxString_in_helper(obj1
);
13621 if (arg2
== NULL
) SWIG_fail
;
13625 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13626 if (!SWIG_IsOK(ecode3
)) {
13627 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13629 arg3
= static_cast< int >(val3
);
13632 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13633 if (!SWIG_IsOK(res4
)) {
13634 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13636 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13639 if (!wxPyCheckForApp()) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13642 wxPyEndAllowThreads(__tstate
);
13643 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13660 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13661 PyObject
*resultobj
= 0;
13662 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13667 PyObject
* obj0
= 0 ;
13668 PyObject
* obj1
= 0 ;
13669 char * kwnames
[] = {
13670 (char *) "self",(char *) "rectBound", NULL
13673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13675 if (!SWIG_IsOK(res1
)) {
13676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13678 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13681 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13685 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13686 wxPyEndAllowThreads(__tstate
);
13687 if (PyErr_Occurred()) SWIG_fail
;
13689 resultobj
= SWIG_Py_Void();
13696 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13697 PyObject
*resultobj
= 0;
13698 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13701 PyObject
*swig_obj
[1] ;
13703 if (!args
) SWIG_fail
;
13704 swig_obj
[0] = args
;
13705 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13706 if (!SWIG_IsOK(res1
)) {
13707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13709 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13713 wxPyEndAllowThreads(__tstate
);
13714 if (PyErr_Occurred()) SWIG_fail
;
13716 resultobj
= SWIG_Py_Void();
13723 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13725 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13726 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13727 return SWIG_Py_Void();
13730 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13731 return SWIG_Python_InitShadowInstance(args
);
13734 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
= 0;
13736 wxWindow
*arg1
= (wxWindow
*) 0 ;
13737 int arg2
= (int) wxID_ANY
;
13738 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13739 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13740 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13741 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13742 long arg5
= (long) 0 ;
13743 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13744 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13745 wxPyVScrolledWindow
*result
= 0 ;
13754 bool temp6
= false ;
13755 PyObject
* obj0
= 0 ;
13756 PyObject
* obj1
= 0 ;
13757 PyObject
* obj2
= 0 ;
13758 PyObject
* obj3
= 0 ;
13759 PyObject
* obj4
= 0 ;
13760 PyObject
* obj5
= 0 ;
13761 char * kwnames
[] = {
13762 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13767 if (!SWIG_IsOK(res1
)) {
13768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13770 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13772 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13773 if (!SWIG_IsOK(ecode2
)) {
13774 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13776 arg2
= static_cast< int >(val2
);
13781 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13787 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13791 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13792 if (!SWIG_IsOK(ecode5
)) {
13793 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13795 arg5
= static_cast< long >(val5
);
13799 arg6
= wxString_in_helper(obj5
);
13800 if (arg6
== NULL
) SWIG_fail
;
13805 if (!wxPyCheckForApp()) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13826 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13827 PyObject
*resultobj
= 0;
13828 wxPyVScrolledWindow
*result
= 0 ;
13830 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13832 if (!wxPyCheckForApp()) SWIG_fail
;
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13845 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
= 0;
13847 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13848 PyObject
*arg2
= (PyObject
*) 0 ;
13849 PyObject
*arg3
= (PyObject
*) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 PyObject
* obj1
= 0 ;
13854 PyObject
* obj2
= 0 ;
13855 char * kwnames
[] = {
13856 (char *) "self",(char *) "self",(char *) "_class", NULL
13859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13861 if (!SWIG_IsOK(res1
)) {
13862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13864 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13869 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13870 wxPyEndAllowThreads(__tstate
);
13871 if (PyErr_Occurred()) SWIG_fail
;
13873 resultobj
= SWIG_Py_Void();
13880 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13881 PyObject
*resultobj
= 0;
13882 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13883 wxWindow
*arg2
= (wxWindow
*) 0 ;
13884 int arg3
= (int) wxID_ANY
;
13885 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13886 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13887 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13888 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13889 long arg6
= (long) 0 ;
13890 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13891 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13903 bool temp7
= false ;
13904 PyObject
* obj0
= 0 ;
13905 PyObject
* obj1
= 0 ;
13906 PyObject
* obj2
= 0 ;
13907 PyObject
* obj3
= 0 ;
13908 PyObject
* obj4
= 0 ;
13909 PyObject
* obj5
= 0 ;
13910 PyObject
* obj6
= 0 ;
13911 char * kwnames
[] = {
13912 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13917 if (!SWIG_IsOK(res1
)) {
13918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13920 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13922 if (!SWIG_IsOK(res2
)) {
13923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13925 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13927 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13928 if (!SWIG_IsOK(ecode3
)) {
13929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13931 arg3
= static_cast< int >(val3
);
13936 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13942 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13946 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13947 if (!SWIG_IsOK(ecode6
)) {
13948 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13950 arg6
= static_cast< long >(val6
);
13954 arg7
= wxString_in_helper(obj6
);
13955 if (arg7
== NULL
) SWIG_fail
;
13960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13961 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13962 wxPyEndAllowThreads(__tstate
);
13963 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13982 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13983 PyObject
*resultobj
= 0;
13984 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13990 PyObject
* obj0
= 0 ;
13991 PyObject
* obj1
= 0 ;
13992 char * kwnames
[] = {
13993 (char *) "self",(char *) "count", NULL
13996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13998 if (!SWIG_IsOK(res1
)) {
13999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14001 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14002 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14003 if (!SWIG_IsOK(ecode2
)) {
14004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
14006 arg2
= static_cast< size_t >(val2
);
14008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14009 (arg1
)->SetLineCount(arg2
);
14010 wxPyEndAllowThreads(__tstate
);
14011 if (PyErr_Occurred()) SWIG_fail
;
14013 resultobj
= SWIG_Py_Void();
14020 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14021 PyObject
*resultobj
= 0;
14022 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14029 PyObject
* obj0
= 0 ;
14030 PyObject
* obj1
= 0 ;
14031 char * kwnames
[] = {
14032 (char *) "self",(char *) "line", NULL
14035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14037 if (!SWIG_IsOK(res1
)) {
14038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14040 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14041 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14042 if (!SWIG_IsOK(ecode2
)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
14045 arg2
= static_cast< size_t >(val2
);
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (bool)(arg1
)->ScrollToLine(arg2
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14061 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14062 PyObject
*resultobj
= 0;
14063 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14069 PyObject
* obj0
= 0 ;
14070 PyObject
* obj1
= 0 ;
14071 char * kwnames
[] = {
14072 (char *) "self",(char *) "line", NULL
14075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14077 if (!SWIG_IsOK(res1
)) {
14078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14080 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14081 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14082 if (!SWIG_IsOK(ecode2
)) {
14083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
14085 arg2
= static_cast< size_t >(val2
);
14087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14088 (arg1
)->RefreshLine(arg2
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 resultobj
= SWIG_Py_Void();
14099 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14100 PyObject
*resultobj
= 0;
14101 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14110 PyObject
* obj0
= 0 ;
14111 PyObject
* obj1
= 0 ;
14112 PyObject
* obj2
= 0 ;
14113 char * kwnames
[] = {
14114 (char *) "self",(char *) "from",(char *) "to", NULL
14117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14119 if (!SWIG_IsOK(res1
)) {
14120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14122 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14123 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14124 if (!SWIG_IsOK(ecode2
)) {
14125 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
14127 arg2
= static_cast< size_t >(val2
);
14128 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14129 if (!SWIG_IsOK(ecode3
)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
14132 arg3
= static_cast< size_t >(val3
);
14134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14135 (arg1
)->RefreshLines(arg2
,arg3
);
14136 wxPyEndAllowThreads(__tstate
);
14137 if (PyErr_Occurred()) SWIG_fail
;
14139 resultobj
= SWIG_Py_Void();
14146 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
= 0;
14148 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14158 PyObject
* obj0
= 0 ;
14159 PyObject
* obj1
= 0 ;
14160 PyObject
* obj2
= 0 ;
14161 char * kwnames
[] = {
14162 (char *) "self",(char *) "x",(char *) "y", NULL
14165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14167 if (!SWIG_IsOK(res1
)) {
14168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14170 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14172 if (!SWIG_IsOK(ecode2
)) {
14173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
14175 arg2
= static_cast< int >(val2
);
14176 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14177 if (!SWIG_IsOK(ecode3
)) {
14178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
14180 arg3
= static_cast< int >(val3
);
14182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14183 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
14184 wxPyEndAllowThreads(__tstate
);
14185 if (PyErr_Occurred()) SWIG_fail
;
14187 resultobj
= SWIG_From_int(static_cast< int >(result
));
14194 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14195 PyObject
*resultobj
= 0;
14196 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14197 wxPoint
*arg2
= 0 ;
14202 PyObject
* obj0
= 0 ;
14203 PyObject
* obj1
= 0 ;
14204 char * kwnames
[] = {
14205 (char *) "self",(char *) "pt", NULL
14208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14210 if (!SWIG_IsOK(res1
)) {
14211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14213 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14216 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14220 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
14221 wxPyEndAllowThreads(__tstate
);
14222 if (PyErr_Occurred()) SWIG_fail
;
14224 resultobj
= SWIG_From_int(static_cast< int >(result
));
14231 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14232 PyObject
*resultobj
= 0;
14233 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14236 PyObject
*swig_obj
[1] ;
14238 if (!args
) SWIG_fail
;
14239 swig_obj
[0] = args
;
14240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14241 if (!SWIG_IsOK(res1
)) {
14242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14244 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14247 (arg1
)->RefreshAll();
14248 wxPyEndAllowThreads(__tstate
);
14249 if (PyErr_Occurred()) SWIG_fail
;
14251 resultobj
= SWIG_Py_Void();
14258 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14259 PyObject
*resultobj
= 0;
14260 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14264 PyObject
*swig_obj
[1] ;
14266 if (!args
) SWIG_fail
;
14267 swig_obj
[0] = args
;
14268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14269 if (!SWIG_IsOK(res1
)) {
14270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14272 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14275 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14276 wxPyEndAllowThreads(__tstate
);
14277 if (PyErr_Occurred()) SWIG_fail
;
14279 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14286 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14287 PyObject
*resultobj
= 0;
14288 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14292 PyObject
*swig_obj
[1] ;
14294 if (!args
) SWIG_fail
;
14295 swig_obj
[0] = args
;
14296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14297 if (!SWIG_IsOK(res1
)) {
14298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14300 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14303 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14304 wxPyEndAllowThreads(__tstate
);
14305 if (PyErr_Occurred()) SWIG_fail
;
14307 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14314 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14315 PyObject
*resultobj
= 0;
14316 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14320 PyObject
*swig_obj
[1] ;
14322 if (!args
) SWIG_fail
;
14323 swig_obj
[0] = args
;
14324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14325 if (!SWIG_IsOK(res1
)) {
14326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14328 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14331 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14335 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14342 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14343 PyObject
*resultobj
= 0;
14344 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 PyObject
* obj1
= 0 ;
14353 char * kwnames
[] = {
14354 (char *) "self",(char *) "line", NULL
14357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14359 if (!SWIG_IsOK(res1
)) {
14360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14362 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14363 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14364 if (!SWIG_IsOK(ecode2
)) {
14365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14367 arg2
= static_cast< size_t >(val2
);
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14383 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14384 PyObject
*resultobj
= 0;
14385 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14389 PyObject
*swig_obj
[1] ;
14391 if (!args
) SWIG_fail
;
14392 swig_obj
[0] = args
;
14393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14394 if (!SWIG_IsOK(res1
)) {
14395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14397 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14400 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14401 wxPyEndAllowThreads(__tstate
);
14402 if (PyErr_Occurred()) SWIG_fail
;
14404 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14411 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14412 PyObject
*resultobj
= 0;
14413 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14417 PyObject
*swig_obj
[1] ;
14419 if (!args
) SWIG_fail
;
14420 swig_obj
[0] = args
;
14421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14422 if (!SWIG_IsOK(res1
)) {
14423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14425 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14428 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14429 wxPyEndAllowThreads(__tstate
);
14430 if (PyErr_Occurred()) SWIG_fail
;
14432 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14439 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
= 0;
14441 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14443 bool arg3
= (bool) false ;
14451 PyObject
* obj0
= 0 ;
14452 PyObject
* obj1
= 0 ;
14453 PyObject
* obj2
= 0 ;
14454 char * kwnames
[] = {
14455 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14460 if (!SWIG_IsOK(res1
)) {
14461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14463 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14464 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14465 if (!SWIG_IsOK(ecode2
)) {
14466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14468 arg2
= static_cast< size_t >(val2
);
14470 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14471 if (!SWIG_IsOK(ecode3
)) {
14472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14474 arg3
= static_cast< bool >(val3
);
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14489 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
= 0;
14491 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14501 PyObject
* obj0
= 0 ;
14502 PyObject
* obj1
= 0 ;
14503 PyObject
* obj2
= 0 ;
14504 char * kwnames
[] = {
14505 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14510 if (!SWIG_IsOK(res1
)) {
14511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14513 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14514 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14515 if (!SWIG_IsOK(ecode2
)) {
14516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14518 arg2
= static_cast< size_t >(val2
);
14519 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14520 if (!SWIG_IsOK(ecode3
)) {
14521 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14523 arg3
= static_cast< size_t >(val3
);
14525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14526 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14527 wxPyEndAllowThreads(__tstate
);
14528 if (PyErr_Occurred()) SWIG_fail
;
14530 resultobj
= SWIG_From_int(static_cast< int >(result
));
14537 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14539 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14540 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14541 return SWIG_Py_Void();
14544 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14545 return SWIG_Python_InitShadowInstance(args
);
14548 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14549 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14554 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14555 PyObject
*pyobj
= 0;
14559 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14561 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14568 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14569 PyObject
*resultobj
= 0;
14570 wxWindow
*arg1
= (wxWindow
*) 0 ;
14571 int arg2
= (int) wxID_ANY
;
14572 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14573 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14574 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14575 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14576 long arg5
= (long) 0 ;
14577 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14578 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14579 wxPyVListBox
*result
= 0 ;
14588 bool temp6
= false ;
14589 PyObject
* obj0
= 0 ;
14590 PyObject
* obj1
= 0 ;
14591 PyObject
* obj2
= 0 ;
14592 PyObject
* obj3
= 0 ;
14593 PyObject
* obj4
= 0 ;
14594 PyObject
* obj5
= 0 ;
14595 char * kwnames
[] = {
14596 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14601 if (!SWIG_IsOK(res1
)) {
14602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14604 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14606 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14607 if (!SWIG_IsOK(ecode2
)) {
14608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14610 arg2
= static_cast< int >(val2
);
14615 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14621 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14625 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14626 if (!SWIG_IsOK(ecode5
)) {
14627 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14629 arg5
= static_cast< long >(val5
);
14633 arg6
= wxString_in_helper(obj5
);
14634 if (arg6
== NULL
) SWIG_fail
;
14639 if (!wxPyCheckForApp()) SWIG_fail
;
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14642 wxPyEndAllowThreads(__tstate
);
14643 if (PyErr_Occurred()) SWIG_fail
;
14645 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14660 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14661 PyObject
*resultobj
= 0;
14662 wxPyVListBox
*result
= 0 ;
14664 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14666 if (!wxPyCheckForApp()) SWIG_fail
;
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 result
= (wxPyVListBox
*)new wxPyVListBox();
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14679 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
= 0;
14681 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14682 PyObject
*arg2
= (PyObject
*) 0 ;
14683 PyObject
*arg3
= (PyObject
*) 0 ;
14686 PyObject
* obj0
= 0 ;
14687 PyObject
* obj1
= 0 ;
14688 PyObject
* obj2
= 0 ;
14689 char * kwnames
[] = {
14690 (char *) "self",(char *) "self",(char *) "_class", NULL
14693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14695 if (!SWIG_IsOK(res1
)) {
14696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14698 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14703 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14704 wxPyEndAllowThreads(__tstate
);
14705 if (PyErr_Occurred()) SWIG_fail
;
14707 resultobj
= SWIG_Py_Void();
14714 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14715 PyObject
*resultobj
= 0;
14716 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14717 wxWindow
*arg2
= (wxWindow
*) 0 ;
14718 int arg3
= (int) wxID_ANY
;
14719 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14720 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14721 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14722 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14723 long arg6
= (long) 0 ;
14724 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14725 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14737 bool temp7
= false ;
14738 PyObject
* obj0
= 0 ;
14739 PyObject
* obj1
= 0 ;
14740 PyObject
* obj2
= 0 ;
14741 PyObject
* obj3
= 0 ;
14742 PyObject
* obj4
= 0 ;
14743 PyObject
* obj5
= 0 ;
14744 PyObject
* obj6
= 0 ;
14745 char * kwnames
[] = {
14746 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14751 if (!SWIG_IsOK(res1
)) {
14752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14754 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14755 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14756 if (!SWIG_IsOK(res2
)) {
14757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14759 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14762 if (!SWIG_IsOK(ecode3
)) {
14763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14765 arg3
= static_cast< int >(val3
);
14770 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14776 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14780 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14781 if (!SWIG_IsOK(ecode6
)) {
14782 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14784 arg6
= static_cast< long >(val6
);
14788 arg7
= wxString_in_helper(obj6
);
14789 if (arg7
== NULL
) SWIG_fail
;
14794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14795 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14816 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14817 PyObject
*resultobj
= 0;
14818 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14822 PyObject
*swig_obj
[1] ;
14824 if (!args
) SWIG_fail
;
14825 swig_obj
[0] = args
;
14826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14827 if (!SWIG_IsOK(res1
)) {
14828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14830 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14833 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14834 wxPyEndAllowThreads(__tstate
);
14835 if (PyErr_Occurred()) SWIG_fail
;
14837 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14844 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14845 PyObject
*resultobj
= 0;
14846 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14850 PyObject
*swig_obj
[1] ;
14852 if (!args
) SWIG_fail
;
14853 swig_obj
[0] = args
;
14854 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14855 if (!SWIG_IsOK(res1
)) {
14856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14858 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14861 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14862 wxPyEndAllowThreads(__tstate
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14874 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14875 PyObject
*resultobj
= 0;
14876 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14880 PyObject
*swig_obj
[1] ;
14882 if (!args
) SWIG_fail
;
14883 swig_obj
[0] = args
;
14884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14885 if (!SWIG_IsOK(res1
)) {
14886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14888 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14891 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14892 wxPyEndAllowThreads(__tstate
);
14893 if (PyErr_Occurred()) SWIG_fail
;
14895 resultobj
= SWIG_From_int(static_cast< int >(result
));
14902 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14903 PyObject
*resultobj
= 0;
14904 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14911 PyObject
* obj0
= 0 ;
14912 PyObject
* obj1
= 0 ;
14913 char * kwnames
[] = {
14914 (char *) "self",(char *) "item", NULL
14917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14919 if (!SWIG_IsOK(res1
)) {
14920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14922 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14923 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14924 if (!SWIG_IsOK(ecode2
)) {
14925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14927 arg2
= static_cast< size_t >(val2
);
14929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14930 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14931 wxPyEndAllowThreads(__tstate
);
14932 if (PyErr_Occurred()) SWIG_fail
;
14935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14943 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
= 0;
14945 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14952 PyObject
* obj0
= 0 ;
14953 PyObject
* obj1
= 0 ;
14954 char * kwnames
[] = {
14955 (char *) "self",(char *) "item", NULL
14958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14960 if (!SWIG_IsOK(res1
)) {
14961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14963 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14964 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14965 if (!SWIG_IsOK(ecode2
)) {
14966 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14968 arg2
= static_cast< size_t >(val2
);
14970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14971 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14972 wxPyEndAllowThreads(__tstate
);
14973 if (PyErr_Occurred()) SWIG_fail
;
14976 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14984 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14985 PyObject
*resultobj
= 0;
14986 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14990 PyObject
*swig_obj
[1] ;
14992 if (!args
) SWIG_fail
;
14993 swig_obj
[0] = args
;
14994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14995 if (!SWIG_IsOK(res1
)) {
14996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14998 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15001 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15005 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
15012 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15013 PyObject
*resultobj
= 0;
15014 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15015 PyObject
*result
= 0 ;
15018 PyObject
*swig_obj
[1] ;
15020 if (!args
) SWIG_fail
;
15021 swig_obj
[0] = args
;
15022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15023 if (!SWIG_IsOK(res1
)) {
15024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15026 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15029 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
15030 wxPyEndAllowThreads(__tstate
);
15031 if (PyErr_Occurred()) SWIG_fail
;
15033 resultobj
= result
;
15040 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15041 PyObject
*resultobj
= 0;
15042 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15043 unsigned long arg2
;
15044 PyObject
*result
= 0 ;
15047 unsigned long val2
;
15049 PyObject
* obj0
= 0 ;
15050 PyObject
* obj1
= 0 ;
15051 char * kwnames
[] = {
15052 (char *) "self",(char *) "cookie", NULL
15055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15057 if (!SWIG_IsOK(res1
)) {
15058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15060 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15061 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
15062 if (!SWIG_IsOK(ecode2
)) {
15063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
15065 arg2
= static_cast< unsigned long >(val2
);
15067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15068 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
15069 wxPyEndAllowThreads(__tstate
);
15070 if (PyErr_Occurred()) SWIG_fail
;
15072 resultobj
= result
;
15079 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15080 PyObject
*resultobj
= 0;
15081 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15085 PyObject
*swig_obj
[1] ;
15087 if (!args
) SWIG_fail
;
15088 swig_obj
[0] = args
;
15089 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15090 if (!SWIG_IsOK(res1
)) {
15091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15093 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
15097 wxPyEndAllowThreads(__tstate
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
15107 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15108 PyObject
*resultobj
= 0;
15109 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15110 wxColour
*result
= 0 ;
15113 PyObject
*swig_obj
[1] ;
15115 if (!args
) SWIG_fail
;
15116 swig_obj
[0] = args
;
15117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15118 if (!SWIG_IsOK(res1
)) {
15119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15121 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
15126 result
= (wxColour
*) &_result_ref
;
15128 wxPyEndAllowThreads(__tstate
);
15129 if (PyErr_Occurred()) SWIG_fail
;
15131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
15138 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15139 PyObject
*resultobj
= 0;
15140 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 PyObject
* obj1
= 0 ;
15148 char * kwnames
[] = {
15149 (char *) "self",(char *) "count", NULL
15152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15154 if (!SWIG_IsOK(res1
)) {
15155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15157 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15158 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15159 if (!SWIG_IsOK(ecode2
)) {
15160 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15162 arg2
= static_cast< size_t >(val2
);
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 (arg1
)->SetItemCount(arg2
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_Py_Void();
15176 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15177 PyObject
*resultobj
= 0;
15178 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15181 PyObject
*swig_obj
[1] ;
15183 if (!args
) SWIG_fail
;
15184 swig_obj
[0] = args
;
15185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15186 if (!SWIG_IsOK(res1
)) {
15187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15189 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= SWIG_Py_Void();
15203 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
= 0;
15205 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15211 PyObject
* obj0
= 0 ;
15212 PyObject
* obj1
= 0 ;
15213 char * kwnames
[] = {
15214 (char *) "self",(char *) "selection", NULL
15217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15219 if (!SWIG_IsOK(res1
)) {
15220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15222 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15223 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15224 if (!SWIG_IsOK(ecode2
)) {
15225 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
15227 arg2
= static_cast< int >(val2
);
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15230 (arg1
)->SetSelection(arg2
);
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 resultobj
= SWIG_Py_Void();
15241 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
= 0;
15243 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15245 bool arg3
= (bool) true ;
15253 PyObject
* obj0
= 0 ;
15254 PyObject
* obj1
= 0 ;
15255 PyObject
* obj2
= 0 ;
15256 char * kwnames
[] = {
15257 (char *) "self",(char *) "item",(char *) "select", NULL
15260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15262 if (!SWIG_IsOK(res1
)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15265 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15266 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15267 if (!SWIG_IsOK(ecode2
)) {
15268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15270 arg2
= static_cast< size_t >(val2
);
15272 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15273 if (!SWIG_IsOK(ecode3
)) {
15274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15276 arg3
= static_cast< bool >(val3
);
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15280 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15293 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
= 0;
15295 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 PyObject
* obj2
= 0 ;
15308 char * kwnames
[] = {
15309 (char *) "self",(char *) "from",(char *) "to", NULL
15312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15314 if (!SWIG_IsOK(res1
)) {
15315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15317 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15318 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15319 if (!SWIG_IsOK(ecode2
)) {
15320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15322 arg2
= static_cast< size_t >(val2
);
15323 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15324 if (!SWIG_IsOK(ecode3
)) {
15325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15327 arg3
= static_cast< size_t >(val3
);
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15343 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15344 PyObject
*resultobj
= 0;
15345 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15351 PyObject
* obj0
= 0 ;
15352 PyObject
* obj1
= 0 ;
15353 char * kwnames
[] = {
15354 (char *) "self",(char *) "item", NULL
15357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15359 if (!SWIG_IsOK(res1
)) {
15360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15362 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15363 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15364 if (!SWIG_IsOK(ecode2
)) {
15365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15367 arg2
= static_cast< size_t >(val2
);
15369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15370 (arg1
)->Toggle(arg2
);
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= SWIG_Py_Void();
15381 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15382 PyObject
*resultobj
= 0;
15383 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15387 PyObject
*swig_obj
[1] ;
15389 if (!args
) SWIG_fail
;
15390 swig_obj
[0] = args
;
15391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15392 if (!SWIG_IsOK(res1
)) {
15393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15395 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15398 result
= (bool)(arg1
)->SelectAll();
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15411 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15412 PyObject
*resultobj
= 0;
15413 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15417 PyObject
*swig_obj
[1] ;
15419 if (!args
) SWIG_fail
;
15420 swig_obj
[0] = args
;
15421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15422 if (!SWIG_IsOK(res1
)) {
15423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15425 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 result
= (bool)(arg1
)->DeselectAll();
15429 wxPyEndAllowThreads(__tstate
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15441 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15442 PyObject
*resultobj
= 0;
15443 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15444 wxPoint
*arg2
= 0 ;
15448 PyObject
* obj0
= 0 ;
15449 PyObject
* obj1
= 0 ;
15450 char * kwnames
[] = {
15451 (char *) "self",(char *) "pt", NULL
15454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15455 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15456 if (!SWIG_IsOK(res1
)) {
15457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15459 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15466 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 resultobj
= SWIG_Py_Void();
15477 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
= 0;
15479 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15488 PyObject
* obj0
= 0 ;
15489 PyObject
* obj1
= 0 ;
15490 PyObject
* obj2
= 0 ;
15491 char * kwnames
[] = {
15492 (char *) "self",(char *) "x",(char *) "y", NULL
15495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15497 if (!SWIG_IsOK(res1
)) {
15498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15500 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15502 if (!SWIG_IsOK(ecode2
)) {
15503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15505 arg2
= static_cast< int >(val2
);
15506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15507 if (!SWIG_IsOK(ecode3
)) {
15508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15510 arg3
= static_cast< int >(val3
);
15512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15513 (arg1
)->SetMargins(arg2
,arg3
);
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= SWIG_Py_Void();
15524 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
= 0;
15526 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15527 wxColour
*arg2
= 0 ;
15531 PyObject
* obj0
= 0 ;
15532 PyObject
* obj1
= 0 ;
15533 char * kwnames
[] = {
15534 (char *) "self",(char *) "col", NULL
15537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15539 if (!SWIG_IsOK(res1
)) {
15540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15542 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15545 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15550 wxPyEndAllowThreads(__tstate
);
15551 if (PyErr_Occurred()) SWIG_fail
;
15553 resultobj
= SWIG_Py_Void();
15560 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15561 PyObject
*resultobj
= 0;
15562 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15573 PyObject
* obj0
= 0 ;
15574 PyObject
* obj1
= 0 ;
15575 PyObject
* obj2
= 0 ;
15576 PyObject
* obj3
= 0 ;
15577 char * kwnames
[] = {
15578 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15583 if (!SWIG_IsOK(res1
)) {
15584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15586 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15587 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15588 if (!SWIG_IsOK(res2
)) {
15589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15592 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15594 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15597 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15599 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15600 if (!SWIG_IsOK(ecode4
)) {
15601 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15603 arg4
= static_cast< size_t >(val4
);
15605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15606 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15610 resultobj
= SWIG_Py_Void();
15617 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15618 PyObject
*resultobj
= 0;
15619 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15630 PyObject
* obj0
= 0 ;
15631 PyObject
* obj1
= 0 ;
15632 PyObject
* obj2
= 0 ;
15633 PyObject
* obj3
= 0 ;
15634 char * kwnames
[] = {
15635 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15640 if (!SWIG_IsOK(res1
)) {
15641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15643 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15644 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15645 if (!SWIG_IsOK(res2
)) {
15646 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15649 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15651 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15654 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15656 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15657 if (!SWIG_IsOK(ecode4
)) {
15658 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15660 arg4
= static_cast< size_t >(val4
);
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15664 wxPyEndAllowThreads(__tstate
);
15665 if (PyErr_Occurred()) SWIG_fail
;
15667 resultobj
= SWIG_Py_Void();
15674 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15676 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15677 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15678 return SWIG_Py_Void();
15681 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15682 return SWIG_Python_InitShadowInstance(args
);
15685 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15686 PyObject
*resultobj
= 0;
15687 wxWindow
*arg1
= (wxWindow
*) 0 ;
15688 int arg2
= (int) wxID_ANY
;
15689 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15690 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15691 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15692 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15693 long arg5
= (long) 0 ;
15694 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15695 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15696 wxPyHtmlListBox
*result
= 0 ;
15705 bool temp6
= false ;
15706 PyObject
* obj0
= 0 ;
15707 PyObject
* obj1
= 0 ;
15708 PyObject
* obj2
= 0 ;
15709 PyObject
* obj3
= 0 ;
15710 PyObject
* obj4
= 0 ;
15711 PyObject
* obj5
= 0 ;
15712 char * kwnames
[] = {
15713 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15718 if (!SWIG_IsOK(res1
)) {
15719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15721 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15723 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15724 if (!SWIG_IsOK(ecode2
)) {
15725 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15727 arg2
= static_cast< int >(val2
);
15732 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15738 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15742 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15743 if (!SWIG_IsOK(ecode5
)) {
15744 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15746 arg5
= static_cast< long >(val5
);
15750 arg6
= wxString_in_helper(obj5
);
15751 if (arg6
== NULL
) SWIG_fail
;
15756 if (!wxPyCheckForApp()) SWIG_fail
;
15757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15758 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15759 wxPyEndAllowThreads(__tstate
);
15760 if (PyErr_Occurred()) SWIG_fail
;
15762 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15777 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15778 PyObject
*resultobj
= 0;
15779 wxPyHtmlListBox
*result
= 0 ;
15781 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15783 if (!wxPyCheckForApp()) SWIG_fail
;
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15796 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15797 PyObject
*resultobj
= 0;
15798 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15799 PyObject
*arg2
= (PyObject
*) 0 ;
15800 PyObject
*arg3
= (PyObject
*) 0 ;
15803 PyObject
* obj0
= 0 ;
15804 PyObject
* obj1
= 0 ;
15805 PyObject
* obj2
= 0 ;
15806 char * kwnames
[] = {
15807 (char *) "self",(char *) "self",(char *) "_class", NULL
15810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15812 if (!SWIG_IsOK(res1
)) {
15813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15815 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15820 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15821 wxPyEndAllowThreads(__tstate
);
15822 if (PyErr_Occurred()) SWIG_fail
;
15824 resultobj
= SWIG_Py_Void();
15831 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15832 PyObject
*resultobj
= 0;
15833 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15834 wxWindow
*arg2
= (wxWindow
*) 0 ;
15835 int arg3
= (int) wxID_ANY
;
15836 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15837 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15838 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15839 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15840 long arg6
= (long) 0 ;
15841 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15842 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15854 bool temp7
= false ;
15855 PyObject
* obj0
= 0 ;
15856 PyObject
* obj1
= 0 ;
15857 PyObject
* obj2
= 0 ;
15858 PyObject
* obj3
= 0 ;
15859 PyObject
* obj4
= 0 ;
15860 PyObject
* obj5
= 0 ;
15861 PyObject
* obj6
= 0 ;
15862 char * kwnames
[] = {
15863 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15868 if (!SWIG_IsOK(res1
)) {
15869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15871 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15872 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15873 if (!SWIG_IsOK(res2
)) {
15874 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15876 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15878 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15879 if (!SWIG_IsOK(ecode3
)) {
15880 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15882 arg3
= static_cast< int >(val3
);
15887 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15893 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15897 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15898 if (!SWIG_IsOK(ecode6
)) {
15899 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15901 arg6
= static_cast< long >(val6
);
15905 arg7
= wxString_in_helper(obj6
);
15906 if (arg7
== NULL
) SWIG_fail
;
15911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15912 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15913 wxPyEndAllowThreads(__tstate
);
15914 if (PyErr_Occurred()) SWIG_fail
;
15917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15933 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15934 PyObject
*resultobj
= 0;
15935 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15941 PyObject
* obj0
= 0 ;
15942 PyObject
* obj1
= 0 ;
15943 char * kwnames
[] = {
15944 (char *) "self",(char *) "count", NULL
15947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15949 if (!SWIG_IsOK(res1
)) {
15950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15952 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15953 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15954 if (!SWIG_IsOK(ecode2
)) {
15955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15957 arg2
= static_cast< size_t >(val2
);
15959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15960 (arg1
)->SetItemCount(arg2
);
15961 wxPyEndAllowThreads(__tstate
);
15962 if (PyErr_Occurred()) SWIG_fail
;
15964 resultobj
= SWIG_Py_Void();
15971 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15972 PyObject
*resultobj
= 0;
15973 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15974 wxFileSystem
*result
= 0 ;
15977 PyObject
*swig_obj
[1] ;
15979 if (!args
) SWIG_fail
;
15980 swig_obj
[0] = args
;
15981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15982 if (!SWIG_IsOK(res1
)) {
15983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15985 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15990 result
= (wxFileSystem
*) &_result_ref
;
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
16002 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
= 0;
16004 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
16006 wxHtmlLinkInfo
*arg3
= 0 ;
16013 PyObject
* obj0
= 0 ;
16014 PyObject
* obj1
= 0 ;
16015 PyObject
* obj2
= 0 ;
16016 char * kwnames
[] = {
16017 (char *) "self",(char *) "n",(char *) "link", NULL
16020 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16021 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
16022 if (!SWIG_IsOK(res1
)) {
16023 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
16025 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
16026 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
16027 if (!SWIG_IsOK(ecode2
)) {
16028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
16030 arg2
= static_cast< size_t >(val2
);
16031 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
16032 if (!SWIG_IsOK(res3
)) {
16033 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
16036 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
16038 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
16040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16041 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
16042 wxPyEndAllowThreads(__tstate
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16045 resultobj
= SWIG_Py_Void();
16052 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16054 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16055 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
16056 return SWIG_Py_Void();
16059 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16060 return SWIG_Python_InitShadowInstance(args
);
16063 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16064 PyObject
*resultobj
= 0;
16065 wxPyTaskBarIcon
*result
= 0 ;
16067 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16069 if (!wxPyCheckForApp()) SWIG_fail
;
16070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16071 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16082 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16083 PyObject
*resultobj
= 0;
16084 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16087 PyObject
*swig_obj
[1] ;
16089 if (!args
) SWIG_fail
;
16090 swig_obj
[0] = args
;
16091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16092 if (!SWIG_IsOK(res1
)) {
16093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16095 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16100 wxPyEndAllowThreads(__tstate
);
16101 if (PyErr_Occurred()) SWIG_fail
;
16103 resultobj
= SWIG_Py_Void();
16110 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16111 PyObject
*resultobj
= 0;
16112 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16113 PyObject
*arg2
= (PyObject
*) 0 ;
16114 PyObject
*arg3
= (PyObject
*) 0 ;
16120 PyObject
* obj0
= 0 ;
16121 PyObject
* obj1
= 0 ;
16122 PyObject
* obj2
= 0 ;
16123 PyObject
* obj3
= 0 ;
16124 char * kwnames
[] = {
16125 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16130 if (!SWIG_IsOK(res1
)) {
16131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16133 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16136 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16137 if (!SWIG_IsOK(ecode4
)) {
16138 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16140 arg4
= static_cast< int >(val4
);
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16144 wxPyEndAllowThreads(__tstate
);
16145 if (PyErr_Occurred()) SWIG_fail
;
16147 resultobj
= SWIG_Py_Void();
16154 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16155 PyObject
*resultobj
= 0;
16156 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16159 PyObject
*swig_obj
[1] ;
16161 if (!args
) SWIG_fail
;
16162 swig_obj
[0] = args
;
16163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16164 if (!SWIG_IsOK(res1
)) {
16165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16167 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 wxPyTaskBarIcon_Destroy(arg1
);
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16174 resultobj
= SWIG_Py_Void();
16181 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16182 PyObject
*resultobj
= 0;
16183 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16187 PyObject
*swig_obj
[1] ;
16189 if (!args
) SWIG_fail
;
16190 swig_obj
[0] = args
;
16191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16192 if (!SWIG_IsOK(res1
)) {
16193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16195 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16198 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16199 wxPyEndAllowThreads(__tstate
);
16200 if (PyErr_Occurred()) SWIG_fail
;
16203 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16211 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16212 PyObject
*resultobj
= 0;
16213 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16217 PyObject
*swig_obj
[1] ;
16219 if (!args
) SWIG_fail
;
16220 swig_obj
[0] = args
;
16221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16222 if (!SWIG_IsOK(res1
)) {
16223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16225 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16228 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16229 wxPyEndAllowThreads(__tstate
);
16230 if (PyErr_Occurred()) SWIG_fail
;
16233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16241 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
= 0;
16243 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16245 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16246 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16252 bool temp3
= false ;
16253 PyObject
* obj0
= 0 ;
16254 PyObject
* obj1
= 0 ;
16255 PyObject
* obj2
= 0 ;
16256 char * kwnames
[] = {
16257 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16262 if (!SWIG_IsOK(res1
)) {
16263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16265 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16266 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16267 if (!SWIG_IsOK(res2
)) {
16268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16273 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16276 arg3
= wxString_in_helper(obj2
);
16277 if (arg3
== NULL
) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16304 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16305 PyObject
*resultobj
= 0;
16306 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16310 PyObject
*swig_obj
[1] ;
16312 if (!args
) SWIG_fail
;
16313 swig_obj
[0] = args
;
16314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16315 if (!SWIG_IsOK(res1
)) {
16316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16318 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16321 result
= (bool)(arg1
)->RemoveIcon();
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16334 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16335 PyObject
*resultobj
= 0;
16336 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16337 wxMenu
*arg2
= (wxMenu
*) 0 ;
16343 PyObject
* obj0
= 0 ;
16344 PyObject
* obj1
= 0 ;
16345 char * kwnames
[] = {
16346 (char *) "self",(char *) "menu", NULL
16349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16351 if (!SWIG_IsOK(res1
)) {
16352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16354 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16355 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16356 if (!SWIG_IsOK(res2
)) {
16357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16359 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 result
= (bool)(arg1
)->PopupMenu(arg2
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16375 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16378 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16379 return SWIG_Py_Void();
16382 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16383 return SWIG_Python_InitShadowInstance(args
);
16386 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16387 PyObject
*resultobj
= 0;
16389 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16390 wxTaskBarIconEvent
*result
= 0 ;
16395 PyObject
* obj0
= 0 ;
16396 PyObject
* obj1
= 0 ;
16397 char * kwnames
[] = {
16398 (char *) "evtType",(char *) "tbIcon", NULL
16401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16402 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16403 if (!SWIG_IsOK(ecode1
)) {
16404 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16406 arg1
= static_cast< wxEventType
>(val1
);
16407 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16408 if (!SWIG_IsOK(res2
)) {
16409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16411 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16418 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16425 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16428 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16429 return SWIG_Py_Void();
16432 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16433 return SWIG_Python_InitShadowInstance(args
);
16436 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16437 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16442 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16443 PyObject
*pyobj
= 0;
16447 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16449 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16456 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16457 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16462 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16463 PyObject
*pyobj
= 0;
16467 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16469 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16476 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16477 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16482 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16483 PyObject
*pyobj
= 0;
16487 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16489 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16496 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16497 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16502 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16503 PyObject
*pyobj
= 0;
16507 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16509 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16516 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16517 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16522 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16523 PyObject
*pyobj
= 0;
16527 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16529 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16536 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16537 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16542 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16543 PyObject
*pyobj
= 0;
16547 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16549 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16556 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16557 PyObject
*resultobj
= 0;
16558 wxColourData
*result
= 0 ;
16560 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16563 result
= (wxColourData
*)new wxColourData();
16564 wxPyEndAllowThreads(__tstate
);
16565 if (PyErr_Occurred()) SWIG_fail
;
16567 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16574 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16575 PyObject
*resultobj
= 0;
16576 wxColourData
*arg1
= (wxColourData
*) 0 ;
16579 PyObject
*swig_obj
[1] ;
16581 if (!args
) SWIG_fail
;
16582 swig_obj
[0] = args
;
16583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16584 if (!SWIG_IsOK(res1
)) {
16585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16587 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16592 wxPyEndAllowThreads(__tstate
);
16593 if (PyErr_Occurred()) SWIG_fail
;
16595 resultobj
= SWIG_Py_Void();
16602 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16603 PyObject
*resultobj
= 0;
16604 wxColourData
*arg1
= (wxColourData
*) 0 ;
16608 PyObject
*swig_obj
[1] ;
16610 if (!args
) SWIG_fail
;
16611 swig_obj
[0] = args
;
16612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16613 if (!SWIG_IsOK(res1
)) {
16614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16616 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 result
= (bool)(arg1
)->GetChooseFull();
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16632 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16633 PyObject
*resultobj
= 0;
16634 wxColourData
*arg1
= (wxColourData
*) 0 ;
16638 PyObject
*swig_obj
[1] ;
16640 if (!args
) SWIG_fail
;
16641 swig_obj
[0] = args
;
16642 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16643 if (!SWIG_IsOK(res1
)) {
16644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16646 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16649 result
= (arg1
)->GetColour();
16650 wxPyEndAllowThreads(__tstate
);
16651 if (PyErr_Occurred()) SWIG_fail
;
16653 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16660 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16661 PyObject
*resultobj
= 0;
16662 wxColourData
*arg1
= (wxColourData
*) 0 ;
16669 PyObject
* obj0
= 0 ;
16670 PyObject
* obj1
= 0 ;
16671 char * kwnames
[] = {
16672 (char *) "self",(char *) "i", NULL
16675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16677 if (!SWIG_IsOK(res1
)) {
16678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16680 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16682 if (!SWIG_IsOK(ecode2
)) {
16683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16685 arg2
= static_cast< int >(val2
);
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 result
= (arg1
)->GetCustomColour(arg2
);
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16692 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16699 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16700 PyObject
*resultobj
= 0;
16701 wxColourData
*arg1
= (wxColourData
*) 0 ;
16707 PyObject
* obj0
= 0 ;
16708 PyObject
* obj1
= 0 ;
16709 char * kwnames
[] = {
16710 (char *) "self",(char *) "flag", NULL
16713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16715 if (!SWIG_IsOK(res1
)) {
16716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16718 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16720 if (!SWIG_IsOK(ecode2
)) {
16721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16723 arg2
= static_cast< int >(val2
);
16725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16726 (arg1
)->SetChooseFull(arg2
);
16727 wxPyEndAllowThreads(__tstate
);
16728 if (PyErr_Occurred()) SWIG_fail
;
16730 resultobj
= SWIG_Py_Void();
16737 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16738 PyObject
*resultobj
= 0;
16739 wxColourData
*arg1
= (wxColourData
*) 0 ;
16740 wxColour
*arg2
= 0 ;
16744 PyObject
* obj0
= 0 ;
16745 PyObject
* obj1
= 0 ;
16746 char * kwnames
[] = {
16747 (char *) "self",(char *) "colour", NULL
16750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16752 if (!SWIG_IsOK(res1
)) {
16753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16755 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16758 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16762 (arg1
)->SetColour((wxColour
const &)*arg2
);
16763 wxPyEndAllowThreads(__tstate
);
16764 if (PyErr_Occurred()) SWIG_fail
;
16766 resultobj
= SWIG_Py_Void();
16773 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16774 PyObject
*resultobj
= 0;
16775 wxColourData
*arg1
= (wxColourData
*) 0 ;
16777 wxColour
*arg3
= 0 ;
16783 PyObject
* obj0
= 0 ;
16784 PyObject
* obj1
= 0 ;
16785 PyObject
* obj2
= 0 ;
16786 char * kwnames
[] = {
16787 (char *) "self",(char *) "i",(char *) "colour", NULL
16790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16792 if (!SWIG_IsOK(res1
)) {
16793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16795 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16796 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16797 if (!SWIG_IsOK(ecode2
)) {
16798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16800 arg2
= static_cast< int >(val2
);
16803 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= SWIG_Py_Void();
16818 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16820 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16821 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16822 return SWIG_Py_Void();
16825 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16826 return SWIG_Python_InitShadowInstance(args
);
16829 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
= 0;
16831 wxWindow
*arg1
= (wxWindow
*) 0 ;
16832 wxColourData
*arg2
= (wxColourData
*) NULL
;
16833 wxColourDialog
*result
= 0 ;
16838 PyObject
* obj0
= 0 ;
16839 PyObject
* obj1
= 0 ;
16840 char * kwnames
[] = {
16841 (char *) "parent",(char *) "data", NULL
16844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16846 if (!SWIG_IsOK(res1
)) {
16847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16849 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16851 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16852 if (!SWIG_IsOK(res2
)) {
16853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16855 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16858 if (!wxPyCheckForApp()) SWIG_fail
;
16859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16860 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16861 wxPyEndAllowThreads(__tstate
);
16862 if (PyErr_Occurred()) SWIG_fail
;
16864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16871 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16872 PyObject
*resultobj
= 0;
16873 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16874 wxColourData
*result
= 0 ;
16877 PyObject
*swig_obj
[1] ;
16879 if (!args
) SWIG_fail
;
16880 swig_obj
[0] = args
;
16881 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16882 if (!SWIG_IsOK(res1
)) {
16883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16885 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16889 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16890 result
= (wxColourData
*) &_result_ref
;
16892 wxPyEndAllowThreads(__tstate
);
16893 if (PyErr_Occurred()) SWIG_fail
;
16895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16902 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16904 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16905 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16906 return SWIG_Py_Void();
16909 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16910 return SWIG_Python_InitShadowInstance(args
);
16913 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16914 PyObject
*resultobj
= 0;
16915 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16916 wxColour
const &arg2_defvalue
= wxNullColour
;
16917 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16918 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16919 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16924 bool temp3
= false ;
16925 PyObject
* obj0
= 0 ;
16926 PyObject
* obj1
= 0 ;
16927 PyObject
* obj2
= 0 ;
16928 char * kwnames
[] = {
16929 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16935 if (!SWIG_IsOK(res1
)) {
16936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16938 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16943 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16948 arg3
= wxString_in_helper(obj2
);
16949 if (arg3
== NULL
) SWIG_fail
;
16954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16955 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16956 wxPyEndAllowThreads(__tstate
);
16957 if (PyErr_Occurred()) SWIG_fail
;
16959 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16974 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16975 PyObject
*resultobj
= 0;
16976 wxWindow
*arg1
= (wxWindow
*) 0 ;
16977 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16978 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16979 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16980 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16981 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16982 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16983 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16984 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16985 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16986 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16987 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16988 wxDirDialog
*result
= 0 ;
16991 bool temp2
= false ;
16992 bool temp3
= false ;
16997 bool temp7
= false ;
16998 PyObject
* obj0
= 0 ;
16999 PyObject
* obj1
= 0 ;
17000 PyObject
* obj2
= 0 ;
17001 PyObject
* obj3
= 0 ;
17002 PyObject
* obj4
= 0 ;
17003 PyObject
* obj5
= 0 ;
17004 PyObject
* obj6
= 0 ;
17005 char * kwnames
[] = {
17006 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17011 if (!SWIG_IsOK(res1
)) {
17012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17014 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17017 arg2
= wxString_in_helper(obj1
);
17018 if (arg2
== NULL
) SWIG_fail
;
17024 arg3
= wxString_in_helper(obj2
);
17025 if (arg3
== NULL
) SWIG_fail
;
17030 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17031 if (!SWIG_IsOK(ecode4
)) {
17032 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17034 arg4
= static_cast< long >(val4
);
17039 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17045 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17050 arg7
= wxString_in_helper(obj6
);
17051 if (arg7
== NULL
) SWIG_fail
;
17056 if (!wxPyCheckForApp()) SWIG_fail
;
17057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17058 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17093 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17094 PyObject
*resultobj
= 0;
17095 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17099 PyObject
*swig_obj
[1] ;
17101 if (!args
) SWIG_fail
;
17102 swig_obj
[0] = args
;
17103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17104 if (!SWIG_IsOK(res1
)) {
17105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17107 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17110 result
= (arg1
)->GetPath();
17111 wxPyEndAllowThreads(__tstate
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17127 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17128 PyObject
*resultobj
= 0;
17129 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17133 PyObject
*swig_obj
[1] ;
17135 if (!args
) SWIG_fail
;
17136 swig_obj
[0] = args
;
17137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17138 if (!SWIG_IsOK(res1
)) {
17139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17141 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 result
= (arg1
)->GetMessage();
17145 wxPyEndAllowThreads(__tstate
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17152 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17161 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
= 0;
17163 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17164 wxString
*arg2
= 0 ;
17167 bool temp2
= false ;
17168 PyObject
* obj0
= 0 ;
17169 PyObject
* obj1
= 0 ;
17170 char * kwnames
[] = {
17171 (char *) "self",(char *) "message", NULL
17174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17176 if (!SWIG_IsOK(res1
)) {
17177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17179 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17181 arg2
= wxString_in_helper(obj1
);
17182 if (arg2
== NULL
) SWIG_fail
;
17186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17187 (arg1
)->SetMessage((wxString
const &)*arg2
);
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17191 resultobj
= SWIG_Py_Void();
17206 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17207 PyObject
*resultobj
= 0;
17208 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17209 wxString
*arg2
= 0 ;
17212 bool temp2
= false ;
17213 PyObject
* obj0
= 0 ;
17214 PyObject
* obj1
= 0 ;
17215 char * kwnames
[] = {
17216 (char *) "self",(char *) "path", NULL
17219 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17220 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17221 if (!SWIG_IsOK(res1
)) {
17222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17224 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17226 arg2
= wxString_in_helper(obj1
);
17227 if (arg2
== NULL
) SWIG_fail
;
17231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17232 (arg1
)->SetPath((wxString
const &)*arg2
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= SWIG_Py_Void();
17251 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17253 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17254 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17255 return SWIG_Py_Void();
17258 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17259 return SWIG_Python_InitShadowInstance(args
);
17262 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17263 PyObject
*resultobj
= 0;
17264 wxWindow
*arg1
= (wxWindow
*) 0 ;
17265 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17266 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17267 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17268 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17269 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17270 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17271 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17272 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17273 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17274 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17275 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17276 wxFileDialog
*result
= 0 ;
17279 bool temp2
= false ;
17280 bool temp3
= false ;
17281 bool temp4
= false ;
17282 bool temp5
= false ;
17286 PyObject
* obj0
= 0 ;
17287 PyObject
* obj1
= 0 ;
17288 PyObject
* obj2
= 0 ;
17289 PyObject
* obj3
= 0 ;
17290 PyObject
* obj4
= 0 ;
17291 PyObject
* obj5
= 0 ;
17292 PyObject
* obj6
= 0 ;
17293 char * kwnames
[] = {
17294 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17299 if (!SWIG_IsOK(res1
)) {
17300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17302 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17305 arg2
= wxString_in_helper(obj1
);
17306 if (arg2
== NULL
) SWIG_fail
;
17312 arg3
= wxString_in_helper(obj2
);
17313 if (arg3
== NULL
) SWIG_fail
;
17319 arg4
= wxString_in_helper(obj3
);
17320 if (arg4
== NULL
) SWIG_fail
;
17326 arg5
= wxString_in_helper(obj4
);
17327 if (arg5
== NULL
) SWIG_fail
;
17332 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17333 if (!SWIG_IsOK(ecode6
)) {
17334 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17336 arg6
= static_cast< long >(val6
);
17341 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17345 if (!wxPyCheckForApp()) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17348 wxPyEndAllowThreads(__tstate
);
17349 if (PyErr_Occurred()) SWIG_fail
;
17351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17390 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17391 PyObject
*resultobj
= 0;
17392 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17393 wxString
*arg2
= 0 ;
17396 bool temp2
= false ;
17397 PyObject
* obj0
= 0 ;
17398 PyObject
* obj1
= 0 ;
17399 char * kwnames
[] = {
17400 (char *) "self",(char *) "message", NULL
17403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17405 if (!SWIG_IsOK(res1
)) {
17406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17408 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17410 arg2
= wxString_in_helper(obj1
);
17411 if (arg2
== NULL
) SWIG_fail
;
17415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17416 (arg1
)->SetMessage((wxString
const &)*arg2
);
17417 wxPyEndAllowThreads(__tstate
);
17418 if (PyErr_Occurred()) SWIG_fail
;
17420 resultobj
= SWIG_Py_Void();
17435 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
= 0;
17437 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17438 wxString
*arg2
= 0 ;
17441 bool temp2
= false ;
17442 PyObject
* obj0
= 0 ;
17443 PyObject
* obj1
= 0 ;
17444 char * kwnames
[] = {
17445 (char *) "self",(char *) "path", NULL
17448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17450 if (!SWIG_IsOK(res1
)) {
17451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17453 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17455 arg2
= wxString_in_helper(obj1
);
17456 if (arg2
== NULL
) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 (arg1
)->SetPath((wxString
const &)*arg2
);
17462 wxPyEndAllowThreads(__tstate
);
17463 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= SWIG_Py_Void();
17480 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
= 0;
17482 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17483 wxString
*arg2
= 0 ;
17486 bool temp2
= false ;
17487 PyObject
* obj0
= 0 ;
17488 PyObject
* obj1
= 0 ;
17489 char * kwnames
[] = {
17490 (char *) "self",(char *) "dir", NULL
17493 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17495 if (!SWIG_IsOK(res1
)) {
17496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17498 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17500 arg2
= wxString_in_helper(obj1
);
17501 if (arg2
== NULL
) SWIG_fail
;
17505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17506 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17507 wxPyEndAllowThreads(__tstate
);
17508 if (PyErr_Occurred()) SWIG_fail
;
17510 resultobj
= SWIG_Py_Void();
17525 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17526 PyObject
*resultobj
= 0;
17527 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17528 wxString
*arg2
= 0 ;
17531 bool temp2
= false ;
17532 PyObject
* obj0
= 0 ;
17533 PyObject
* obj1
= 0 ;
17534 char * kwnames
[] = {
17535 (char *) "self",(char *) "name", NULL
17538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17540 if (!SWIG_IsOK(res1
)) {
17541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17543 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17545 arg2
= wxString_in_helper(obj1
);
17546 if (arg2
== NULL
) SWIG_fail
;
17550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17551 (arg1
)->SetFilename((wxString
const &)*arg2
);
17552 wxPyEndAllowThreads(__tstate
);
17553 if (PyErr_Occurred()) SWIG_fail
;
17555 resultobj
= SWIG_Py_Void();
17570 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
= 0;
17572 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17573 wxString
*arg2
= 0 ;
17576 bool temp2
= false ;
17577 PyObject
* obj0
= 0 ;
17578 PyObject
* obj1
= 0 ;
17579 char * kwnames
[] = {
17580 (char *) "self",(char *) "wildCard", NULL
17583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17585 if (!SWIG_IsOK(res1
)) {
17586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17588 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17590 arg2
= wxString_in_helper(obj1
);
17591 if (arg2
== NULL
) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 resultobj
= SWIG_Py_Void();
17615 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17616 PyObject
*resultobj
= 0;
17617 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17623 PyObject
* obj0
= 0 ;
17624 PyObject
* obj1
= 0 ;
17625 char * kwnames
[] = {
17626 (char *) "self",(char *) "filterIndex", NULL
17629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17631 if (!SWIG_IsOK(res1
)) {
17632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17634 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17636 if (!SWIG_IsOK(ecode2
)) {
17637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17639 arg2
= static_cast< int >(val2
);
17641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17642 (arg1
)->SetFilterIndex(arg2
);
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17646 resultobj
= SWIG_Py_Void();
17653 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17654 PyObject
*resultobj
= 0;
17655 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17659 PyObject
*swig_obj
[1] ;
17661 if (!args
) SWIG_fail
;
17662 swig_obj
[0] = args
;
17663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17664 if (!SWIG_IsOK(res1
)) {
17665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17667 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17676 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17678 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17687 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17688 PyObject
*resultobj
= 0;
17689 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17693 PyObject
*swig_obj
[1] ;
17695 if (!args
) SWIG_fail
;
17696 swig_obj
[0] = args
;
17697 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17698 if (!SWIG_IsOK(res1
)) {
17699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17701 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17704 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17705 wxPyEndAllowThreads(__tstate
);
17706 if (PyErr_Occurred()) SWIG_fail
;
17710 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17712 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17721 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17722 PyObject
*resultobj
= 0;
17723 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17727 PyObject
*swig_obj
[1] ;
17729 if (!args
) SWIG_fail
;
17730 swig_obj
[0] = args
;
17731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17732 if (!SWIG_IsOK(res1
)) {
17733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17735 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17738 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17739 wxPyEndAllowThreads(__tstate
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17755 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17756 PyObject
*resultobj
= 0;
17757 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17761 PyObject
*swig_obj
[1] ;
17763 if (!args
) SWIG_fail
;
17764 swig_obj
[0] = args
;
17765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17766 if (!SWIG_IsOK(res1
)) {
17767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17769 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17772 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17789 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17790 PyObject
*resultobj
= 0;
17791 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17795 PyObject
*swig_obj
[1] ;
17797 if (!args
) SWIG_fail
;
17798 swig_obj
[0] = args
;
17799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17800 if (!SWIG_IsOK(res1
)) {
17801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17803 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17806 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17807 wxPyEndAllowThreads(__tstate
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17823 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17824 PyObject
*resultobj
= 0;
17825 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17829 PyObject
*swig_obj
[1] ;
17831 if (!args
) SWIG_fail
;
17832 swig_obj
[0] = args
;
17833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17834 if (!SWIG_IsOK(res1
)) {
17835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17837 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17840 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17841 wxPyEndAllowThreads(__tstate
);
17842 if (PyErr_Occurred()) SWIG_fail
;
17844 resultobj
= SWIG_From_int(static_cast< int >(result
));
17851 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17852 PyObject
*resultobj
= 0;
17853 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17854 PyObject
*result
= 0 ;
17857 PyObject
*swig_obj
[1] ;
17859 if (!args
) SWIG_fail
;
17860 swig_obj
[0] = args
;
17861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17862 if (!SWIG_IsOK(res1
)) {
17863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17865 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17868 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17869 wxPyEndAllowThreads(__tstate
);
17870 if (PyErr_Occurred()) SWIG_fail
;
17872 resultobj
= result
;
17879 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17880 PyObject
*resultobj
= 0;
17881 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17882 PyObject
*result
= 0 ;
17885 PyObject
*swig_obj
[1] ;
17887 if (!args
) SWIG_fail
;
17888 swig_obj
[0] = args
;
17889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17890 if (!SWIG_IsOK(res1
)) {
17891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17893 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17896 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17897 wxPyEndAllowThreads(__tstate
);
17898 if (PyErr_Occurred()) SWIG_fail
;
17900 resultobj
= result
;
17907 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17909 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17910 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17911 return SWIG_Py_Void();
17914 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17915 return SWIG_Python_InitShadowInstance(args
);
17918 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17919 PyObject
*resultobj
= 0;
17920 wxWindow
*arg1
= (wxWindow
*) 0 ;
17921 wxString
*arg2
= 0 ;
17922 wxString
*arg3
= 0 ;
17923 int arg4
= (int) 0 ;
17924 wxString
*arg5
= (wxString
*) NULL
;
17925 long arg6
= (long) wxCHOICEDLG_STYLE
;
17926 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17927 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17928 wxMultiChoiceDialog
*result
= 0 ;
17931 bool temp2
= false ;
17932 bool temp3
= false ;
17936 PyObject
* obj0
= 0 ;
17937 PyObject
* obj1
= 0 ;
17938 PyObject
* obj2
= 0 ;
17939 PyObject
* obj3
= 0 ;
17940 PyObject
* obj4
= 0 ;
17941 PyObject
* obj5
= 0 ;
17942 char * kwnames
[] = {
17943 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17948 if (!SWIG_IsOK(res1
)) {
17949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17951 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17953 arg2
= wxString_in_helper(obj1
);
17954 if (arg2
== NULL
) SWIG_fail
;
17958 arg3
= wxString_in_helper(obj2
);
17959 if (arg3
== NULL
) SWIG_fail
;
17964 arg4
= PyList_Size(obj3
);
17965 arg5
= wxString_LIST_helper(obj3
);
17966 if (arg5
== NULL
) SWIG_fail
;
17970 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17971 if (!SWIG_IsOK(ecode6
)) {
17972 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17974 arg6
= static_cast< long >(val6
);
17979 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17983 if (!wxPyCheckForApp()) SWIG_fail
;
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17986 wxPyEndAllowThreads(__tstate
);
17987 if (PyErr_Occurred()) SWIG_fail
;
17989 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17999 if (arg5
) delete [] arg5
;
18012 if (arg5
) delete [] arg5
;
18018 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18019 PyObject
*resultobj
= 0;
18020 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18021 wxArrayInt
*arg2
= 0 ;
18024 bool temp2
= false ;
18025 PyObject
* obj0
= 0 ;
18026 PyObject
* obj1
= 0 ;
18027 char * kwnames
[] = {
18028 (char *) "self",(char *) "selections", NULL
18031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18033 if (!SWIG_IsOK(res1
)) {
18034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18036 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18038 if (! PySequence_Check(obj1
)) {
18039 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18042 arg2
= new wxArrayInt
;
18044 int i
, len
=PySequence_Length(obj1
);
18045 for (i
=0; i
<len
; i
++) {
18046 PyObject
* item
= PySequence_GetItem(obj1
, i
);
18047 PyObject
* number
= PyNumber_Int(item
);
18048 arg2
->Add(PyInt_AS_LONG(number
));
18054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18055 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 resultobj
= SWIG_Py_Void();
18061 if (temp2
) delete arg2
;
18066 if (temp2
) delete arg2
;
18072 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18073 PyObject
*resultobj
= 0;
18074 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18075 PyObject
*result
= 0 ;
18078 PyObject
*swig_obj
[1] ;
18080 if (!args
) SWIG_fail
;
18081 swig_obj
[0] = args
;
18082 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18083 if (!SWIG_IsOK(res1
)) {
18084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18086 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18090 wxPyEndAllowThreads(__tstate
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18093 resultobj
= result
;
18100 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18102 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18103 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18104 return SWIG_Py_Void();
18107 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18108 return SWIG_Python_InitShadowInstance(args
);
18111 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18112 PyObject
*resultobj
= 0;
18113 wxWindow
*arg1
= (wxWindow
*) 0 ;
18114 wxString
*arg2
= 0 ;
18115 wxString
*arg3
= 0 ;
18117 wxString
*arg5
= (wxString
*) 0 ;
18118 long arg6
= (long) wxCHOICEDLG_STYLE
;
18119 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18120 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18121 wxSingleChoiceDialog
*result
= 0 ;
18124 bool temp2
= false ;
18125 bool temp3
= false ;
18129 PyObject
* obj0
= 0 ;
18130 PyObject
* obj1
= 0 ;
18131 PyObject
* obj2
= 0 ;
18132 PyObject
* obj3
= 0 ;
18133 PyObject
* obj4
= 0 ;
18134 PyObject
* obj5
= 0 ;
18135 char * kwnames
[] = {
18136 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18141 if (!SWIG_IsOK(res1
)) {
18142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18144 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18146 arg2
= wxString_in_helper(obj1
);
18147 if (arg2
== NULL
) SWIG_fail
;
18151 arg3
= wxString_in_helper(obj2
);
18152 if (arg3
== NULL
) SWIG_fail
;
18156 arg4
= PyList_Size(obj3
);
18157 arg5
= wxString_LIST_helper(obj3
);
18158 if (arg5
== NULL
) SWIG_fail
;
18161 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18162 if (!SWIG_IsOK(ecode6
)) {
18163 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18165 arg6
= static_cast< long >(val6
);
18170 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18174 if (!wxPyCheckForApp()) SWIG_fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18190 if (arg5
) delete [] arg5
;
18203 if (arg5
) delete [] arg5
;
18209 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18210 PyObject
*resultobj
= 0;
18211 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18215 PyObject
*swig_obj
[1] ;
18217 if (!args
) SWIG_fail
;
18218 swig_obj
[0] = args
;
18219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18220 if (!SWIG_IsOK(res1
)) {
18221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18223 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 result
= (int)(arg1
)->GetSelection();
18227 wxPyEndAllowThreads(__tstate
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 resultobj
= SWIG_From_int(static_cast< int >(result
));
18237 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18238 PyObject
*resultobj
= 0;
18239 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18243 PyObject
*swig_obj
[1] ;
18245 if (!args
) SWIG_fail
;
18246 swig_obj
[0] = args
;
18247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18248 if (!SWIG_IsOK(res1
)) {
18249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18251 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (arg1
)->GetStringSelection();
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18262 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18271 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18272 PyObject
*resultobj
= 0;
18273 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18279 PyObject
* obj0
= 0 ;
18280 PyObject
* obj1
= 0 ;
18281 char * kwnames
[] = {
18282 (char *) "self",(char *) "sel", NULL
18285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18287 if (!SWIG_IsOK(res1
)) {
18288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18290 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18292 if (!SWIG_IsOK(ecode2
)) {
18293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18295 arg2
= static_cast< int >(val2
);
18297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18298 (arg1
)->SetSelection(arg2
);
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 resultobj
= SWIG_Py_Void();
18309 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18312 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18313 return SWIG_Py_Void();
18316 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18317 return SWIG_Python_InitShadowInstance(args
);
18320 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18321 PyObject
*resultobj
= 0;
18322 wxWindow
*arg1
= (wxWindow
*) 0 ;
18323 wxString
*arg2
= 0 ;
18324 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18325 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18326 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18327 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18328 long arg5
= (long) wxTextEntryDialogStyle
;
18329 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18330 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18331 wxTextEntryDialog
*result
= 0 ;
18334 bool temp2
= false ;
18335 bool temp3
= false ;
18336 bool temp4
= false ;
18340 PyObject
* obj0
= 0 ;
18341 PyObject
* obj1
= 0 ;
18342 PyObject
* obj2
= 0 ;
18343 PyObject
* obj3
= 0 ;
18344 PyObject
* obj4
= 0 ;
18345 PyObject
* obj5
= 0 ;
18346 char * kwnames
[] = {
18347 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18352 if (!SWIG_IsOK(res1
)) {
18353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18355 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18357 arg2
= wxString_in_helper(obj1
);
18358 if (arg2
== NULL
) SWIG_fail
;
18363 arg3
= wxString_in_helper(obj2
);
18364 if (arg3
== NULL
) SWIG_fail
;
18370 arg4
= wxString_in_helper(obj3
);
18371 if (arg4
== NULL
) SWIG_fail
;
18376 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18377 if (!SWIG_IsOK(ecode5
)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18380 arg5
= static_cast< long >(val5
);
18385 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18389 if (!wxPyCheckForApp()) SWIG_fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18392 wxPyEndAllowThreads(__tstate
);
18393 if (PyErr_Occurred()) SWIG_fail
;
18395 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18426 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18427 PyObject
*resultobj
= 0;
18428 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18432 PyObject
*swig_obj
[1] ;
18434 if (!args
) SWIG_fail
;
18435 swig_obj
[0] = args
;
18436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18437 if (!SWIG_IsOK(res1
)) {
18438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18440 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18443 result
= (arg1
)->GetValue();
18444 wxPyEndAllowThreads(__tstate
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18449 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18451 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18460 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18461 PyObject
*resultobj
= 0;
18462 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18463 wxString
*arg2
= 0 ;
18466 bool temp2
= false ;
18467 PyObject
* obj0
= 0 ;
18468 PyObject
* obj1
= 0 ;
18469 char * kwnames
[] = {
18470 (char *) "self",(char *) "value", NULL
18473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18475 if (!SWIG_IsOK(res1
)) {
18476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18478 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18480 arg2
= wxString_in_helper(obj1
);
18481 if (arg2
== NULL
) SWIG_fail
;
18485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18486 (arg1
)->SetValue((wxString
const &)*arg2
);
18487 wxPyEndAllowThreads(__tstate
);
18488 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= SWIG_Py_Void();
18505 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18507 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18508 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18509 return SWIG_Py_Void();
18512 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18513 return SWIG_Python_InitShadowInstance(args
);
18516 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18517 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18522 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18523 PyObject
*pyobj
= 0;
18527 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18529 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18536 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
= 0;
18538 wxWindow
*arg1
= (wxWindow
*) 0 ;
18539 wxString
*arg2
= 0 ;
18540 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18541 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18542 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18543 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18544 long arg5
= (long) wxTextEntryDialogStyle
;
18545 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18546 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18547 wxPasswordEntryDialog
*result
= 0 ;
18550 bool temp2
= false ;
18551 bool temp3
= false ;
18552 bool temp4
= false ;
18556 PyObject
* obj0
= 0 ;
18557 PyObject
* obj1
= 0 ;
18558 PyObject
* obj2
= 0 ;
18559 PyObject
* obj3
= 0 ;
18560 PyObject
* obj4
= 0 ;
18561 PyObject
* obj5
= 0 ;
18562 char * kwnames
[] = {
18563 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18568 if (!SWIG_IsOK(res1
)) {
18569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18571 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18573 arg2
= wxString_in_helper(obj1
);
18574 if (arg2
== NULL
) SWIG_fail
;
18579 arg3
= wxString_in_helper(obj2
);
18580 if (arg3
== NULL
) SWIG_fail
;
18586 arg4
= wxString_in_helper(obj3
);
18587 if (arg4
== NULL
) SWIG_fail
;
18592 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18593 if (!SWIG_IsOK(ecode5
)) {
18594 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18596 arg5
= static_cast< long >(val5
);
18601 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18641 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18643 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18644 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18645 return SWIG_Py_Void();
18648 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18649 return SWIG_Python_InitShadowInstance(args
);
18652 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18653 PyObject
*resultobj
= 0;
18654 wxWindow
*arg1
= (wxWindow
*) 0 ;
18655 wxString
*arg2
= 0 ;
18656 wxString
*arg3
= 0 ;
18657 wxString
*arg4
= 0 ;
18661 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18662 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18663 wxNumberEntryDialog
*result
= 0 ;
18666 bool temp2
= false ;
18667 bool temp3
= false ;
18668 bool temp4
= false ;
18676 PyObject
* obj0
= 0 ;
18677 PyObject
* obj1
= 0 ;
18678 PyObject
* obj2
= 0 ;
18679 PyObject
* obj3
= 0 ;
18680 PyObject
* obj4
= 0 ;
18681 PyObject
* obj5
= 0 ;
18682 PyObject
* obj6
= 0 ;
18683 PyObject
* obj7
= 0 ;
18684 char * kwnames
[] = {
18685 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18690 if (!SWIG_IsOK(res1
)) {
18691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18693 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18695 arg2
= wxString_in_helper(obj1
);
18696 if (arg2
== NULL
) SWIG_fail
;
18700 arg3
= wxString_in_helper(obj2
);
18701 if (arg3
== NULL
) SWIG_fail
;
18705 arg4
= wxString_in_helper(obj3
);
18706 if (arg4
== NULL
) SWIG_fail
;
18709 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18710 if (!SWIG_IsOK(ecode5
)) {
18711 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18713 arg5
= static_cast< long >(val5
);
18714 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18715 if (!SWIG_IsOK(ecode6
)) {
18716 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18718 arg6
= static_cast< long >(val6
);
18719 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18720 if (!SWIG_IsOK(ecode7
)) {
18721 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18723 arg7
= static_cast< long >(val7
);
18727 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18731 if (!wxPyCheckForApp()) SWIG_fail
;
18732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18733 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18734 wxPyEndAllowThreads(__tstate
);
18735 if (PyErr_Occurred()) SWIG_fail
;
18737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18768 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18769 PyObject
*resultobj
= 0;
18770 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18774 PyObject
*swig_obj
[1] ;
18776 if (!args
) SWIG_fail
;
18777 swig_obj
[0] = args
;
18778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18779 if (!SWIG_IsOK(res1
)) {
18780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18782 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 result
= (long)(arg1
)->GetValue();
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= SWIG_From_long(static_cast< long >(result
));
18796 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18799 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18800 return SWIG_Py_Void();
18803 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18804 return SWIG_Python_InitShadowInstance(args
);
18807 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18808 PyObject
*resultobj
= 0;
18809 wxFontData
*result
= 0 ;
18811 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18814 result
= (wxFontData
*)new wxFontData();
18815 wxPyEndAllowThreads(__tstate
);
18816 if (PyErr_Occurred()) SWIG_fail
;
18818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18825 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18826 PyObject
*resultobj
= 0;
18827 wxFontData
*arg1
= (wxFontData
*) 0 ;
18830 PyObject
*swig_obj
[1] ;
18832 if (!args
) SWIG_fail
;
18833 swig_obj
[0] = args
;
18834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18835 if (!SWIG_IsOK(res1
)) {
18836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18838 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18843 wxPyEndAllowThreads(__tstate
);
18844 if (PyErr_Occurred()) SWIG_fail
;
18846 resultobj
= SWIG_Py_Void();
18853 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18854 PyObject
*resultobj
= 0;
18855 wxFontData
*arg1
= (wxFontData
*) 0 ;
18861 PyObject
* obj0
= 0 ;
18862 PyObject
* obj1
= 0 ;
18863 char * kwnames
[] = {
18864 (char *) "self",(char *) "enable", NULL
18867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18869 if (!SWIG_IsOK(res1
)) {
18870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18872 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18873 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18874 if (!SWIG_IsOK(ecode2
)) {
18875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18877 arg2
= static_cast< bool >(val2
);
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 (arg1
)->EnableEffects(arg2
);
18881 wxPyEndAllowThreads(__tstate
);
18882 if (PyErr_Occurred()) SWIG_fail
;
18884 resultobj
= SWIG_Py_Void();
18891 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18892 PyObject
*resultobj
= 0;
18893 wxFontData
*arg1
= (wxFontData
*) 0 ;
18897 PyObject
*swig_obj
[1] ;
18899 if (!args
) SWIG_fail
;
18900 swig_obj
[0] = args
;
18901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18902 if (!SWIG_IsOK(res1
)) {
18903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18905 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18908 result
= (bool)(arg1
)->GetAllowSymbols();
18909 wxPyEndAllowThreads(__tstate
);
18910 if (PyErr_Occurred()) SWIG_fail
;
18913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18921 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18922 PyObject
*resultobj
= 0;
18923 wxFontData
*arg1
= (wxFontData
*) 0 ;
18927 PyObject
*swig_obj
[1] ;
18929 if (!args
) SWIG_fail
;
18930 swig_obj
[0] = args
;
18931 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18932 if (!SWIG_IsOK(res1
)) {
18933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18935 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18938 result
= (arg1
)->GetColour();
18939 wxPyEndAllowThreads(__tstate
);
18940 if (PyErr_Occurred()) SWIG_fail
;
18942 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18949 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18950 PyObject
*resultobj
= 0;
18951 wxFontData
*arg1
= (wxFontData
*) 0 ;
18955 PyObject
*swig_obj
[1] ;
18957 if (!args
) SWIG_fail
;
18958 swig_obj
[0] = args
;
18959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18960 if (!SWIG_IsOK(res1
)) {
18961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18963 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 result
= (arg1
)->GetChosenFont();
18967 wxPyEndAllowThreads(__tstate
);
18968 if (PyErr_Occurred()) SWIG_fail
;
18970 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18977 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18978 PyObject
*resultobj
= 0;
18979 wxFontData
*arg1
= (wxFontData
*) 0 ;
18983 PyObject
*swig_obj
[1] ;
18985 if (!args
) SWIG_fail
;
18986 swig_obj
[0] = args
;
18987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18988 if (!SWIG_IsOK(res1
)) {
18989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18991 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18994 result
= (bool)(arg1
)->GetEnableEffects();
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19007 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19008 PyObject
*resultobj
= 0;
19009 wxFontData
*arg1
= (wxFontData
*) 0 ;
19013 PyObject
*swig_obj
[1] ;
19015 if (!args
) SWIG_fail
;
19016 swig_obj
[0] = args
;
19017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19018 if (!SWIG_IsOK(res1
)) {
19019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19021 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 result
= (arg1
)->GetInitialFont();
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19035 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19036 PyObject
*resultobj
= 0;
19037 wxFontData
*arg1
= (wxFontData
*) 0 ;
19041 PyObject
*swig_obj
[1] ;
19043 if (!args
) SWIG_fail
;
19044 swig_obj
[0] = args
;
19045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19046 if (!SWIG_IsOK(res1
)) {
19047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19049 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 result
= (bool)(arg1
)->GetShowHelp();
19053 wxPyEndAllowThreads(__tstate
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19065 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
= 0;
19067 wxFontData
*arg1
= (wxFontData
*) 0 ;
19073 PyObject
* obj0
= 0 ;
19074 PyObject
* obj1
= 0 ;
19075 char * kwnames
[] = {
19076 (char *) "self",(char *) "allowSymbols", NULL
19079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19081 if (!SWIG_IsOK(res1
)) {
19082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19084 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19085 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19086 if (!SWIG_IsOK(ecode2
)) {
19087 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19089 arg2
= static_cast< bool >(val2
);
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19092 (arg1
)->SetAllowSymbols(arg2
);
19093 wxPyEndAllowThreads(__tstate
);
19094 if (PyErr_Occurred()) SWIG_fail
;
19096 resultobj
= SWIG_Py_Void();
19103 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19104 PyObject
*resultobj
= 0;
19105 wxFontData
*arg1
= (wxFontData
*) 0 ;
19111 PyObject
* obj0
= 0 ;
19112 PyObject
* obj1
= 0 ;
19113 char * kwnames
[] = {
19114 (char *) "self",(char *) "font", NULL
19117 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19118 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19119 if (!SWIG_IsOK(res1
)) {
19120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19122 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19123 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19124 if (!SWIG_IsOK(res2
)) {
19125 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19128 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19130 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19133 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19134 wxPyEndAllowThreads(__tstate
);
19135 if (PyErr_Occurred()) SWIG_fail
;
19137 resultobj
= SWIG_Py_Void();
19144 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19145 PyObject
*resultobj
= 0;
19146 wxFontData
*arg1
= (wxFontData
*) 0 ;
19147 wxColour
*arg2
= 0 ;
19151 PyObject
* obj0
= 0 ;
19152 PyObject
* obj1
= 0 ;
19153 char * kwnames
[] = {
19154 (char *) "self",(char *) "colour", NULL
19157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19159 if (!SWIG_IsOK(res1
)) {
19160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19162 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19165 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 (arg1
)->SetColour((wxColour
const &)*arg2
);
19170 wxPyEndAllowThreads(__tstate
);
19171 if (PyErr_Occurred()) SWIG_fail
;
19173 resultobj
= SWIG_Py_Void();
19180 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
= 0;
19182 wxFontData
*arg1
= (wxFontData
*) 0 ;
19188 PyObject
* obj0
= 0 ;
19189 PyObject
* obj1
= 0 ;
19190 char * kwnames
[] = {
19191 (char *) "self",(char *) "font", NULL
19194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19196 if (!SWIG_IsOK(res1
)) {
19197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19199 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19200 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19201 if (!SWIG_IsOK(res2
)) {
19202 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19207 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19210 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19211 wxPyEndAllowThreads(__tstate
);
19212 if (PyErr_Occurred()) SWIG_fail
;
19214 resultobj
= SWIG_Py_Void();
19221 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19222 PyObject
*resultobj
= 0;
19223 wxFontData
*arg1
= (wxFontData
*) 0 ;
19232 PyObject
* obj0
= 0 ;
19233 PyObject
* obj1
= 0 ;
19234 PyObject
* obj2
= 0 ;
19235 char * kwnames
[] = {
19236 (char *) "self",(char *) "min",(char *) "max", NULL
19239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19241 if (!SWIG_IsOK(res1
)) {
19242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19244 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19246 if (!SWIG_IsOK(ecode2
)) {
19247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19249 arg2
= static_cast< int >(val2
);
19250 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19251 if (!SWIG_IsOK(ecode3
)) {
19252 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19254 arg3
= static_cast< int >(val3
);
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 (arg1
)->SetRange(arg2
,arg3
);
19258 wxPyEndAllowThreads(__tstate
);
19259 if (PyErr_Occurred()) SWIG_fail
;
19261 resultobj
= SWIG_Py_Void();
19268 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19269 PyObject
*resultobj
= 0;
19270 wxFontData
*arg1
= (wxFontData
*) 0 ;
19276 PyObject
* obj0
= 0 ;
19277 PyObject
* obj1
= 0 ;
19278 char * kwnames
[] = {
19279 (char *) "self",(char *) "showHelp", NULL
19282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19284 if (!SWIG_IsOK(res1
)) {
19285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19287 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19288 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19289 if (!SWIG_IsOK(ecode2
)) {
19290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19292 arg2
= static_cast< bool >(val2
);
19294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19295 (arg1
)->SetShowHelp(arg2
);
19296 wxPyEndAllowThreads(__tstate
);
19297 if (PyErr_Occurred()) SWIG_fail
;
19299 resultobj
= SWIG_Py_Void();
19306 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19308 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19309 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19310 return SWIG_Py_Void();
19313 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19314 return SWIG_Python_InitShadowInstance(args
);
19317 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19318 PyObject
*resultobj
= 0;
19319 wxWindow
*arg1
= (wxWindow
*) 0 ;
19320 wxFontData
*arg2
= 0 ;
19321 wxFontDialog
*result
= 0 ;
19326 PyObject
* obj0
= 0 ;
19327 PyObject
* obj1
= 0 ;
19328 char * kwnames
[] = {
19329 (char *) "parent",(char *) "data", NULL
19332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19334 if (!SWIG_IsOK(res1
)) {
19335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19337 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19338 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19339 if (!SWIG_IsOK(res2
)) {
19340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19343 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19345 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19347 if (!wxPyCheckForApp()) SWIG_fail
;
19348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19349 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19350 wxPyEndAllowThreads(__tstate
);
19351 if (PyErr_Occurred()) SWIG_fail
;
19353 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19360 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19361 PyObject
*resultobj
= 0;
19362 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19363 wxFontData
*result
= 0 ;
19366 PyObject
*swig_obj
[1] ;
19368 if (!args
) SWIG_fail
;
19369 swig_obj
[0] = args
;
19370 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19371 if (!SWIG_IsOK(res1
)) {
19372 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19374 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19378 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19379 result
= (wxFontData
*) &_result_ref
;
19381 wxPyEndAllowThreads(__tstate
);
19382 if (PyErr_Occurred()) SWIG_fail
;
19384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19391 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19394 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19395 return SWIG_Py_Void();
19398 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19399 return SWIG_Python_InitShadowInstance(args
);
19402 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
= 0;
19404 wxWindow
*arg1
= (wxWindow
*) NULL
;
19405 wxFont
const &arg2_defvalue
= wxNullFont
;
19406 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19407 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19408 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19414 bool temp3
= false ;
19415 PyObject
* obj0
= 0 ;
19416 PyObject
* obj1
= 0 ;
19417 PyObject
* obj2
= 0 ;
19418 char * kwnames
[] = {
19419 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19425 if (!SWIG_IsOK(res1
)) {
19426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19428 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19431 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19432 if (!SWIG_IsOK(res2
)) {
19433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19436 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19438 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19442 arg3
= wxString_in_helper(obj2
);
19443 if (arg3
== NULL
) SWIG_fail
;
19448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19449 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19450 wxPyEndAllowThreads(__tstate
);
19451 if (PyErr_Occurred()) SWIG_fail
;
19453 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19468 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19469 PyObject
*resultobj
= 0;
19470 wxWindow
*arg1
= (wxWindow
*) 0 ;
19471 wxString
*arg2
= 0 ;
19472 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19473 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19474 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19475 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19476 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19477 wxMessageDialog
*result
= 0 ;
19480 bool temp2
= false ;
19481 bool temp3
= false ;
19485 PyObject
* obj0
= 0 ;
19486 PyObject
* obj1
= 0 ;
19487 PyObject
* obj2
= 0 ;
19488 PyObject
* obj3
= 0 ;
19489 PyObject
* obj4
= 0 ;
19490 char * kwnames
[] = {
19491 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19496 if (!SWIG_IsOK(res1
)) {
19497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19499 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19501 arg2
= wxString_in_helper(obj1
);
19502 if (arg2
== NULL
) SWIG_fail
;
19507 arg3
= wxString_in_helper(obj2
);
19508 if (arg3
== NULL
) SWIG_fail
;
19513 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19514 if (!SWIG_IsOK(ecode4
)) {
19515 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19517 arg4
= static_cast< long >(val4
);
19522 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19526 if (!wxPyCheckForApp()) SWIG_fail
;
19527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19528 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19529 wxPyEndAllowThreads(__tstate
);
19530 if (PyErr_Occurred()) SWIG_fail
;
19532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19555 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19557 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19558 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19559 return SWIG_Py_Void();
19562 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19563 return SWIG_Python_InitShadowInstance(args
);
19566 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19567 PyObject
*resultobj
= 0;
19568 wxString
*arg1
= 0 ;
19569 wxString
*arg2
= 0 ;
19570 int arg3
= (int) 100 ;
19571 wxWindow
*arg4
= (wxWindow
*) NULL
;
19572 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19573 wxProgressDialog
*result
= 0 ;
19574 bool temp1
= false ;
19575 bool temp2
= false ;
19582 PyObject
* obj0
= 0 ;
19583 PyObject
* obj1
= 0 ;
19584 PyObject
* obj2
= 0 ;
19585 PyObject
* obj3
= 0 ;
19586 PyObject
* obj4
= 0 ;
19587 char * kwnames
[] = {
19588 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19593 arg1
= wxString_in_helper(obj0
);
19594 if (arg1
== NULL
) SWIG_fail
;
19598 arg2
= wxString_in_helper(obj1
);
19599 if (arg2
== NULL
) SWIG_fail
;
19603 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19604 if (!SWIG_IsOK(ecode3
)) {
19605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19607 arg3
= static_cast< int >(val3
);
19610 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19611 if (!SWIG_IsOK(res4
)) {
19612 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19614 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19617 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19618 if (!SWIG_IsOK(ecode5
)) {
19619 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19621 arg5
= static_cast< int >(val5
);
19624 if (!wxPyCheckForApp()) SWIG_fail
;
19625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19630 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19653 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19654 PyObject
*resultobj
= 0;
19655 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19657 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19658 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19659 bool *arg4
= (bool *) 0 ;
19665 bool temp3
= false ;
19667 int res4
= SWIG_TMPOBJ
;
19668 PyObject
* obj0
= 0 ;
19669 PyObject
* obj1
= 0 ;
19670 PyObject
* obj2
= 0 ;
19671 char * kwnames
[] = {
19672 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19678 if (!SWIG_IsOK(res1
)) {
19679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19681 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19683 if (!SWIG_IsOK(ecode2
)) {
19684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19686 arg2
= static_cast< int >(val2
);
19689 arg3
= wxString_in_helper(obj2
);
19690 if (arg3
== NULL
) SWIG_fail
;
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19703 if (SWIG_IsTmpObj(res4
)) {
19704 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19706 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19707 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19723 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19724 PyObject
*resultobj
= 0;
19725 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19728 PyObject
*swig_obj
[1] ;
19730 if (!args
) SWIG_fail
;
19731 swig_obj
[0] = args
;
19732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19733 if (!SWIG_IsOK(res1
)) {
19734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19736 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19740 wxPyEndAllowThreads(__tstate
);
19741 if (PyErr_Occurred()) SWIG_fail
;
19743 resultobj
= SWIG_Py_Void();
19750 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19752 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19753 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19754 return SWIG_Py_Void();
19757 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19758 return SWIG_Python_InitShadowInstance(args
);
19761 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19762 PyObject
*resultobj
= 0;
19763 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19764 int arg2
= (int) 0 ;
19765 wxFindDialogEvent
*result
= 0 ;
19770 PyObject
* obj0
= 0 ;
19771 PyObject
* obj1
= 0 ;
19772 char * kwnames
[] = {
19773 (char *) "commandType",(char *) "id", NULL
19776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19778 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19779 if (!SWIG_IsOK(ecode1
)) {
19780 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19782 arg1
= static_cast< wxEventType
>(val1
);
19785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19786 if (!SWIG_IsOK(ecode2
)) {
19787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19789 arg2
= static_cast< int >(val2
);
19792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19793 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19804 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19805 PyObject
*resultobj
= 0;
19806 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19810 PyObject
*swig_obj
[1] ;
19812 if (!args
) SWIG_fail
;
19813 swig_obj
[0] = args
;
19814 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19815 if (!SWIG_IsOK(res1
)) {
19816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19818 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19821 result
= (int)(arg1
)->GetFlags();
19822 wxPyEndAllowThreads(__tstate
);
19823 if (PyErr_Occurred()) SWIG_fail
;
19825 resultobj
= SWIG_From_int(static_cast< int >(result
));
19832 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19833 PyObject
*resultobj
= 0;
19834 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19835 wxString
*result
= 0 ;
19838 PyObject
*swig_obj
[1] ;
19840 if (!args
) SWIG_fail
;
19841 swig_obj
[0] = args
;
19842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19843 if (!SWIG_IsOK(res1
)) {
19844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19846 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 wxString
const &_result_ref
= (arg1
)->GetFindString();
19851 result
= (wxString
*) &_result_ref
;
19853 wxPyEndAllowThreads(__tstate
);
19854 if (PyErr_Occurred()) SWIG_fail
;
19858 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19860 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19869 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19870 PyObject
*resultobj
= 0;
19871 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19872 wxString
*result
= 0 ;
19875 PyObject
*swig_obj
[1] ;
19877 if (!args
) SWIG_fail
;
19878 swig_obj
[0] = args
;
19879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19880 if (!SWIG_IsOK(res1
)) {
19881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19883 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19887 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19888 result
= (wxString
*) &_result_ref
;
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19897 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19906 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19907 PyObject
*resultobj
= 0;
19908 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19909 wxFindReplaceDialog
*result
= 0 ;
19912 PyObject
*swig_obj
[1] ;
19914 if (!args
) SWIG_fail
;
19915 swig_obj
[0] = args
;
19916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19917 if (!SWIG_IsOK(res1
)) {
19918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19920 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19923 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19934 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
= 0;
19936 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19942 PyObject
* obj0
= 0 ;
19943 PyObject
* obj1
= 0 ;
19944 char * kwnames
[] = {
19945 (char *) "self",(char *) "flags", NULL
19948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19950 if (!SWIG_IsOK(res1
)) {
19951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19953 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19954 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19955 if (!SWIG_IsOK(ecode2
)) {
19956 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19958 arg2
= static_cast< int >(val2
);
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 (arg1
)->SetFlags(arg2
);
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 resultobj
= SWIG_Py_Void();
19972 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
= 0;
19974 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19975 wxString
*arg2
= 0 ;
19978 bool temp2
= false ;
19979 PyObject
* obj0
= 0 ;
19980 PyObject
* obj1
= 0 ;
19981 char * kwnames
[] = {
19982 (char *) "self",(char *) "str", NULL
19985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19987 if (!SWIG_IsOK(res1
)) {
19988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19990 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19992 arg2
= wxString_in_helper(obj1
);
19993 if (arg2
== NULL
) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 (arg1
)->SetFindString((wxString
const &)*arg2
);
19999 wxPyEndAllowThreads(__tstate
);
20000 if (PyErr_Occurred()) SWIG_fail
;
20002 resultobj
= SWIG_Py_Void();
20017 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20018 PyObject
*resultobj
= 0;
20019 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20020 wxString
*arg2
= 0 ;
20023 bool temp2
= false ;
20024 PyObject
* obj0
= 0 ;
20025 PyObject
* obj1
= 0 ;
20026 char * kwnames
[] = {
20027 (char *) "self",(char *) "str", NULL
20030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20032 if (!SWIG_IsOK(res1
)) {
20033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20035 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20037 arg2
= wxString_in_helper(obj1
);
20038 if (arg2
== NULL
) SWIG_fail
;
20042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20043 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20044 wxPyEndAllowThreads(__tstate
);
20045 if (PyErr_Occurred()) SWIG_fail
;
20047 resultobj
= SWIG_Py_Void();
20062 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20065 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20066 return SWIG_Py_Void();
20069 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20070 return SWIG_Python_InitShadowInstance(args
);
20073 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20074 PyObject
*resultobj
= 0;
20075 int arg1
= (int) 0 ;
20076 wxFindReplaceData
*result
= 0 ;
20079 PyObject
* obj0
= 0 ;
20080 char * kwnames
[] = {
20081 (char *) "flags", NULL
20084 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20086 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20087 if (!SWIG_IsOK(ecode1
)) {
20088 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20090 arg1
= static_cast< int >(val1
);
20093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20094 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20095 wxPyEndAllowThreads(__tstate
);
20096 if (PyErr_Occurred()) SWIG_fail
;
20098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20105 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20106 PyObject
*resultobj
= 0;
20107 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20110 PyObject
*swig_obj
[1] ;
20112 if (!args
) SWIG_fail
;
20113 swig_obj
[0] = args
;
20114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20115 if (!SWIG_IsOK(res1
)) {
20116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20118 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20123 wxPyEndAllowThreads(__tstate
);
20124 if (PyErr_Occurred()) SWIG_fail
;
20126 resultobj
= SWIG_Py_Void();
20133 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20134 PyObject
*resultobj
= 0;
20135 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20136 wxString
*result
= 0 ;
20139 PyObject
*swig_obj
[1] ;
20141 if (!args
) SWIG_fail
;
20142 swig_obj
[0] = args
;
20143 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20144 if (!SWIG_IsOK(res1
)) {
20145 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20147 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20151 wxString
const &_result_ref
= (arg1
)->GetFindString();
20152 result
= (wxString
*) &_result_ref
;
20154 wxPyEndAllowThreads(__tstate
);
20155 if (PyErr_Occurred()) SWIG_fail
;
20159 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20161 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20170 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20171 PyObject
*resultobj
= 0;
20172 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20173 wxString
*result
= 0 ;
20176 PyObject
*swig_obj
[1] ;
20178 if (!args
) SWIG_fail
;
20179 swig_obj
[0] = args
;
20180 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20181 if (!SWIG_IsOK(res1
)) {
20182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20184 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20189 result
= (wxString
*) &_result_ref
;
20191 wxPyEndAllowThreads(__tstate
);
20192 if (PyErr_Occurred()) SWIG_fail
;
20196 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20198 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20207 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20208 PyObject
*resultobj
= 0;
20209 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20213 PyObject
*swig_obj
[1] ;
20215 if (!args
) SWIG_fail
;
20216 swig_obj
[0] = args
;
20217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20218 if (!SWIG_IsOK(res1
)) {
20219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20221 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20224 result
= (int)(arg1
)->GetFlags();
20225 wxPyEndAllowThreads(__tstate
);
20226 if (PyErr_Occurred()) SWIG_fail
;
20228 resultobj
= SWIG_From_int(static_cast< int >(result
));
20235 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20236 PyObject
*resultobj
= 0;
20237 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20243 PyObject
* obj0
= 0 ;
20244 PyObject
* obj1
= 0 ;
20245 char * kwnames
[] = {
20246 (char *) "self",(char *) "flags", NULL
20249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20251 if (!SWIG_IsOK(res1
)) {
20252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20254 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20256 if (!SWIG_IsOK(ecode2
)) {
20257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20259 arg2
= static_cast< int >(val2
);
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 (arg1
)->SetFlags(arg2
);
20263 wxPyEndAllowThreads(__tstate
);
20264 if (PyErr_Occurred()) SWIG_fail
;
20266 resultobj
= SWIG_Py_Void();
20273 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20274 PyObject
*resultobj
= 0;
20275 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20276 wxString
*arg2
= 0 ;
20279 bool temp2
= false ;
20280 PyObject
* obj0
= 0 ;
20281 PyObject
* obj1
= 0 ;
20282 char * kwnames
[] = {
20283 (char *) "self",(char *) "str", NULL
20286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20288 if (!SWIG_IsOK(res1
)) {
20289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20291 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20293 arg2
= wxString_in_helper(obj1
);
20294 if (arg2
== NULL
) SWIG_fail
;
20298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20299 (arg1
)->SetFindString((wxString
const &)*arg2
);
20300 wxPyEndAllowThreads(__tstate
);
20301 if (PyErr_Occurred()) SWIG_fail
;
20303 resultobj
= SWIG_Py_Void();
20318 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20319 PyObject
*resultobj
= 0;
20320 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20321 wxString
*arg2
= 0 ;
20324 bool temp2
= false ;
20325 PyObject
* obj0
= 0 ;
20326 PyObject
* obj1
= 0 ;
20327 char * kwnames
[] = {
20328 (char *) "self",(char *) "str", NULL
20331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20333 if (!SWIG_IsOK(res1
)) {
20334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20336 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20338 arg2
= wxString_in_helper(obj1
);
20339 if (arg2
== NULL
) SWIG_fail
;
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20345 wxPyEndAllowThreads(__tstate
);
20346 if (PyErr_Occurred()) SWIG_fail
;
20348 resultobj
= SWIG_Py_Void();
20363 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20365 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20366 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20367 return SWIG_Py_Void();
20370 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20371 return SWIG_Python_InitShadowInstance(args
);
20374 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20375 PyObject
*resultobj
= 0;
20376 wxWindow
*arg1
= (wxWindow
*) 0 ;
20377 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20378 wxString
*arg3
= 0 ;
20379 int arg4
= (int) 0 ;
20380 wxFindReplaceDialog
*result
= 0 ;
20385 bool temp3
= false ;
20388 PyObject
* obj0
= 0 ;
20389 PyObject
* obj1
= 0 ;
20390 PyObject
* obj2
= 0 ;
20391 PyObject
* obj3
= 0 ;
20392 char * kwnames
[] = {
20393 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20397 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20398 if (!SWIG_IsOK(res1
)) {
20399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20401 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20402 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20403 if (!SWIG_IsOK(res2
)) {
20404 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20406 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20408 arg3
= wxString_in_helper(obj2
);
20409 if (arg3
== NULL
) SWIG_fail
;
20413 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20414 if (!SWIG_IsOK(ecode4
)) {
20415 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20417 arg4
= static_cast< int >(val4
);
20420 if (!wxPyCheckForApp()) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20441 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20442 PyObject
*resultobj
= 0;
20443 wxFindReplaceDialog
*result
= 0 ;
20445 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20447 if (!wxPyCheckForApp()) SWIG_fail
;
20448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20449 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20450 wxPyEndAllowThreads(__tstate
);
20451 if (PyErr_Occurred()) SWIG_fail
;
20453 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20460 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20461 PyObject
*resultobj
= 0;
20462 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20463 wxWindow
*arg2
= (wxWindow
*) 0 ;
20464 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20465 wxString
*arg4
= 0 ;
20466 int arg5
= (int) 0 ;
20474 bool temp4
= false ;
20477 PyObject
* obj0
= 0 ;
20478 PyObject
* obj1
= 0 ;
20479 PyObject
* obj2
= 0 ;
20480 PyObject
* obj3
= 0 ;
20481 PyObject
* obj4
= 0 ;
20482 char * kwnames
[] = {
20483 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20488 if (!SWIG_IsOK(res1
)) {
20489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20491 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20492 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20493 if (!SWIG_IsOK(res2
)) {
20494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20496 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20497 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20498 if (!SWIG_IsOK(res3
)) {
20499 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20501 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20503 arg4
= wxString_in_helper(obj3
);
20504 if (arg4
== NULL
) SWIG_fail
;
20508 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20509 if (!SWIG_IsOK(ecode5
)) {
20510 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20512 arg5
= static_cast< int >(val5
);
20515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20516 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20517 wxPyEndAllowThreads(__tstate
);
20518 if (PyErr_Occurred()) SWIG_fail
;
20521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20537 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20538 PyObject
*resultobj
= 0;
20539 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20540 wxFindReplaceData
*result
= 0 ;
20543 PyObject
*swig_obj
[1] ;
20545 if (!args
) SWIG_fail
;
20546 swig_obj
[0] = args
;
20547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20548 if (!SWIG_IsOK(res1
)) {
20549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20551 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20554 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20555 wxPyEndAllowThreads(__tstate
);
20556 if (PyErr_Occurred()) SWIG_fail
;
20558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20565 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20566 PyObject
*resultobj
= 0;
20567 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20568 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20573 PyObject
* obj0
= 0 ;
20574 PyObject
* obj1
= 0 ;
20575 char * kwnames
[] = {
20576 (char *) "self",(char *) "data", NULL
20579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20581 if (!SWIG_IsOK(res1
)) {
20582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20584 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20585 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20586 if (!SWIG_IsOK(res2
)) {
20587 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20589 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20592 (arg1
)->SetData(arg2
);
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= SWIG_Py_Void();
20603 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20605 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20606 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20607 return SWIG_Py_Void();
20610 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20611 return SWIG_Python_InitShadowInstance(args
);
20614 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
= 0;
20616 wxWindow
*arg1
= (wxWindow
*) 0 ;
20617 int arg2
= (int) (int)-1 ;
20618 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20619 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20620 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20621 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20622 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20623 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20624 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20625 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20626 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20627 wxMDIParentFrame
*result
= 0 ;
20632 bool temp3
= false ;
20637 bool temp7
= false ;
20638 PyObject
* obj0
= 0 ;
20639 PyObject
* obj1
= 0 ;
20640 PyObject
* obj2
= 0 ;
20641 PyObject
* obj3
= 0 ;
20642 PyObject
* obj4
= 0 ;
20643 PyObject
* obj5
= 0 ;
20644 PyObject
* obj6
= 0 ;
20645 char * kwnames
[] = {
20646 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20651 if (!SWIG_IsOK(res1
)) {
20652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20654 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20657 if (!SWIG_IsOK(ecode2
)) {
20658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20660 arg2
= static_cast< int >(val2
);
20664 arg3
= wxString_in_helper(obj2
);
20665 if (arg3
== NULL
) SWIG_fail
;
20672 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20678 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20682 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20683 if (!SWIG_IsOK(ecode6
)) {
20684 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20686 arg6
= static_cast< long >(val6
);
20690 arg7
= wxString_in_helper(obj6
);
20691 if (arg7
== NULL
) SWIG_fail
;
20696 if (!wxPyCheckForApp()) SWIG_fail
;
20697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20698 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20699 wxPyEndAllowThreads(__tstate
);
20700 if (PyErr_Occurred()) SWIG_fail
;
20702 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20725 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20726 PyObject
*resultobj
= 0;
20727 wxMDIParentFrame
*result
= 0 ;
20729 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20731 if (!wxPyCheckForApp()) SWIG_fail
;
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20744 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
= 0;
20746 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20747 wxWindow
*arg2
= (wxWindow
*) 0 ;
20748 int arg3
= (int) (int)-1 ;
20749 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20750 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20751 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20752 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20753 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20754 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20755 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20756 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20757 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20765 bool temp4
= false ;
20770 bool temp8
= false ;
20771 PyObject
* obj0
= 0 ;
20772 PyObject
* obj1
= 0 ;
20773 PyObject
* obj2
= 0 ;
20774 PyObject
* obj3
= 0 ;
20775 PyObject
* obj4
= 0 ;
20776 PyObject
* obj5
= 0 ;
20777 PyObject
* obj6
= 0 ;
20778 PyObject
* obj7
= 0 ;
20779 char * kwnames
[] = {
20780 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20785 if (!SWIG_IsOK(res1
)) {
20786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20788 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20789 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20790 if (!SWIG_IsOK(res2
)) {
20791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20793 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20796 if (!SWIG_IsOK(ecode3
)) {
20797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20799 arg3
= static_cast< int >(val3
);
20803 arg4
= wxString_in_helper(obj3
);
20804 if (arg4
== NULL
) SWIG_fail
;
20811 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20817 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20821 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20822 if (!SWIG_IsOK(ecode7
)) {
20823 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20825 arg7
= static_cast< long >(val7
);
20829 arg8
= wxString_in_helper(obj7
);
20830 if (arg8
== NULL
) SWIG_fail
;
20835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20836 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20865 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20866 PyObject
*resultobj
= 0;
20867 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20870 PyObject
*swig_obj
[1] ;
20872 if (!args
) SWIG_fail
;
20873 swig_obj
[0] = args
;
20874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20875 if (!SWIG_IsOK(res1
)) {
20876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20878 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 (arg1
)->ActivateNext();
20882 wxPyEndAllowThreads(__tstate
);
20883 if (PyErr_Occurred()) SWIG_fail
;
20885 resultobj
= SWIG_Py_Void();
20892 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20893 PyObject
*resultobj
= 0;
20894 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20897 PyObject
*swig_obj
[1] ;
20899 if (!args
) SWIG_fail
;
20900 swig_obj
[0] = args
;
20901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20902 if (!SWIG_IsOK(res1
)) {
20903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20905 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20908 (arg1
)->ActivatePrevious();
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= SWIG_Py_Void();
20919 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20920 PyObject
*resultobj
= 0;
20921 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20924 PyObject
*swig_obj
[1] ;
20926 if (!args
) SWIG_fail
;
20927 swig_obj
[0] = args
;
20928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20929 if (!SWIG_IsOK(res1
)) {
20930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20932 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 (arg1
)->ArrangeIcons();
20936 wxPyEndAllowThreads(__tstate
);
20937 if (PyErr_Occurred()) SWIG_fail
;
20939 resultobj
= SWIG_Py_Void();
20946 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20947 PyObject
*resultobj
= 0;
20948 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20951 PyObject
*swig_obj
[1] ;
20953 if (!args
) SWIG_fail
;
20954 swig_obj
[0] = args
;
20955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20956 if (!SWIG_IsOK(res1
)) {
20957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20959 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20966 resultobj
= SWIG_Py_Void();
20973 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20974 PyObject
*resultobj
= 0;
20975 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20976 wxMDIChildFrame
*result
= 0 ;
20979 PyObject
*swig_obj
[1] ;
20981 if (!args
) SWIG_fail
;
20982 swig_obj
[0] = args
;
20983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20984 if (!SWIG_IsOK(res1
)) {
20985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20987 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20991 wxPyEndAllowThreads(__tstate
);
20992 if (PyErr_Occurred()) SWIG_fail
;
20995 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21003 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21004 PyObject
*resultobj
= 0;
21005 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21006 wxMDIClientWindow
*result
= 0 ;
21009 PyObject
*swig_obj
[1] ;
21011 if (!args
) SWIG_fail
;
21012 swig_obj
[0] = args
;
21013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21014 if (!SWIG_IsOK(res1
)) {
21015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21017 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21021 wxPyEndAllowThreads(__tstate
);
21022 if (PyErr_Occurred()) SWIG_fail
;
21025 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21033 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21034 PyObject
*resultobj
= 0;
21035 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21036 wxWindow
*result
= 0 ;
21039 PyObject
*swig_obj
[1] ;
21041 if (!args
) SWIG_fail
;
21042 swig_obj
[0] = args
;
21043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21044 if (!SWIG_IsOK(res1
)) {
21045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21047 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 result
= (wxWindow
*)(arg1
)->GetToolBar();
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21055 resultobj
= wxPyMake_wxObject(result
, 0);
21063 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21064 PyObject
*resultobj
= 0;
21065 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21066 wxMenu
*result
= 0 ;
21069 PyObject
*swig_obj
[1] ;
21071 if (!args
) SWIG_fail
;
21072 swig_obj
[0] = args
;
21073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21074 if (!SWIG_IsOK(res1
)) {
21075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21077 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
21081 wxPyEndAllowThreads(__tstate
);
21082 if (PyErr_Occurred()) SWIG_fail
;
21085 resultobj
= wxPyMake_wxObject(result
, 0);
21093 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21094 PyObject
*resultobj
= 0;
21095 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21096 wxMenu
*arg2
= (wxMenu
*) 0 ;
21101 PyObject
* obj0
= 0 ;
21102 PyObject
* obj1
= 0 ;
21103 char * kwnames
[] = {
21104 (char *) "self",(char *) "menu", NULL
21107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21109 if (!SWIG_IsOK(res1
)) {
21110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21112 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21113 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
21114 if (!SWIG_IsOK(res2
)) {
21115 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
21117 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 (arg1
)->SetWindowMenu(arg2
);
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_Py_Void();
21131 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21132 PyObject
*resultobj
= 0;
21133 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21134 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21139 PyObject
* obj0
= 0 ;
21140 PyObject
* obj1
= 0 ;
21141 char * kwnames
[] = {
21142 (char *) "self",(char *) "orient", NULL
21145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21147 if (!SWIG_IsOK(res1
)) {
21148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21150 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21153 if (!SWIG_IsOK(ecode2
)) {
21154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21156 arg2
= static_cast< wxOrientation
>(val2
);
21159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21160 (arg1
)->Tile(arg2
);
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21164 resultobj
= SWIG_Py_Void();
21171 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21173 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21174 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21175 return SWIG_Py_Void();
21178 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21179 return SWIG_Python_InitShadowInstance(args
);
21182 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21183 PyObject
*resultobj
= 0;
21184 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21185 int arg2
= (int) (int)-1 ;
21186 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21187 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21188 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21189 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21190 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21191 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21192 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21193 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21194 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21195 wxMDIChildFrame
*result
= 0 ;
21200 bool temp3
= false ;
21205 bool temp7
= false ;
21206 PyObject
* obj0
= 0 ;
21207 PyObject
* obj1
= 0 ;
21208 PyObject
* obj2
= 0 ;
21209 PyObject
* obj3
= 0 ;
21210 PyObject
* obj4
= 0 ;
21211 PyObject
* obj5
= 0 ;
21212 PyObject
* obj6
= 0 ;
21213 char * kwnames
[] = {
21214 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21217 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21218 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21219 if (!SWIG_IsOK(res1
)) {
21220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21222 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21224 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21225 if (!SWIG_IsOK(ecode2
)) {
21226 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21228 arg2
= static_cast< int >(val2
);
21232 arg3
= wxString_in_helper(obj2
);
21233 if (arg3
== NULL
) SWIG_fail
;
21240 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21246 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21250 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21251 if (!SWIG_IsOK(ecode6
)) {
21252 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21254 arg6
= static_cast< long >(val6
);
21258 arg7
= wxString_in_helper(obj6
);
21259 if (arg7
== NULL
) SWIG_fail
;
21264 if (!wxPyCheckForApp()) SWIG_fail
;
21265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21266 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21293 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21294 PyObject
*resultobj
= 0;
21295 wxMDIChildFrame
*result
= 0 ;
21297 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21299 if (!wxPyCheckForApp()) SWIG_fail
;
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21312 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21313 PyObject
*resultobj
= 0;
21314 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21315 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21316 int arg3
= (int) (int)-1 ;
21317 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21318 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21319 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21320 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21321 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21322 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21323 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21324 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21325 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21333 bool temp4
= false ;
21338 bool temp8
= false ;
21339 PyObject
* obj0
= 0 ;
21340 PyObject
* obj1
= 0 ;
21341 PyObject
* obj2
= 0 ;
21342 PyObject
* obj3
= 0 ;
21343 PyObject
* obj4
= 0 ;
21344 PyObject
* obj5
= 0 ;
21345 PyObject
* obj6
= 0 ;
21346 PyObject
* obj7
= 0 ;
21347 char * kwnames
[] = {
21348 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21352 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21353 if (!SWIG_IsOK(res1
)) {
21354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21356 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21357 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21358 if (!SWIG_IsOK(res2
)) {
21359 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21361 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21363 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21364 if (!SWIG_IsOK(ecode3
)) {
21365 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21367 arg3
= static_cast< int >(val3
);
21371 arg4
= wxString_in_helper(obj3
);
21372 if (arg4
== NULL
) SWIG_fail
;
21379 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21385 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21389 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21390 if (!SWIG_IsOK(ecode7
)) {
21391 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21393 arg7
= static_cast< long >(val7
);
21397 arg8
= wxString_in_helper(obj7
);
21398 if (arg8
== NULL
) SWIG_fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21433 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21434 PyObject
*resultobj
= 0;
21435 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21438 PyObject
*swig_obj
[1] ;
21440 if (!args
) SWIG_fail
;
21441 swig_obj
[0] = args
;
21442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21443 if (!SWIG_IsOK(res1
)) {
21444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21446 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21449 (arg1
)->Activate();
21450 wxPyEndAllowThreads(__tstate
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 resultobj
= SWIG_Py_Void();
21460 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21462 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21463 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21464 return SWIG_Py_Void();
21467 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21468 return SWIG_Python_InitShadowInstance(args
);
21471 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21472 PyObject
*resultobj
= 0;
21473 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21474 long arg2
= (long) 0 ;
21475 wxMDIClientWindow
*result
= 0 ;
21480 PyObject
* obj0
= 0 ;
21481 PyObject
* obj1
= 0 ;
21482 char * kwnames
[] = {
21483 (char *) "parent",(char *) "style", NULL
21486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21488 if (!SWIG_IsOK(res1
)) {
21489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21491 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21493 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21494 if (!SWIG_IsOK(ecode2
)) {
21495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21497 arg2
= static_cast< long >(val2
);
21500 if (!wxPyCheckForApp()) SWIG_fail
;
21501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21502 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21503 wxPyEndAllowThreads(__tstate
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21513 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21514 PyObject
*resultobj
= 0;
21515 wxMDIClientWindow
*result
= 0 ;
21517 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21519 if (!wxPyCheckForApp()) SWIG_fail
;
21520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21521 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21522 wxPyEndAllowThreads(__tstate
);
21523 if (PyErr_Occurred()) SWIG_fail
;
21525 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21532 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21533 PyObject
*resultobj
= 0;
21534 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21535 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21536 long arg3
= (long) 0 ;
21544 PyObject
* obj0
= 0 ;
21545 PyObject
* obj1
= 0 ;
21546 PyObject
* obj2
= 0 ;
21547 char * kwnames
[] = {
21548 (char *) "self",(char *) "parent",(char *) "style", NULL
21551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21553 if (!SWIG_IsOK(res1
)) {
21554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21556 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21557 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21558 if (!SWIG_IsOK(res2
)) {
21559 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21561 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21563 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21564 if (!SWIG_IsOK(ecode3
)) {
21565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21567 arg3
= static_cast< long >(val3
);
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21572 wxPyEndAllowThreads(__tstate
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21576 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21584 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21586 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21587 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21588 return SWIG_Py_Void();
21591 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21592 return SWIG_Python_InitShadowInstance(args
);
21595 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21596 PyObject
*resultobj
= 0;
21597 wxWindow
*arg1
= (wxWindow
*) 0 ;
21598 int arg2
= (int) (int)-1 ;
21599 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21600 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21601 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21602 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21603 long arg5
= (long) 0 ;
21604 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21605 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21606 wxPyWindow
*result
= 0 ;
21615 bool temp6
= false ;
21616 PyObject
* obj0
= 0 ;
21617 PyObject
* obj1
= 0 ;
21618 PyObject
* obj2
= 0 ;
21619 PyObject
* obj3
= 0 ;
21620 PyObject
* obj4
= 0 ;
21621 PyObject
* obj5
= 0 ;
21622 char * kwnames
[] = {
21623 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21628 if (!SWIG_IsOK(res1
)) {
21629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21631 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21633 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21634 if (!SWIG_IsOK(ecode2
)) {
21635 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21637 arg2
= static_cast< int >(val2
);
21642 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21648 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21652 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21653 if (!SWIG_IsOK(ecode5
)) {
21654 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21656 arg5
= static_cast< long >(val5
);
21660 arg6
= wxString_in_helper(obj5
);
21661 if (arg6
== NULL
) SWIG_fail
;
21666 if (!wxPyCheckForApp()) SWIG_fail
;
21667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21668 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21669 wxPyEndAllowThreads(__tstate
);
21670 if (PyErr_Occurred()) SWIG_fail
;
21672 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21687 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21688 PyObject
*resultobj
= 0;
21689 wxPyWindow
*result
= 0 ;
21691 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21693 if (!wxPyCheckForApp()) SWIG_fail
;
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 result
= (wxPyWindow
*)new wxPyWindow();
21696 wxPyEndAllowThreads(__tstate
);
21697 if (PyErr_Occurred()) SWIG_fail
;
21699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21706 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21707 PyObject
*resultobj
= 0;
21708 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21709 PyObject
*arg2
= (PyObject
*) 0 ;
21710 PyObject
*arg3
= (PyObject
*) 0 ;
21713 PyObject
* obj0
= 0 ;
21714 PyObject
* obj1
= 0 ;
21715 PyObject
* obj2
= 0 ;
21716 char * kwnames
[] = {
21717 (char *) "self",(char *) "self",(char *) "_class", NULL
21720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21722 if (!SWIG_IsOK(res1
)) {
21723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21725 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21730 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21731 wxPyEndAllowThreads(__tstate
);
21732 if (PyErr_Occurred()) SWIG_fail
;
21734 resultobj
= SWIG_Py_Void();
21741 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21742 PyObject
*resultobj
= 0;
21743 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 char * kwnames
[] = {
21751 (char *) "self",(char *) "size", NULL
21754 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21755 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21756 if (!SWIG_IsOK(res1
)) {
21757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21759 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21762 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21766 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 resultobj
= SWIG_Py_Void();
21777 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
= 0;
21779 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21780 wxDC
*arg2
= (wxDC
*) 0 ;
21786 PyObject
* obj0
= 0 ;
21787 PyObject
* obj1
= 0 ;
21788 char * kwnames
[] = {
21789 (char *) "self",(char *) "dc", NULL
21792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21794 if (!SWIG_IsOK(res1
)) {
21795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21797 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21798 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21799 if (!SWIG_IsOK(res2
)) {
21800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21802 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21818 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21819 PyObject
*resultobj
= 0;
21820 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21835 PyObject
* obj0
= 0 ;
21836 PyObject
* obj1
= 0 ;
21837 PyObject
* obj2
= 0 ;
21838 PyObject
* obj3
= 0 ;
21839 PyObject
* obj4
= 0 ;
21840 char * kwnames
[] = {
21841 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21846 if (!SWIG_IsOK(res1
)) {
21847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21849 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21851 if (!SWIG_IsOK(ecode2
)) {
21852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21854 arg2
= static_cast< int >(val2
);
21855 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21856 if (!SWIG_IsOK(ecode3
)) {
21857 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21859 arg3
= static_cast< int >(val3
);
21860 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21861 if (!SWIG_IsOK(ecode4
)) {
21862 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21864 arg4
= static_cast< int >(val4
);
21865 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21866 if (!SWIG_IsOK(ecode5
)) {
21867 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21869 arg5
= static_cast< int >(val5
);
21871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21872 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21873 wxPyEndAllowThreads(__tstate
);
21874 if (PyErr_Occurred()) SWIG_fail
;
21876 resultobj
= SWIG_Py_Void();
21883 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21884 PyObject
*resultobj
= 0;
21885 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21890 int arg6
= (int) wxSIZE_AUTO
;
21903 PyObject
* obj0
= 0 ;
21904 PyObject
* obj1
= 0 ;
21905 PyObject
* obj2
= 0 ;
21906 PyObject
* obj3
= 0 ;
21907 PyObject
* obj4
= 0 ;
21908 PyObject
* obj5
= 0 ;
21909 char * kwnames
[] = {
21910 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21913 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21914 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21915 if (!SWIG_IsOK(res1
)) {
21916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21918 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21919 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21920 if (!SWIG_IsOK(ecode2
)) {
21921 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21923 arg2
= static_cast< int >(val2
);
21924 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21925 if (!SWIG_IsOK(ecode3
)) {
21926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21928 arg3
= static_cast< int >(val3
);
21929 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21930 if (!SWIG_IsOK(ecode4
)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21933 arg4
= static_cast< int >(val4
);
21934 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21935 if (!SWIG_IsOK(ecode5
)) {
21936 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21938 arg5
= static_cast< int >(val5
);
21940 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21941 if (!SWIG_IsOK(ecode6
)) {
21942 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21944 arg6
= static_cast< int >(val6
);
21947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21948 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21949 wxPyEndAllowThreads(__tstate
);
21950 if (PyErr_Occurred()) SWIG_fail
;
21952 resultobj
= SWIG_Py_Void();
21959 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21960 PyObject
*resultobj
= 0;
21961 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21970 PyObject
* obj0
= 0 ;
21971 PyObject
* obj1
= 0 ;
21972 PyObject
* obj2
= 0 ;
21973 char * kwnames
[] = {
21974 (char *) "self",(char *) "width",(char *) "height", NULL
21977 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21978 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21979 if (!SWIG_IsOK(res1
)) {
21980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21982 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21984 if (!SWIG_IsOK(ecode2
)) {
21985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21987 arg2
= static_cast< int >(val2
);
21988 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21989 if (!SWIG_IsOK(ecode3
)) {
21990 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21992 arg3
= static_cast< int >(val3
);
21994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21995 (arg1
)->DoSetClientSize(arg2
,arg3
);
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 resultobj
= SWIG_Py_Void();
22006 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22007 PyObject
*resultobj
= 0;
22008 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22017 PyObject
* obj0
= 0 ;
22018 PyObject
* obj1
= 0 ;
22019 PyObject
* obj2
= 0 ;
22020 char * kwnames
[] = {
22021 (char *) "self",(char *) "x",(char *) "y", NULL
22024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22026 if (!SWIG_IsOK(res1
)) {
22027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22029 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22030 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22031 if (!SWIG_IsOK(ecode2
)) {
22032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22034 arg2
= static_cast< int >(val2
);
22035 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22036 if (!SWIG_IsOK(ecode3
)) {
22037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22039 arg3
= static_cast< int >(val3
);
22041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22042 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22043 wxPyEndAllowThreads(__tstate
);
22044 if (PyErr_Occurred()) SWIG_fail
;
22046 resultobj
= SWIG_Py_Void();
22053 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22054 PyObject
*resultobj
= 0;
22055 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22056 int *arg2
= (int *) 0 ;
22057 int *arg3
= (int *) 0 ;
22061 int res2
= SWIG_TMPOBJ
;
22063 int res3
= SWIG_TMPOBJ
;
22064 PyObject
*swig_obj
[1] ;
22068 if (!args
) SWIG_fail
;
22069 swig_obj
[0] = args
;
22070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22071 if (!SWIG_IsOK(res1
)) {
22072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22074 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22077 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22078 wxPyEndAllowThreads(__tstate
);
22079 if (PyErr_Occurred()) SWIG_fail
;
22081 resultobj
= SWIG_Py_Void();
22082 if (SWIG_IsTmpObj(res2
)) {
22083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22085 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22086 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22088 if (SWIG_IsTmpObj(res3
)) {
22089 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22091 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22092 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22100 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22101 PyObject
*resultobj
= 0;
22102 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22103 int *arg2
= (int *) 0 ;
22104 int *arg3
= (int *) 0 ;
22108 int res2
= SWIG_TMPOBJ
;
22110 int res3
= SWIG_TMPOBJ
;
22111 PyObject
*swig_obj
[1] ;
22115 if (!args
) SWIG_fail
;
22116 swig_obj
[0] = args
;
22117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22118 if (!SWIG_IsOK(res1
)) {
22119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22121 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22124 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22128 resultobj
= SWIG_Py_Void();
22129 if (SWIG_IsTmpObj(res2
)) {
22130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22132 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22135 if (SWIG_IsTmpObj(res3
)) {
22136 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22138 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22139 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22147 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22148 PyObject
*resultobj
= 0;
22149 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22150 int *arg2
= (int *) 0 ;
22151 int *arg3
= (int *) 0 ;
22155 int res2
= SWIG_TMPOBJ
;
22157 int res3
= SWIG_TMPOBJ
;
22158 PyObject
*swig_obj
[1] ;
22162 if (!args
) SWIG_fail
;
22163 swig_obj
[0] = args
;
22164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22165 if (!SWIG_IsOK(res1
)) {
22166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22168 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22171 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 resultobj
= SWIG_Py_Void();
22176 if (SWIG_IsTmpObj(res2
)) {
22177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22179 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22182 if (SWIG_IsTmpObj(res3
)) {
22183 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22185 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22186 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22194 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22195 PyObject
*resultobj
= 0;
22196 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22200 PyObject
*swig_obj
[1] ;
22202 if (!args
) SWIG_fail
;
22203 swig_obj
[0] = args
;
22204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22205 if (!SWIG_IsOK(res1
)) {
22206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22208 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22211 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22222 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22223 PyObject
*resultobj
= 0;
22224 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22228 PyObject
*swig_obj
[1] ;
22230 if (!args
) SWIG_fail
;
22231 swig_obj
[0] = args
;
22232 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22233 if (!SWIG_IsOK(res1
)) {
22234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22236 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22239 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22240 wxPyEndAllowThreads(__tstate
);
22241 if (PyErr_Occurred()) SWIG_fail
;
22243 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22250 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22251 PyObject
*resultobj
= 0;
22252 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22253 SwigValueWrapper
<wxVisualAttributes
> result
;
22256 PyObject
*swig_obj
[1] ;
22258 if (!args
) SWIG_fail
;
22259 swig_obj
[0] = args
;
22260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22261 if (!SWIG_IsOK(res1
)) {
22262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22264 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 result
= (arg1
)->GetDefaultAttributes();
22268 wxPyEndAllowThreads(__tstate
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22271 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22278 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22279 PyObject
*resultobj
= 0;
22280 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22283 PyObject
*swig_obj
[1] ;
22285 if (!args
) SWIG_fail
;
22286 swig_obj
[0] = args
;
22287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22288 if (!SWIG_IsOK(res1
)) {
22289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22291 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 (arg1
)->OnInternalIdle();
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22298 resultobj
= SWIG_Py_Void();
22305 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22308 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22309 return SWIG_Py_Void();
22312 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22313 return SWIG_Python_InitShadowInstance(args
);
22316 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22317 PyObject
*resultobj
= 0;
22318 wxWindow
*arg1
= (wxWindow
*) 0 ;
22319 int arg2
= (int) (int)-1 ;
22320 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22321 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22322 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22323 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22324 long arg5
= (long) 0 ;
22325 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22326 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22327 wxPyPanel
*result
= 0 ;
22336 bool temp6
= false ;
22337 PyObject
* obj0
= 0 ;
22338 PyObject
* obj1
= 0 ;
22339 PyObject
* obj2
= 0 ;
22340 PyObject
* obj3
= 0 ;
22341 PyObject
* obj4
= 0 ;
22342 PyObject
* obj5
= 0 ;
22343 char * kwnames
[] = {
22344 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22349 if (!SWIG_IsOK(res1
)) {
22350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22352 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22355 if (!SWIG_IsOK(ecode2
)) {
22356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22358 arg2
= static_cast< int >(val2
);
22363 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22369 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22373 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22374 if (!SWIG_IsOK(ecode5
)) {
22375 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22377 arg5
= static_cast< long >(val5
);
22381 arg6
= wxString_in_helper(obj5
);
22382 if (arg6
== NULL
) SWIG_fail
;
22387 if (!wxPyCheckForApp()) SWIG_fail
;
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22408 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22409 PyObject
*resultobj
= 0;
22410 wxPyPanel
*result
= 0 ;
22412 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22414 if (!wxPyCheckForApp()) SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 result
= (wxPyPanel
*)new wxPyPanel();
22417 wxPyEndAllowThreads(__tstate
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22427 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22428 PyObject
*resultobj
= 0;
22429 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22430 PyObject
*arg2
= (PyObject
*) 0 ;
22431 PyObject
*arg3
= (PyObject
*) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 PyObject
* obj1
= 0 ;
22436 PyObject
* obj2
= 0 ;
22437 char * kwnames
[] = {
22438 (char *) "self",(char *) "self",(char *) "_class", NULL
22441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22443 if (!SWIG_IsOK(res1
)) {
22444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22446 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22451 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22452 wxPyEndAllowThreads(__tstate
);
22453 if (PyErr_Occurred()) SWIG_fail
;
22455 resultobj
= SWIG_Py_Void();
22462 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
= 0;
22464 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 PyObject
* obj1
= 0 ;
22471 char * kwnames
[] = {
22472 (char *) "self",(char *) "size", NULL
22475 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22476 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22477 if (!SWIG_IsOK(res1
)) {
22478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22480 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22483 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22487 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22488 wxPyEndAllowThreads(__tstate
);
22489 if (PyErr_Occurred()) SWIG_fail
;
22491 resultobj
= SWIG_Py_Void();
22498 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22499 PyObject
*resultobj
= 0;
22500 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22501 wxDC
*arg2
= (wxDC
*) 0 ;
22507 PyObject
* obj0
= 0 ;
22508 PyObject
* obj1
= 0 ;
22509 char * kwnames
[] = {
22510 (char *) "self",(char *) "dc", NULL
22513 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22514 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22515 if (!SWIG_IsOK(res1
)) {
22516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22518 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22519 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22520 if (!SWIG_IsOK(res2
)) {
22521 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22523 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22539 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22540 PyObject
*resultobj
= 0;
22541 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 PyObject
* obj2
= 0 ;
22559 PyObject
* obj3
= 0 ;
22560 PyObject
* obj4
= 0 ;
22561 char * kwnames
[] = {
22562 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22567 if (!SWIG_IsOK(res1
)) {
22568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22570 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22571 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22572 if (!SWIG_IsOK(ecode2
)) {
22573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22575 arg2
= static_cast< int >(val2
);
22576 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22577 if (!SWIG_IsOK(ecode3
)) {
22578 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22580 arg3
= static_cast< int >(val3
);
22581 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22582 if (!SWIG_IsOK(ecode4
)) {
22583 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22585 arg4
= static_cast< int >(val4
);
22586 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22587 if (!SWIG_IsOK(ecode5
)) {
22588 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22590 arg5
= static_cast< int >(val5
);
22592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22593 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22594 wxPyEndAllowThreads(__tstate
);
22595 if (PyErr_Occurred()) SWIG_fail
;
22597 resultobj
= SWIG_Py_Void();
22604 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22605 PyObject
*resultobj
= 0;
22606 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22611 int arg6
= (int) wxSIZE_AUTO
;
22624 PyObject
* obj0
= 0 ;
22625 PyObject
* obj1
= 0 ;
22626 PyObject
* obj2
= 0 ;
22627 PyObject
* obj3
= 0 ;
22628 PyObject
* obj4
= 0 ;
22629 PyObject
* obj5
= 0 ;
22630 char * kwnames
[] = {
22631 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22636 if (!SWIG_IsOK(res1
)) {
22637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22639 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22641 if (!SWIG_IsOK(ecode2
)) {
22642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22644 arg2
= static_cast< int >(val2
);
22645 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22646 if (!SWIG_IsOK(ecode3
)) {
22647 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22649 arg3
= static_cast< int >(val3
);
22650 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22651 if (!SWIG_IsOK(ecode4
)) {
22652 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22654 arg4
= static_cast< int >(val4
);
22655 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22656 if (!SWIG_IsOK(ecode5
)) {
22657 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22659 arg5
= static_cast< int >(val5
);
22661 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22662 if (!SWIG_IsOK(ecode6
)) {
22663 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22665 arg6
= static_cast< int >(val6
);
22668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22669 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 resultobj
= SWIG_Py_Void();
22680 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
= 0;
22682 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22691 PyObject
* obj0
= 0 ;
22692 PyObject
* obj1
= 0 ;
22693 PyObject
* obj2
= 0 ;
22694 char * kwnames
[] = {
22695 (char *) "self",(char *) "width",(char *) "height", NULL
22698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22700 if (!SWIG_IsOK(res1
)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22703 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22704 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22705 if (!SWIG_IsOK(ecode2
)) {
22706 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22708 arg2
= static_cast< int >(val2
);
22709 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22710 if (!SWIG_IsOK(ecode3
)) {
22711 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22713 arg3
= static_cast< int >(val3
);
22715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22716 (arg1
)->DoSetClientSize(arg2
,arg3
);
22717 wxPyEndAllowThreads(__tstate
);
22718 if (PyErr_Occurred()) SWIG_fail
;
22720 resultobj
= SWIG_Py_Void();
22727 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22728 PyObject
*resultobj
= 0;
22729 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22738 PyObject
* obj0
= 0 ;
22739 PyObject
* obj1
= 0 ;
22740 PyObject
* obj2
= 0 ;
22741 char * kwnames
[] = {
22742 (char *) "self",(char *) "x",(char *) "y", NULL
22745 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22746 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22747 if (!SWIG_IsOK(res1
)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22750 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22752 if (!SWIG_IsOK(ecode2
)) {
22753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22755 arg2
= static_cast< int >(val2
);
22756 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22757 if (!SWIG_IsOK(ecode3
)) {
22758 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22760 arg3
= static_cast< int >(val3
);
22762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22764 wxPyEndAllowThreads(__tstate
);
22765 if (PyErr_Occurred()) SWIG_fail
;
22767 resultobj
= SWIG_Py_Void();
22774 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22775 PyObject
*resultobj
= 0;
22776 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22777 int *arg2
= (int *) 0 ;
22778 int *arg3
= (int *) 0 ;
22782 int res2
= SWIG_TMPOBJ
;
22784 int res3
= SWIG_TMPOBJ
;
22785 PyObject
*swig_obj
[1] ;
22789 if (!args
) SWIG_fail
;
22790 swig_obj
[0] = args
;
22791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22792 if (!SWIG_IsOK(res1
)) {
22793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22795 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22798 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22799 wxPyEndAllowThreads(__tstate
);
22800 if (PyErr_Occurred()) SWIG_fail
;
22802 resultobj
= SWIG_Py_Void();
22803 if (SWIG_IsTmpObj(res2
)) {
22804 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22806 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22807 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22809 if (SWIG_IsTmpObj(res3
)) {
22810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22812 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22813 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22821 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22822 PyObject
*resultobj
= 0;
22823 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22824 int *arg2
= (int *) 0 ;
22825 int *arg3
= (int *) 0 ;
22829 int res2
= SWIG_TMPOBJ
;
22831 int res3
= SWIG_TMPOBJ
;
22832 PyObject
*swig_obj
[1] ;
22836 if (!args
) SWIG_fail
;
22837 swig_obj
[0] = args
;
22838 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22839 if (!SWIG_IsOK(res1
)) {
22840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22842 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22845 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22846 wxPyEndAllowThreads(__tstate
);
22847 if (PyErr_Occurred()) SWIG_fail
;
22849 resultobj
= SWIG_Py_Void();
22850 if (SWIG_IsTmpObj(res2
)) {
22851 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22853 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22854 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22856 if (SWIG_IsTmpObj(res3
)) {
22857 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22859 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22860 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22868 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22869 PyObject
*resultobj
= 0;
22870 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22871 int *arg2
= (int *) 0 ;
22872 int *arg3
= (int *) 0 ;
22876 int res2
= SWIG_TMPOBJ
;
22878 int res3
= SWIG_TMPOBJ
;
22879 PyObject
*swig_obj
[1] ;
22883 if (!args
) SWIG_fail
;
22884 swig_obj
[0] = args
;
22885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22886 if (!SWIG_IsOK(res1
)) {
22887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22889 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22893 wxPyEndAllowThreads(__tstate
);
22894 if (PyErr_Occurred()) SWIG_fail
;
22896 resultobj
= SWIG_Py_Void();
22897 if (SWIG_IsTmpObj(res2
)) {
22898 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22900 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22901 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22903 if (SWIG_IsTmpObj(res3
)) {
22904 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22906 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22907 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22915 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22916 PyObject
*resultobj
= 0;
22917 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22921 PyObject
*swig_obj
[1] ;
22923 if (!args
) SWIG_fail
;
22924 swig_obj
[0] = args
;
22925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22926 if (!SWIG_IsOK(res1
)) {
22927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22929 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22933 wxPyEndAllowThreads(__tstate
);
22934 if (PyErr_Occurred()) SWIG_fail
;
22936 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22943 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22944 PyObject
*resultobj
= 0;
22945 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22949 PyObject
*swig_obj
[1] ;
22951 if (!args
) SWIG_fail
;
22952 swig_obj
[0] = args
;
22953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22954 if (!SWIG_IsOK(res1
)) {
22955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22957 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22960 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22971 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22972 PyObject
*resultobj
= 0;
22973 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22974 SwigValueWrapper
<wxVisualAttributes
> result
;
22977 PyObject
*swig_obj
[1] ;
22979 if (!args
) SWIG_fail
;
22980 swig_obj
[0] = args
;
22981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22982 if (!SWIG_IsOK(res1
)) {
22983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22985 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22988 result
= (arg1
)->GetDefaultAttributes();
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22992 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22999 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23000 PyObject
*resultobj
= 0;
23001 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
23004 PyObject
*swig_obj
[1] ;
23006 if (!args
) SWIG_fail
;
23007 swig_obj
[0] = args
;
23008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
23009 if (!SWIG_IsOK(res1
)) {
23010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
23012 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 (arg1
)->OnInternalIdle();
23016 wxPyEndAllowThreads(__tstate
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 resultobj
= SWIG_Py_Void();
23026 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23029 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
23030 return SWIG_Py_Void();
23033 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23034 return SWIG_Python_InitShadowInstance(args
);
23037 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23038 PyObject
*resultobj
= 0;
23039 wxWindow
*arg1
= (wxWindow
*) 0 ;
23040 int arg2
= (int) (int)-1 ;
23041 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
23042 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
23043 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23044 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23045 long arg5
= (long) 0 ;
23046 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
23047 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
23048 wxPyScrolledWindow
*result
= 0 ;
23057 bool temp6
= false ;
23058 PyObject
* obj0
= 0 ;
23059 PyObject
* obj1
= 0 ;
23060 PyObject
* obj2
= 0 ;
23061 PyObject
* obj3
= 0 ;
23062 PyObject
* obj4
= 0 ;
23063 PyObject
* obj5
= 0 ;
23064 char * kwnames
[] = {
23065 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
23068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
23070 if (!SWIG_IsOK(res1
)) {
23071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
23073 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
23075 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23076 if (!SWIG_IsOK(ecode2
)) {
23077 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
23079 arg2
= static_cast< int >(val2
);
23084 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23090 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23094 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23095 if (!SWIG_IsOK(ecode5
)) {
23096 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23098 arg5
= static_cast< long >(val5
);
23102 arg6
= wxString_in_helper(obj5
);
23103 if (arg6
== NULL
) SWIG_fail
;
23108 if (!wxPyCheckForApp()) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23111 wxPyEndAllowThreads(__tstate
);
23112 if (PyErr_Occurred()) SWIG_fail
;
23114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23129 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23130 PyObject
*resultobj
= 0;
23131 wxPyScrolledWindow
*result
= 0 ;
23133 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23135 if (!wxPyCheckForApp()) SWIG_fail
;
23136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23137 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23138 wxPyEndAllowThreads(__tstate
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23141 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23148 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23149 PyObject
*resultobj
= 0;
23150 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23151 PyObject
*arg2
= (PyObject
*) 0 ;
23152 PyObject
*arg3
= (PyObject
*) 0 ;
23155 PyObject
* obj0
= 0 ;
23156 PyObject
* obj1
= 0 ;
23157 PyObject
* obj2
= 0 ;
23158 char * kwnames
[] = {
23159 (char *) "self",(char *) "self",(char *) "_class", NULL
23162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23164 if (!SWIG_IsOK(res1
)) {
23165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23167 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23172 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23173 wxPyEndAllowThreads(__tstate
);
23174 if (PyErr_Occurred()) SWIG_fail
;
23176 resultobj
= SWIG_Py_Void();
23183 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
= 0;
23185 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23190 PyObject
* obj0
= 0 ;
23191 PyObject
* obj1
= 0 ;
23192 char * kwnames
[] = {
23193 (char *) "self",(char *) "size", NULL
23196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23198 if (!SWIG_IsOK(res1
)) {
23199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23201 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23204 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23208 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23212 resultobj
= SWIG_Py_Void();
23219 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23220 PyObject
*resultobj
= 0;
23221 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23222 wxDC
*arg2
= (wxDC
*) 0 ;
23228 PyObject
* obj0
= 0 ;
23229 PyObject
* obj1
= 0 ;
23230 char * kwnames
[] = {
23231 (char *) "self",(char *) "dc", NULL
23234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23236 if (!SWIG_IsOK(res1
)) {
23237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23239 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23240 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23241 if (!SWIG_IsOK(res2
)) {
23242 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23244 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23260 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23261 PyObject
*resultobj
= 0;
23262 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23277 PyObject
* obj0
= 0 ;
23278 PyObject
* obj1
= 0 ;
23279 PyObject
* obj2
= 0 ;
23280 PyObject
* obj3
= 0 ;
23281 PyObject
* obj4
= 0 ;
23282 char * kwnames
[] = {
23283 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23287 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23288 if (!SWIG_IsOK(res1
)) {
23289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23291 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23292 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23293 if (!SWIG_IsOK(ecode2
)) {
23294 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23296 arg2
= static_cast< int >(val2
);
23297 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23298 if (!SWIG_IsOK(ecode3
)) {
23299 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23301 arg3
= static_cast< int >(val3
);
23302 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23303 if (!SWIG_IsOK(ecode4
)) {
23304 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23306 arg4
= static_cast< int >(val4
);
23307 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23308 if (!SWIG_IsOK(ecode5
)) {
23309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23311 arg5
= static_cast< int >(val5
);
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= SWIG_Py_Void();
23325 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
= 0;
23327 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23332 int arg6
= (int) wxSIZE_AUTO
;
23345 PyObject
* obj0
= 0 ;
23346 PyObject
* obj1
= 0 ;
23347 PyObject
* obj2
= 0 ;
23348 PyObject
* obj3
= 0 ;
23349 PyObject
* obj4
= 0 ;
23350 PyObject
* obj5
= 0 ;
23351 char * kwnames
[] = {
23352 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23357 if (!SWIG_IsOK(res1
)) {
23358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23360 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23362 if (!SWIG_IsOK(ecode2
)) {
23363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23365 arg2
= static_cast< int >(val2
);
23366 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23367 if (!SWIG_IsOK(ecode3
)) {
23368 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23370 arg3
= static_cast< int >(val3
);
23371 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23372 if (!SWIG_IsOK(ecode4
)) {
23373 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23375 arg4
= static_cast< int >(val4
);
23376 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23377 if (!SWIG_IsOK(ecode5
)) {
23378 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23380 arg5
= static_cast< int >(val5
);
23382 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23383 if (!SWIG_IsOK(ecode6
)) {
23384 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23386 arg6
= static_cast< int >(val6
);
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23390 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= SWIG_Py_Void();
23401 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
= 0;
23403 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23412 PyObject
* obj0
= 0 ;
23413 PyObject
* obj1
= 0 ;
23414 PyObject
* obj2
= 0 ;
23415 char * kwnames
[] = {
23416 (char *) "self",(char *) "width",(char *) "height", NULL
23419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23421 if (!SWIG_IsOK(res1
)) {
23422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23424 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23426 if (!SWIG_IsOK(ecode2
)) {
23427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23429 arg2
= static_cast< int >(val2
);
23430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23431 if (!SWIG_IsOK(ecode3
)) {
23432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23434 arg3
= static_cast< int >(val3
);
23436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23437 (arg1
)->DoSetClientSize(arg2
,arg3
);
23438 wxPyEndAllowThreads(__tstate
);
23439 if (PyErr_Occurred()) SWIG_fail
;
23441 resultobj
= SWIG_Py_Void();
23448 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23449 PyObject
*resultobj
= 0;
23450 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23459 PyObject
* obj0
= 0 ;
23460 PyObject
* obj1
= 0 ;
23461 PyObject
* obj2
= 0 ;
23462 char * kwnames
[] = {
23463 (char *) "self",(char *) "x",(char *) "y", NULL
23466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23468 if (!SWIG_IsOK(res1
)) {
23469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23471 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23473 if (!SWIG_IsOK(ecode2
)) {
23474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23476 arg2
= static_cast< int >(val2
);
23477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23478 if (!SWIG_IsOK(ecode3
)) {
23479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23481 arg3
= static_cast< int >(val3
);
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23485 wxPyEndAllowThreads(__tstate
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23488 resultobj
= SWIG_Py_Void();
23495 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23496 PyObject
*resultobj
= 0;
23497 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23498 int *arg2
= (int *) 0 ;
23499 int *arg3
= (int *) 0 ;
23503 int res2
= SWIG_TMPOBJ
;
23505 int res3
= SWIG_TMPOBJ
;
23506 PyObject
*swig_obj
[1] ;
23510 if (!args
) SWIG_fail
;
23511 swig_obj
[0] = args
;
23512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23513 if (!SWIG_IsOK(res1
)) {
23514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23516 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_Py_Void();
23524 if (SWIG_IsTmpObj(res2
)) {
23525 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23527 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23528 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23530 if (SWIG_IsTmpObj(res3
)) {
23531 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23533 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23542 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23543 PyObject
*resultobj
= 0;
23544 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23545 int *arg2
= (int *) 0 ;
23546 int *arg3
= (int *) 0 ;
23550 int res2
= SWIG_TMPOBJ
;
23552 int res3
= SWIG_TMPOBJ
;
23553 PyObject
*swig_obj
[1] ;
23557 if (!args
) SWIG_fail
;
23558 swig_obj
[0] = args
;
23559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23560 if (!SWIG_IsOK(res1
)) {
23561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23563 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23570 resultobj
= SWIG_Py_Void();
23571 if (SWIG_IsTmpObj(res2
)) {
23572 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23574 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23575 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23577 if (SWIG_IsTmpObj(res3
)) {
23578 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23580 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23589 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23590 PyObject
*resultobj
= 0;
23591 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23592 int *arg2
= (int *) 0 ;
23593 int *arg3
= (int *) 0 ;
23597 int res2
= SWIG_TMPOBJ
;
23599 int res3
= SWIG_TMPOBJ
;
23600 PyObject
*swig_obj
[1] ;
23604 if (!args
) SWIG_fail
;
23605 swig_obj
[0] = args
;
23606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23607 if (!SWIG_IsOK(res1
)) {
23608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23610 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23613 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23614 wxPyEndAllowThreads(__tstate
);
23615 if (PyErr_Occurred()) SWIG_fail
;
23617 resultobj
= SWIG_Py_Void();
23618 if (SWIG_IsTmpObj(res2
)) {
23619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23621 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23624 if (SWIG_IsTmpObj(res3
)) {
23625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23627 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23636 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23637 PyObject
*resultobj
= 0;
23638 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23642 PyObject
*swig_obj
[1] ;
23644 if (!args
) SWIG_fail
;
23645 swig_obj
[0] = args
;
23646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23647 if (!SWIG_IsOK(res1
)) {
23648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23650 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23653 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23654 wxPyEndAllowThreads(__tstate
);
23655 if (PyErr_Occurred()) SWIG_fail
;
23657 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23664 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23665 PyObject
*resultobj
= 0;
23666 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23670 PyObject
*swig_obj
[1] ;
23672 if (!args
) SWIG_fail
;
23673 swig_obj
[0] = args
;
23674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23675 if (!SWIG_IsOK(res1
)) {
23676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23678 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23682 wxPyEndAllowThreads(__tstate
);
23683 if (PyErr_Occurred()) SWIG_fail
;
23685 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23692 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23693 PyObject
*resultobj
= 0;
23694 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23695 SwigValueWrapper
<wxVisualAttributes
> result
;
23698 PyObject
*swig_obj
[1] ;
23700 if (!args
) SWIG_fail
;
23701 swig_obj
[0] = args
;
23702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23703 if (!SWIG_IsOK(res1
)) {
23704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23706 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23709 result
= (arg1
)->GetDefaultAttributes();
23710 wxPyEndAllowThreads(__tstate
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23720 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23721 PyObject
*resultobj
= 0;
23722 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23725 PyObject
*swig_obj
[1] ;
23727 if (!args
) SWIG_fail
;
23728 swig_obj
[0] = args
;
23729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23730 if (!SWIG_IsOK(res1
)) {
23731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23733 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23736 (arg1
)->OnInternalIdle();
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= SWIG_Py_Void();
23747 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23749 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23750 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23751 return SWIG_Py_Void();
23754 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23755 return SWIG_Python_InitShadowInstance(args
);
23758 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23759 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23764 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23765 PyObject
*pyobj
= 0;
23769 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23771 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23778 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23779 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23784 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23785 PyObject
*pyobj
= 0;
23789 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23791 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23798 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23799 PyObject
*resultobj
= 0;
23800 wxPrintData
*result
= 0 ;
23802 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23805 result
= (wxPrintData
*)new wxPrintData();
23806 wxPyEndAllowThreads(__tstate
);
23807 if (PyErr_Occurred()) SWIG_fail
;
23809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23816 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23817 PyObject
*resultobj
= 0;
23818 wxPrintData
*arg1
= 0 ;
23819 wxPrintData
*result
= 0 ;
23823 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23825 if (!SWIG_IsOK(res1
)) {
23826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23829 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23831 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23845 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23849 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23852 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23855 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23859 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23864 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23865 PyObject
*resultobj
= 0;
23866 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23869 PyObject
*swig_obj
[1] ;
23871 if (!args
) SWIG_fail
;
23872 swig_obj
[0] = args
;
23873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23874 if (!SWIG_IsOK(res1
)) {
23875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23877 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23882 wxPyEndAllowThreads(__tstate
);
23883 if (PyErr_Occurred()) SWIG_fail
;
23885 resultobj
= SWIG_Py_Void();
23892 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23893 PyObject
*resultobj
= 0;
23894 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23898 PyObject
*swig_obj
[1] ;
23900 if (!args
) SWIG_fail
;
23901 swig_obj
[0] = args
;
23902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23903 if (!SWIG_IsOK(res1
)) {
23904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23906 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 result
= (int)(arg1
)->GetNoCopies();
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 resultobj
= SWIG_From_int(static_cast< int >(result
));
23920 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23921 PyObject
*resultobj
= 0;
23922 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23926 PyObject
*swig_obj
[1] ;
23928 if (!args
) SWIG_fail
;
23929 swig_obj
[0] = args
;
23930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23931 if (!SWIG_IsOK(res1
)) {
23932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23934 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23937 result
= (bool)(arg1
)->GetCollate();
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23950 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23951 PyObject
*resultobj
= 0;
23952 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23956 PyObject
*swig_obj
[1] ;
23958 if (!args
) SWIG_fail
;
23959 swig_obj
[0] = args
;
23960 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23961 if (!SWIG_IsOK(res1
)) {
23962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23964 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23967 result
= (int)(arg1
)->GetOrientation();
23968 wxPyEndAllowThreads(__tstate
);
23969 if (PyErr_Occurred()) SWIG_fail
;
23971 resultobj
= SWIG_From_int(static_cast< int >(result
));
23978 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23979 PyObject
*resultobj
= 0;
23980 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23984 PyObject
*swig_obj
[1] ;
23986 if (!args
) SWIG_fail
;
23987 swig_obj
[0] = args
;
23988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23989 if (!SWIG_IsOK(res1
)) {
23990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23992 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 result
= (bool)(arg1
)->Ok();
23996 wxPyEndAllowThreads(__tstate
);
23997 if (PyErr_Occurred()) SWIG_fail
;
24000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24008 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24009 PyObject
*resultobj
= 0;
24010 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24011 wxString
*result
= 0 ;
24014 PyObject
*swig_obj
[1] ;
24016 if (!args
) SWIG_fail
;
24017 swig_obj
[0] = args
;
24018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24019 if (!SWIG_IsOK(res1
)) {
24020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24022 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24026 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
24027 result
= (wxString
*) &_result_ref
;
24029 wxPyEndAllowThreads(__tstate
);
24030 if (PyErr_Occurred()) SWIG_fail
;
24034 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
24036 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
24045 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24046 PyObject
*resultobj
= 0;
24047 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24051 PyObject
*swig_obj
[1] ;
24053 if (!args
) SWIG_fail
;
24054 swig_obj
[0] = args
;
24055 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24056 if (!SWIG_IsOK(res1
)) {
24057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24059 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24062 result
= (bool)(arg1
)->GetColour();
24063 wxPyEndAllowThreads(__tstate
);
24064 if (PyErr_Occurred()) SWIG_fail
;
24067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24075 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24076 PyObject
*resultobj
= 0;
24077 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24078 wxDuplexMode result
;
24081 PyObject
*swig_obj
[1] ;
24083 if (!args
) SWIG_fail
;
24084 swig_obj
[0] = args
;
24085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24086 if (!SWIG_IsOK(res1
)) {
24087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24089 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24092 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
24093 wxPyEndAllowThreads(__tstate
);
24094 if (PyErr_Occurred()) SWIG_fail
;
24096 resultobj
= SWIG_From_int(static_cast< int >(result
));
24103 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24104 PyObject
*resultobj
= 0;
24105 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24106 wxPaperSize result
;
24109 PyObject
*swig_obj
[1] ;
24111 if (!args
) SWIG_fail
;
24112 swig_obj
[0] = args
;
24113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24114 if (!SWIG_IsOK(res1
)) {
24115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24117 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24120 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24121 wxPyEndAllowThreads(__tstate
);
24122 if (PyErr_Occurred()) SWIG_fail
;
24124 resultobj
= SWIG_From_int(static_cast< int >(result
));
24131 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24132 PyObject
*resultobj
= 0;
24133 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24134 wxSize
*result
= 0 ;
24137 PyObject
*swig_obj
[1] ;
24139 if (!args
) SWIG_fail
;
24140 swig_obj
[0] = args
;
24141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24142 if (!SWIG_IsOK(res1
)) {
24143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24145 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24149 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24150 result
= (wxSize
*) &_result_ref
;
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24162 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24163 PyObject
*resultobj
= 0;
24164 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24168 PyObject
*swig_obj
[1] ;
24170 if (!args
) SWIG_fail
;
24171 swig_obj
[0] = args
;
24172 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24173 if (!SWIG_IsOK(res1
)) {
24174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24176 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24179 result
= (int)(arg1
)->GetQuality();
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 resultobj
= SWIG_From_int(static_cast< int >(result
));
24190 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24191 PyObject
*resultobj
= 0;
24192 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24196 PyObject
*swig_obj
[1] ;
24198 if (!args
) SWIG_fail
;
24199 swig_obj
[0] = args
;
24200 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24201 if (!SWIG_IsOK(res1
)) {
24202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24204 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24207 result
= (wxPrintBin
)(arg1
)->GetBin();
24208 wxPyEndAllowThreads(__tstate
);
24209 if (PyErr_Occurred()) SWIG_fail
;
24211 resultobj
= SWIG_From_int(static_cast< int >(result
));
24218 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24219 PyObject
*resultobj
= 0;
24220 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24221 wxPrintMode result
;
24224 PyObject
*swig_obj
[1] ;
24226 if (!args
) SWIG_fail
;
24227 swig_obj
[0] = args
;
24228 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24229 if (!SWIG_IsOK(res1
)) {
24230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24232 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24235 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24239 resultobj
= SWIG_From_int(static_cast< int >(result
));
24246 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24247 PyObject
*resultobj
= 0;
24248 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 PyObject
* obj1
= 0 ;
24256 char * kwnames
[] = {
24257 (char *) "self",(char *) "v", NULL
24260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24262 if (!SWIG_IsOK(res1
)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24265 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24267 if (!SWIG_IsOK(ecode2
)) {
24268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24270 arg2
= static_cast< int >(val2
);
24272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24273 (arg1
)->SetNoCopies(arg2
);
24274 wxPyEndAllowThreads(__tstate
);
24275 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= SWIG_Py_Void();
24284 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24285 PyObject
*resultobj
= 0;
24286 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24292 PyObject
* obj0
= 0 ;
24293 PyObject
* obj1
= 0 ;
24294 char * kwnames
[] = {
24295 (char *) "self",(char *) "flag", NULL
24298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24300 if (!SWIG_IsOK(res1
)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24303 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24304 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24305 if (!SWIG_IsOK(ecode2
)) {
24306 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24308 arg2
= static_cast< bool >(val2
);
24310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24311 (arg1
)->SetCollate(arg2
);
24312 wxPyEndAllowThreads(__tstate
);
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 resultobj
= SWIG_Py_Void();
24322 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24323 PyObject
*resultobj
= 0;
24324 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24330 PyObject
* obj0
= 0 ;
24331 PyObject
* obj1
= 0 ;
24332 char * kwnames
[] = {
24333 (char *) "self",(char *) "orient", NULL
24336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24338 if (!SWIG_IsOK(res1
)) {
24339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24341 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24343 if (!SWIG_IsOK(ecode2
)) {
24344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24346 arg2
= static_cast< int >(val2
);
24348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24349 (arg1
)->SetOrientation(arg2
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 resultobj
= SWIG_Py_Void();
24360 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
= 0;
24362 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24363 wxString
*arg2
= 0 ;
24366 bool temp2
= false ;
24367 PyObject
* obj0
= 0 ;
24368 PyObject
* obj1
= 0 ;
24369 char * kwnames
[] = {
24370 (char *) "self",(char *) "name", NULL
24373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24375 if (!SWIG_IsOK(res1
)) {
24376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24378 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24380 arg2
= wxString_in_helper(obj1
);
24381 if (arg2
== NULL
) SWIG_fail
;
24385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24386 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24387 wxPyEndAllowThreads(__tstate
);
24388 if (PyErr_Occurred()) SWIG_fail
;
24390 resultobj
= SWIG_Py_Void();
24405 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24406 PyObject
*resultobj
= 0;
24407 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24413 PyObject
* obj0
= 0 ;
24414 PyObject
* obj1
= 0 ;
24415 char * kwnames
[] = {
24416 (char *) "self",(char *) "colour", NULL
24419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24421 if (!SWIG_IsOK(res1
)) {
24422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24424 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24425 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24426 if (!SWIG_IsOK(ecode2
)) {
24427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24429 arg2
= static_cast< bool >(val2
);
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 (arg1
)->SetColour(arg2
);
24433 wxPyEndAllowThreads(__tstate
);
24434 if (PyErr_Occurred()) SWIG_fail
;
24436 resultobj
= SWIG_Py_Void();
24443 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24444 PyObject
*resultobj
= 0;
24445 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24446 wxDuplexMode arg2
;
24451 PyObject
* obj0
= 0 ;
24452 PyObject
* obj1
= 0 ;
24453 char * kwnames
[] = {
24454 (char *) "self",(char *) "duplex", NULL
24457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24459 if (!SWIG_IsOK(res1
)) {
24460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24462 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24464 if (!SWIG_IsOK(ecode2
)) {
24465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24467 arg2
= static_cast< wxDuplexMode
>(val2
);
24469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24470 (arg1
)->SetDuplex(arg2
);
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24474 resultobj
= SWIG_Py_Void();
24481 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
= 0;
24483 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24489 PyObject
* obj0
= 0 ;
24490 PyObject
* obj1
= 0 ;
24491 char * kwnames
[] = {
24492 (char *) "self",(char *) "sizeId", NULL
24495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24497 if (!SWIG_IsOK(res1
)) {
24498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24500 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24502 if (!SWIG_IsOK(ecode2
)) {
24503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24505 arg2
= static_cast< wxPaperSize
>(val2
);
24507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24508 (arg1
)->SetPaperId(arg2
);
24509 wxPyEndAllowThreads(__tstate
);
24510 if (PyErr_Occurred()) SWIG_fail
;
24512 resultobj
= SWIG_Py_Void();
24519 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24520 PyObject
*resultobj
= 0;
24521 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24526 PyObject
* obj0
= 0 ;
24527 PyObject
* obj1
= 0 ;
24528 char * kwnames
[] = {
24529 (char *) "self",(char *) "sz", NULL
24532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24534 if (!SWIG_IsOK(res1
)) {
24535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24537 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24540 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24544 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24545 wxPyEndAllowThreads(__tstate
);
24546 if (PyErr_Occurred()) SWIG_fail
;
24548 resultobj
= SWIG_Py_Void();
24555 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24556 PyObject
*resultobj
= 0;
24557 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24563 PyObject
* obj0
= 0 ;
24564 PyObject
* obj1
= 0 ;
24565 char * kwnames
[] = {
24566 (char *) "self",(char *) "quality", NULL
24569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24571 if (!SWIG_IsOK(res1
)) {
24572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24574 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24575 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24576 if (!SWIG_IsOK(ecode2
)) {
24577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24579 arg2
= static_cast< int >(val2
);
24581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24582 (arg1
)->SetQuality(arg2
);
24583 wxPyEndAllowThreads(__tstate
);
24584 if (PyErr_Occurred()) SWIG_fail
;
24586 resultobj
= SWIG_Py_Void();
24593 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
= 0;
24595 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24601 PyObject
* obj0
= 0 ;
24602 PyObject
* obj1
= 0 ;
24603 char * kwnames
[] = {
24604 (char *) "self",(char *) "bin", NULL
24607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24609 if (!SWIG_IsOK(res1
)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24612 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24614 if (!SWIG_IsOK(ecode2
)) {
24615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24617 arg2
= static_cast< wxPrintBin
>(val2
);
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 (arg1
)->SetBin(arg2
);
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24624 resultobj
= SWIG_Py_Void();
24631 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
= 0;
24633 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 char * kwnames
[] = {
24642 (char *) "self",(char *) "printMode", NULL
24645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24647 if (!SWIG_IsOK(res1
)) {
24648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24650 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24651 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24652 if (!SWIG_IsOK(ecode2
)) {
24653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24655 arg2
= static_cast< wxPrintMode
>(val2
);
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 (arg1
)->SetPrintMode(arg2
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= SWIG_Py_Void();
24669 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24670 PyObject
*resultobj
= 0;
24671 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24675 PyObject
*swig_obj
[1] ;
24677 if (!args
) SWIG_fail
;
24678 swig_obj
[0] = args
;
24679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24680 if (!SWIG_IsOK(res1
)) {
24681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24683 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24687 wxPyEndAllowThreads(__tstate
);
24688 if (PyErr_Occurred()) SWIG_fail
;
24692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24703 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24704 PyObject
*resultobj
= 0;
24705 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24706 wxString
*arg2
= 0 ;
24709 bool temp2
= false ;
24710 PyObject
* obj0
= 0 ;
24711 PyObject
* obj1
= 0 ;
24712 char * kwnames
[] = {
24713 (char *) "self",(char *) "filename", NULL
24716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24718 if (!SWIG_IsOK(res1
)) {
24719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24721 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24723 arg2
= wxString_in_helper(obj1
);
24724 if (arg2
== NULL
) SWIG_fail
;
24728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24729 (arg1
)->SetFilename((wxString
const &)*arg2
);
24730 wxPyEndAllowThreads(__tstate
);
24731 if (PyErr_Occurred()) SWIG_fail
;
24733 resultobj
= SWIG_Py_Void();
24748 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24749 PyObject
*resultobj
= 0;
24750 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24751 PyObject
*result
= 0 ;
24754 PyObject
*swig_obj
[1] ;
24756 if (!args
) SWIG_fail
;
24757 swig_obj
[0] = args
;
24758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24759 if (!SWIG_IsOK(res1
)) {
24760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24762 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24769 resultobj
= result
;
24776 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
= 0;
24778 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24779 PyObject
*arg2
= (PyObject
*) 0 ;
24782 PyObject
* obj0
= 0 ;
24783 PyObject
* obj1
= 0 ;
24784 char * kwnames
[] = {
24785 (char *) "self",(char *) "data", NULL
24788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24790 if (!SWIG_IsOK(res1
)) {
24791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24793 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 wxPrintData_SetPrivData(arg1
,arg2
);
24798 wxPyEndAllowThreads(__tstate
);
24799 if (PyErr_Occurred()) SWIG_fail
;
24801 resultobj
= SWIG_Py_Void();
24808 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24810 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24811 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24812 return SWIG_Py_Void();
24815 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24816 return SWIG_Python_InitShadowInstance(args
);
24819 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24820 PyObject
*resultobj
= 0;
24821 wxPageSetupDialogData
*result
= 0 ;
24823 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24826 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24830 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24837 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24838 PyObject
*resultobj
= 0;
24839 wxPageSetupDialogData
*arg1
= 0 ;
24840 wxPageSetupDialogData
*result
= 0 ;
24844 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24846 if (!SWIG_IsOK(res1
)) {
24847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24850 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24852 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24866 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24867 PyObject
*resultobj
= 0;
24868 wxPrintData
*arg1
= 0 ;
24869 wxPageSetupDialogData
*result
= 0 ;
24873 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24875 if (!SWIG_IsOK(res1
)) {
24876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24879 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24881 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24884 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24885 wxPyEndAllowThreads(__tstate
);
24886 if (PyErr_Occurred()) SWIG_fail
;
24888 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24895 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24899 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24902 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24907 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24908 _v
= SWIG_CheckState(res
);
24910 if (!_v
) goto check_2
;
24911 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24916 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24920 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24925 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24926 PyObject
*resultobj
= 0;
24927 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24930 PyObject
*swig_obj
[1] ;
24932 if (!args
) SWIG_fail
;
24933 swig_obj
[0] = args
;
24934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24935 if (!SWIG_IsOK(res1
)) {
24936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24938 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24943 wxPyEndAllowThreads(__tstate
);
24944 if (PyErr_Occurred()) SWIG_fail
;
24946 resultobj
= SWIG_Py_Void();
24953 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24954 PyObject
*resultobj
= 0;
24955 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24961 PyObject
* obj0
= 0 ;
24962 PyObject
* obj1
= 0 ;
24963 char * kwnames
[] = {
24964 (char *) "self",(char *) "flag", NULL
24967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24969 if (!SWIG_IsOK(res1
)) {
24970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24972 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24973 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24974 if (!SWIG_IsOK(ecode2
)) {
24975 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24977 arg2
= static_cast< bool >(val2
);
24979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24980 (arg1
)->EnableHelp(arg2
);
24981 wxPyEndAllowThreads(__tstate
);
24982 if (PyErr_Occurred()) SWIG_fail
;
24984 resultobj
= SWIG_Py_Void();
24991 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24992 PyObject
*resultobj
= 0;
24993 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24999 PyObject
* obj0
= 0 ;
25000 PyObject
* obj1
= 0 ;
25001 char * kwnames
[] = {
25002 (char *) "self",(char *) "flag", NULL
25005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25007 if (!SWIG_IsOK(res1
)) {
25008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25010 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25011 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25012 if (!SWIG_IsOK(ecode2
)) {
25013 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25015 arg2
= static_cast< bool >(val2
);
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 (arg1
)->EnableMargins(arg2
);
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25022 resultobj
= SWIG_Py_Void();
25029 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
= 0;
25031 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25037 PyObject
* obj0
= 0 ;
25038 PyObject
* obj1
= 0 ;
25039 char * kwnames
[] = {
25040 (char *) "self",(char *) "flag", NULL
25043 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25044 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25045 if (!SWIG_IsOK(res1
)) {
25046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25048 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25049 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25050 if (!SWIG_IsOK(ecode2
)) {
25051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25053 arg2
= static_cast< bool >(val2
);
25055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25056 (arg1
)->EnableOrientation(arg2
);
25057 wxPyEndAllowThreads(__tstate
);
25058 if (PyErr_Occurred()) SWIG_fail
;
25060 resultobj
= SWIG_Py_Void();
25067 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25068 PyObject
*resultobj
= 0;
25069 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25075 PyObject
* obj0
= 0 ;
25076 PyObject
* obj1
= 0 ;
25077 char * kwnames
[] = {
25078 (char *) "self",(char *) "flag", NULL
25081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25083 if (!SWIG_IsOK(res1
)) {
25084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25086 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25087 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25088 if (!SWIG_IsOK(ecode2
)) {
25089 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25091 arg2
= static_cast< bool >(val2
);
25093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25094 (arg1
)->EnablePaper(arg2
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 resultobj
= SWIG_Py_Void();
25105 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25106 PyObject
*resultobj
= 0;
25107 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25113 PyObject
* obj0
= 0 ;
25114 PyObject
* obj1
= 0 ;
25115 char * kwnames
[] = {
25116 (char *) "self",(char *) "flag", NULL
25119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25121 if (!SWIG_IsOK(res1
)) {
25122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25124 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25125 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25126 if (!SWIG_IsOK(ecode2
)) {
25127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25129 arg2
= static_cast< bool >(val2
);
25131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25132 (arg1
)->EnablePrinter(arg2
);
25133 wxPyEndAllowThreads(__tstate
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= SWIG_Py_Void();
25143 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25144 PyObject
*resultobj
= 0;
25145 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25149 PyObject
*swig_obj
[1] ;
25151 if (!args
) SWIG_fail
;
25152 swig_obj
[0] = args
;
25153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25154 if (!SWIG_IsOK(res1
)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25157 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (bool)(arg1
)->GetDefaultMinMargins();
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25173 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25174 PyObject
*resultobj
= 0;
25175 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25179 PyObject
*swig_obj
[1] ;
25181 if (!args
) SWIG_fail
;
25182 swig_obj
[0] = args
;
25183 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25184 if (!SWIG_IsOK(res1
)) {
25185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25187 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 result
= (bool)(arg1
)->GetEnableMargins();
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25195 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25203 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25204 PyObject
*resultobj
= 0;
25205 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25209 PyObject
*swig_obj
[1] ;
25211 if (!args
) SWIG_fail
;
25212 swig_obj
[0] = args
;
25213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25214 if (!SWIG_IsOK(res1
)) {
25215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25217 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 result
= (bool)(arg1
)->GetEnableOrientation();
25221 wxPyEndAllowThreads(__tstate
);
25222 if (PyErr_Occurred()) SWIG_fail
;
25225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25233 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25234 PyObject
*resultobj
= 0;
25235 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25239 PyObject
*swig_obj
[1] ;
25241 if (!args
) SWIG_fail
;
25242 swig_obj
[0] = args
;
25243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25244 if (!SWIG_IsOK(res1
)) {
25245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25247 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25250 result
= (bool)(arg1
)->GetEnablePaper();
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25263 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25264 PyObject
*resultobj
= 0;
25265 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25269 PyObject
*swig_obj
[1] ;
25271 if (!args
) SWIG_fail
;
25272 swig_obj
[0] = args
;
25273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25274 if (!SWIG_IsOK(res1
)) {
25275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25277 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25280 result
= (bool)(arg1
)->GetEnablePrinter();
25281 wxPyEndAllowThreads(__tstate
);
25282 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25293 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25294 PyObject
*resultobj
= 0;
25295 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25299 PyObject
*swig_obj
[1] ;
25301 if (!args
) SWIG_fail
;
25302 swig_obj
[0] = args
;
25303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25304 if (!SWIG_IsOK(res1
)) {
25305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25307 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25310 result
= (bool)(arg1
)->GetEnableHelp();
25311 wxPyEndAllowThreads(__tstate
);
25312 if (PyErr_Occurred()) SWIG_fail
;
25315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25323 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25324 PyObject
*resultobj
= 0;
25325 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25329 PyObject
*swig_obj
[1] ;
25331 if (!args
) SWIG_fail
;
25332 swig_obj
[0] = args
;
25333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25334 if (!SWIG_IsOK(res1
)) {
25335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25337 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25340 result
= (bool)(arg1
)->GetDefaultInfo();
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25353 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25354 PyObject
*resultobj
= 0;
25355 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25359 PyObject
*swig_obj
[1] ;
25361 if (!args
) SWIG_fail
;
25362 swig_obj
[0] = args
;
25363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25364 if (!SWIG_IsOK(res1
)) {
25365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25367 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25370 result
= (arg1
)->GetMarginTopLeft();
25371 wxPyEndAllowThreads(__tstate
);
25372 if (PyErr_Occurred()) SWIG_fail
;
25374 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25381 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25382 PyObject
*resultobj
= 0;
25383 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25387 PyObject
*swig_obj
[1] ;
25389 if (!args
) SWIG_fail
;
25390 swig_obj
[0] = args
;
25391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25392 if (!SWIG_IsOK(res1
)) {
25393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25395 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25398 result
= (arg1
)->GetMarginBottomRight();
25399 wxPyEndAllowThreads(__tstate
);
25400 if (PyErr_Occurred()) SWIG_fail
;
25402 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25409 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25410 PyObject
*resultobj
= 0;
25411 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25415 PyObject
*swig_obj
[1] ;
25417 if (!args
) SWIG_fail
;
25418 swig_obj
[0] = args
;
25419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25420 if (!SWIG_IsOK(res1
)) {
25421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25423 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25426 result
= (arg1
)->GetMinMarginTopLeft();
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25437 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25438 PyObject
*resultobj
= 0;
25439 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25443 PyObject
*swig_obj
[1] ;
25445 if (!args
) SWIG_fail
;
25446 swig_obj
[0] = args
;
25447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25448 if (!SWIG_IsOK(res1
)) {
25449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25451 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25454 result
= (arg1
)->GetMinMarginBottomRight();
25455 wxPyEndAllowThreads(__tstate
);
25456 if (PyErr_Occurred()) SWIG_fail
;
25458 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25465 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25466 PyObject
*resultobj
= 0;
25467 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25468 wxPaperSize result
;
25471 PyObject
*swig_obj
[1] ;
25473 if (!args
) SWIG_fail
;
25474 swig_obj
[0] = args
;
25475 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25476 if (!SWIG_IsOK(res1
)) {
25477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25479 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25482 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25483 wxPyEndAllowThreads(__tstate
);
25484 if (PyErr_Occurred()) SWIG_fail
;
25486 resultobj
= SWIG_From_int(static_cast< int >(result
));
25493 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25494 PyObject
*resultobj
= 0;
25495 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25499 PyObject
*swig_obj
[1] ;
25501 if (!args
) SWIG_fail
;
25502 swig_obj
[0] = args
;
25503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25504 if (!SWIG_IsOK(res1
)) {
25505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25507 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= (arg1
)->GetPaperSize();
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25514 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25521 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25522 PyObject
*resultobj
= 0;
25523 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25524 wxPrintData
*result
= 0 ;
25527 PyObject
*swig_obj
[1] ;
25529 if (!args
) SWIG_fail
;
25530 swig_obj
[0] = args
;
25531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25532 if (!SWIG_IsOK(res1
)) {
25533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25535 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25539 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25540 result
= (wxPrintData
*) &_result_ref
;
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25545 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25552 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25553 PyObject
*resultobj
= 0;
25554 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25558 PyObject
*swig_obj
[1] ;
25560 if (!args
) SWIG_fail
;
25561 swig_obj
[0] = args
;
25562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25563 if (!SWIG_IsOK(res1
)) {
25564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25566 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25569 result
= (bool)(arg1
)->Ok();
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25582 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
= 0;
25584 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25590 PyObject
* obj0
= 0 ;
25591 PyObject
* obj1
= 0 ;
25592 char * kwnames
[] = {
25593 (char *) "self",(char *) "flag", NULL
25596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25598 if (!SWIG_IsOK(res1
)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25601 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25602 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25603 if (!SWIG_IsOK(ecode2
)) {
25604 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25606 arg2
= static_cast< bool >(val2
);
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 (arg1
)->SetDefaultInfo(arg2
);
25610 wxPyEndAllowThreads(__tstate
);
25611 if (PyErr_Occurred()) SWIG_fail
;
25613 resultobj
= SWIG_Py_Void();
25620 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25621 PyObject
*resultobj
= 0;
25622 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25628 PyObject
* obj0
= 0 ;
25629 PyObject
* obj1
= 0 ;
25630 char * kwnames
[] = {
25631 (char *) "self",(char *) "flag", NULL
25634 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25635 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25636 if (!SWIG_IsOK(res1
)) {
25637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25639 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25640 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25641 if (!SWIG_IsOK(ecode2
)) {
25642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25644 arg2
= static_cast< bool >(val2
);
25646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25647 (arg1
)->SetDefaultMinMargins(arg2
);
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25651 resultobj
= SWIG_Py_Void();
25658 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25659 PyObject
*resultobj
= 0;
25660 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25661 wxPoint
*arg2
= 0 ;
25665 PyObject
* obj0
= 0 ;
25666 PyObject
* obj1
= 0 ;
25667 char * kwnames
[] = {
25668 (char *) "self",(char *) "pt", NULL
25671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25673 if (!SWIG_IsOK(res1
)) {
25674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25676 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25679 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25683 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25687 resultobj
= SWIG_Py_Void();
25694 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25695 PyObject
*resultobj
= 0;
25696 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25697 wxPoint
*arg2
= 0 ;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 char * kwnames
[] = {
25704 (char *) "self",(char *) "pt", NULL
25707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25709 if (!SWIG_IsOK(res1
)) {
25710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25712 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25715 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 resultobj
= SWIG_Py_Void();
25730 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25731 PyObject
*resultobj
= 0;
25732 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25733 wxPoint
*arg2
= 0 ;
25737 PyObject
* obj0
= 0 ;
25738 PyObject
* obj1
= 0 ;
25739 char * kwnames
[] = {
25740 (char *) "self",(char *) "pt", NULL
25743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25745 if (!SWIG_IsOK(res1
)) {
25746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25748 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25751 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25755 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25756 wxPyEndAllowThreads(__tstate
);
25757 if (PyErr_Occurred()) SWIG_fail
;
25759 resultobj
= SWIG_Py_Void();
25766 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25767 PyObject
*resultobj
= 0;
25768 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25769 wxPoint
*arg2
= 0 ;
25773 PyObject
* obj0
= 0 ;
25774 PyObject
* obj1
= 0 ;
25775 char * kwnames
[] = {
25776 (char *) "self",(char *) "pt", NULL
25779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25781 if (!SWIG_IsOK(res1
)) {
25782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25784 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25787 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25792 wxPyEndAllowThreads(__tstate
);
25793 if (PyErr_Occurred()) SWIG_fail
;
25795 resultobj
= SWIG_Py_Void();
25802 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25803 PyObject
*resultobj
= 0;
25804 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25810 PyObject
* obj0
= 0 ;
25811 PyObject
* obj1
= 0 ;
25812 char * kwnames
[] = {
25813 (char *) "self",(char *) "id", NULL
25816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25818 if (!SWIG_IsOK(res1
)) {
25819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25821 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25823 if (!SWIG_IsOK(ecode2
)) {
25824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25826 arg2
= static_cast< wxPaperSize
>(val2
);
25828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25829 (arg1
)->SetPaperId(arg2
);
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25833 resultobj
= SWIG_Py_Void();
25840 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25841 PyObject
*resultobj
= 0;
25842 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25847 PyObject
* obj0
= 0 ;
25848 PyObject
* obj1
= 0 ;
25849 char * kwnames
[] = {
25850 (char *) "self",(char *) "size", NULL
25853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25855 if (!SWIG_IsOK(res1
)) {
25856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25858 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25861 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25865 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25866 wxPyEndAllowThreads(__tstate
);
25867 if (PyErr_Occurred()) SWIG_fail
;
25869 resultobj
= SWIG_Py_Void();
25876 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25877 PyObject
*resultobj
= 0;
25878 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25879 wxPrintData
*arg2
= 0 ;
25884 PyObject
* obj0
= 0 ;
25885 PyObject
* obj1
= 0 ;
25886 char * kwnames
[] = {
25887 (char *) "self",(char *) "printData", NULL
25890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25892 if (!SWIG_IsOK(res1
)) {
25893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25895 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25896 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25897 if (!SWIG_IsOK(res2
)) {
25898 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25901 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25903 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25907 wxPyEndAllowThreads(__tstate
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25910 resultobj
= SWIG_Py_Void();
25917 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25918 PyObject
*resultobj
= 0;
25919 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25922 PyObject
*swig_obj
[1] ;
25924 if (!args
) SWIG_fail
;
25925 swig_obj
[0] = args
;
25926 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25927 if (!SWIG_IsOK(res1
)) {
25928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25930 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25933 (arg1
)->CalculateIdFromPaperSize();
25934 wxPyEndAllowThreads(__tstate
);
25935 if (PyErr_Occurred()) SWIG_fail
;
25937 resultobj
= SWIG_Py_Void();
25944 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25945 PyObject
*resultobj
= 0;
25946 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25949 PyObject
*swig_obj
[1] ;
25951 if (!args
) SWIG_fail
;
25952 swig_obj
[0] = args
;
25953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25954 if (!SWIG_IsOK(res1
)) {
25955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25957 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 (arg1
)->CalculatePaperSizeFromId();
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= SWIG_Py_Void();
25971 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25973 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25974 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25975 return SWIG_Py_Void();
25978 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25979 return SWIG_Python_InitShadowInstance(args
);
25982 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25983 PyObject
*resultobj
= 0;
25984 wxWindow
*arg1
= (wxWindow
*) 0 ;
25985 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25986 wxPageSetupDialog
*result
= 0 ;
25991 PyObject
* obj0
= 0 ;
25992 PyObject
* obj1
= 0 ;
25993 char * kwnames
[] = {
25994 (char *) "parent",(char *) "data", NULL
25997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25999 if (!SWIG_IsOK(res1
)) {
26000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26002 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26004 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26005 if (!SWIG_IsOK(res2
)) {
26006 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26008 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
26011 if (!wxPyCheckForApp()) SWIG_fail
;
26012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26013 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
26024 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26025 PyObject
*resultobj
= 0;
26026 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26029 PyObject
*swig_obj
[1] ;
26031 if (!args
) SWIG_fail
;
26032 swig_obj
[0] = args
;
26033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26034 if (!SWIG_IsOK(res1
)) {
26035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26037 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 wxPyEndAllowThreads(__tstate
);
26043 if (PyErr_Occurred()) SWIG_fail
;
26045 resultobj
= SWIG_Py_Void();
26052 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26053 PyObject
*resultobj
= 0;
26054 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26055 wxPageSetupDialogData
*result
= 0 ;
26058 PyObject
*swig_obj
[1] ;
26060 if (!args
) SWIG_fail
;
26061 swig_obj
[0] = args
;
26062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26063 if (!SWIG_IsOK(res1
)) {
26064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26066 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26070 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26071 result
= (wxPageSetupDialogData
*) &_result_ref
;
26073 wxPyEndAllowThreads(__tstate
);
26074 if (PyErr_Occurred()) SWIG_fail
;
26076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26083 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26084 PyObject
*resultobj
= 0;
26085 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26086 wxPageSetupDialogData
*result
= 0 ;
26089 PyObject
*swig_obj
[1] ;
26091 if (!args
) SWIG_fail
;
26092 swig_obj
[0] = args
;
26093 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26094 if (!SWIG_IsOK(res1
)) {
26095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26097 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26102 result
= (wxPageSetupDialogData
*) &_result_ref
;
26104 wxPyEndAllowThreads(__tstate
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26114 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26115 PyObject
*resultobj
= 0;
26116 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26120 PyObject
*swig_obj
[1] ;
26122 if (!args
) SWIG_fail
;
26123 swig_obj
[0] = args
;
26124 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26125 if (!SWIG_IsOK(res1
)) {
26126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26128 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26131 result
= (int)(arg1
)->ShowModal();
26132 wxPyEndAllowThreads(__tstate
);
26133 if (PyErr_Occurred()) SWIG_fail
;
26135 resultobj
= SWIG_From_int(static_cast< int >(result
));
26142 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26145 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26146 return SWIG_Py_Void();
26149 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26150 return SWIG_Python_InitShadowInstance(args
);
26153 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26154 PyObject
*resultobj
= 0;
26155 wxPrintDialogData
*result
= 0 ;
26157 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26161 wxPyEndAllowThreads(__tstate
);
26162 if (PyErr_Occurred()) SWIG_fail
;
26164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26171 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26172 PyObject
*resultobj
= 0;
26173 wxPrintData
*arg1
= 0 ;
26174 wxPrintDialogData
*result
= 0 ;
26178 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26179 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26180 if (!SWIG_IsOK(res1
)) {
26181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26184 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26186 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26189 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26200 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26201 PyObject
*resultobj
= 0;
26202 wxPrintDialogData
*arg1
= 0 ;
26203 wxPrintDialogData
*result
= 0 ;
26207 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26208 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26209 if (!SWIG_IsOK(res1
)) {
26210 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26213 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26215 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26218 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26219 wxPyEndAllowThreads(__tstate
);
26220 if (PyErr_Occurred()) SWIG_fail
;
26222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26229 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26233 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26236 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26241 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26242 _v
= SWIG_CheckState(res
);
26244 if (!_v
) goto check_2
;
26245 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26250 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26254 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26259 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26260 PyObject
*resultobj
= 0;
26261 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26264 PyObject
*swig_obj
[1] ;
26266 if (!args
) SWIG_fail
;
26267 swig_obj
[0] = args
;
26268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26269 if (!SWIG_IsOK(res1
)) {
26270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26272 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26277 wxPyEndAllowThreads(__tstate
);
26278 if (PyErr_Occurred()) SWIG_fail
;
26280 resultobj
= SWIG_Py_Void();
26287 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26288 PyObject
*resultobj
= 0;
26289 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26293 PyObject
*swig_obj
[1] ;
26295 if (!args
) SWIG_fail
;
26296 swig_obj
[0] = args
;
26297 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26298 if (!SWIG_IsOK(res1
)) {
26299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26301 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26304 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= SWIG_From_int(static_cast< int >(result
));
26315 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26316 PyObject
*resultobj
= 0;
26317 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26321 PyObject
*swig_obj
[1] ;
26323 if (!args
) SWIG_fail
;
26324 swig_obj
[0] = args
;
26325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26326 if (!SWIG_IsOK(res1
)) {
26327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26329 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26332 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26333 wxPyEndAllowThreads(__tstate
);
26334 if (PyErr_Occurred()) SWIG_fail
;
26336 resultobj
= SWIG_From_int(static_cast< int >(result
));
26343 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26344 PyObject
*resultobj
= 0;
26345 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26349 PyObject
*swig_obj
[1] ;
26351 if (!args
) SWIG_fail
;
26352 swig_obj
[0] = args
;
26353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26354 if (!SWIG_IsOK(res1
)) {
26355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26357 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26360 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26361 wxPyEndAllowThreads(__tstate
);
26362 if (PyErr_Occurred()) SWIG_fail
;
26364 resultobj
= SWIG_From_int(static_cast< int >(result
));
26371 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26372 PyObject
*resultobj
= 0;
26373 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26377 PyObject
*swig_obj
[1] ;
26379 if (!args
) SWIG_fail
;
26380 swig_obj
[0] = args
;
26381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26382 if (!SWIG_IsOK(res1
)) {
26383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26385 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26389 wxPyEndAllowThreads(__tstate
);
26390 if (PyErr_Occurred()) SWIG_fail
;
26392 resultobj
= SWIG_From_int(static_cast< int >(result
));
26399 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26400 PyObject
*resultobj
= 0;
26401 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26405 PyObject
*swig_obj
[1] ;
26407 if (!args
) SWIG_fail
;
26408 swig_obj
[0] = args
;
26409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26410 if (!SWIG_IsOK(res1
)) {
26411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26413 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26416 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26417 wxPyEndAllowThreads(__tstate
);
26418 if (PyErr_Occurred()) SWIG_fail
;
26420 resultobj
= SWIG_From_int(static_cast< int >(result
));
26427 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26428 PyObject
*resultobj
= 0;
26429 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26433 PyObject
*swig_obj
[1] ;
26435 if (!args
) SWIG_fail
;
26436 swig_obj
[0] = args
;
26437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26438 if (!SWIG_IsOK(res1
)) {
26439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26441 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26444 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26457 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26458 PyObject
*resultobj
= 0;
26459 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26463 PyObject
*swig_obj
[1] ;
26465 if (!args
) SWIG_fail
;
26466 swig_obj
[0] = args
;
26467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26468 if (!SWIG_IsOK(res1
)) {
26469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26471 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26474 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26475 wxPyEndAllowThreads(__tstate
);
26476 if (PyErr_Occurred()) SWIG_fail
;
26479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26487 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26488 PyObject
*resultobj
= 0;
26489 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26493 PyObject
*swig_obj
[1] ;
26495 if (!args
) SWIG_fail
;
26496 swig_obj
[0] = args
;
26497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26498 if (!SWIG_IsOK(res1
)) {
26499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26501 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26504 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26505 wxPyEndAllowThreads(__tstate
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26517 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26518 PyObject
*resultobj
= 0;
26519 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26523 PyObject
*swig_obj
[1] ;
26525 if (!args
) SWIG_fail
;
26526 swig_obj
[0] = args
;
26527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26528 if (!SWIG_IsOK(res1
)) {
26529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26531 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26534 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26547 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
= 0;
26549 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26555 PyObject
* obj0
= 0 ;
26556 PyObject
* obj1
= 0 ;
26557 char * kwnames
[] = {
26558 (char *) "self",(char *) "v", NULL
26561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26563 if (!SWIG_IsOK(res1
)) {
26564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26566 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26567 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26568 if (!SWIG_IsOK(ecode2
)) {
26569 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26571 arg2
= static_cast< int >(val2
);
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 (arg1
)->SetFromPage(arg2
);
26575 wxPyEndAllowThreads(__tstate
);
26576 if (PyErr_Occurred()) SWIG_fail
;
26578 resultobj
= SWIG_Py_Void();
26585 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26586 PyObject
*resultobj
= 0;
26587 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26593 PyObject
* obj0
= 0 ;
26594 PyObject
* obj1
= 0 ;
26595 char * kwnames
[] = {
26596 (char *) "self",(char *) "v", NULL
26599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26601 if (!SWIG_IsOK(res1
)) {
26602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26604 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26606 if (!SWIG_IsOK(ecode2
)) {
26607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26609 arg2
= static_cast< int >(val2
);
26611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26612 (arg1
)->SetToPage(arg2
);
26613 wxPyEndAllowThreads(__tstate
);
26614 if (PyErr_Occurred()) SWIG_fail
;
26616 resultobj
= SWIG_Py_Void();
26623 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26624 PyObject
*resultobj
= 0;
26625 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26631 PyObject
* obj0
= 0 ;
26632 PyObject
* obj1
= 0 ;
26633 char * kwnames
[] = {
26634 (char *) "self",(char *) "v", NULL
26637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26639 if (!SWIG_IsOK(res1
)) {
26640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26642 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26643 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26644 if (!SWIG_IsOK(ecode2
)) {
26645 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26647 arg2
= static_cast< int >(val2
);
26649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26650 (arg1
)->SetMinPage(arg2
);
26651 wxPyEndAllowThreads(__tstate
);
26652 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= SWIG_Py_Void();
26661 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26662 PyObject
*resultobj
= 0;
26663 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26669 PyObject
* obj0
= 0 ;
26670 PyObject
* obj1
= 0 ;
26671 char * kwnames
[] = {
26672 (char *) "self",(char *) "v", NULL
26675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26677 if (!SWIG_IsOK(res1
)) {
26678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26680 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26681 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26682 if (!SWIG_IsOK(ecode2
)) {
26683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26685 arg2
= static_cast< int >(val2
);
26687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26688 (arg1
)->SetMaxPage(arg2
);
26689 wxPyEndAllowThreads(__tstate
);
26690 if (PyErr_Occurred()) SWIG_fail
;
26692 resultobj
= SWIG_Py_Void();
26699 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26700 PyObject
*resultobj
= 0;
26701 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26707 PyObject
* obj0
= 0 ;
26708 PyObject
* obj1
= 0 ;
26709 char * kwnames
[] = {
26710 (char *) "self",(char *) "v", NULL
26713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26715 if (!SWIG_IsOK(res1
)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26718 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26720 if (!SWIG_IsOK(ecode2
)) {
26721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26723 arg2
= static_cast< int >(val2
);
26725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26726 (arg1
)->SetNoCopies(arg2
);
26727 wxPyEndAllowThreads(__tstate
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26730 resultobj
= SWIG_Py_Void();
26737 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26738 PyObject
*resultobj
= 0;
26739 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26745 PyObject
* obj0
= 0 ;
26746 PyObject
* obj1
= 0 ;
26747 char * kwnames
[] = {
26748 (char *) "self",(char *) "flag", NULL
26751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26753 if (!SWIG_IsOK(res1
)) {
26754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26756 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26757 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26758 if (!SWIG_IsOK(ecode2
)) {
26759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26761 arg2
= static_cast< bool >(val2
);
26763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26764 (arg1
)->SetAllPages(arg2
);
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 resultobj
= SWIG_Py_Void();
26775 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
= 0;
26777 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26783 PyObject
* obj0
= 0 ;
26784 PyObject
* obj1
= 0 ;
26785 char * kwnames
[] = {
26786 (char *) "self",(char *) "flag", NULL
26789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26791 if (!SWIG_IsOK(res1
)) {
26792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26794 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26795 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26796 if (!SWIG_IsOK(ecode2
)) {
26797 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26799 arg2
= static_cast< bool >(val2
);
26801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26802 (arg1
)->SetSelection(arg2
);
26803 wxPyEndAllowThreads(__tstate
);
26804 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= SWIG_Py_Void();
26813 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26814 PyObject
*resultobj
= 0;
26815 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26821 PyObject
* obj0
= 0 ;
26822 PyObject
* obj1
= 0 ;
26823 char * kwnames
[] = {
26824 (char *) "self",(char *) "flag", NULL
26827 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26828 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26829 if (!SWIG_IsOK(res1
)) {
26830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26832 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26833 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26834 if (!SWIG_IsOK(ecode2
)) {
26835 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26837 arg2
= static_cast< bool >(val2
);
26839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26840 (arg1
)->SetCollate(arg2
);
26841 wxPyEndAllowThreads(__tstate
);
26842 if (PyErr_Occurred()) SWIG_fail
;
26844 resultobj
= SWIG_Py_Void();
26851 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26852 PyObject
*resultobj
= 0;
26853 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26859 PyObject
* obj0
= 0 ;
26860 PyObject
* obj1
= 0 ;
26861 char * kwnames
[] = {
26862 (char *) "self",(char *) "flag", NULL
26865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26867 if (!SWIG_IsOK(res1
)) {
26868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26870 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26871 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26872 if (!SWIG_IsOK(ecode2
)) {
26873 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26875 arg2
= static_cast< bool >(val2
);
26877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26878 (arg1
)->SetPrintToFile(arg2
);
26879 wxPyEndAllowThreads(__tstate
);
26880 if (PyErr_Occurred()) SWIG_fail
;
26882 resultobj
= SWIG_Py_Void();
26889 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26890 PyObject
*resultobj
= 0;
26891 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26897 PyObject
* obj0
= 0 ;
26898 PyObject
* obj1
= 0 ;
26899 char * kwnames
[] = {
26900 (char *) "self",(char *) "flag", NULL
26903 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26904 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26905 if (!SWIG_IsOK(res1
)) {
26906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26908 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26909 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26910 if (!SWIG_IsOK(ecode2
)) {
26911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26913 arg2
= static_cast< bool >(val2
);
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26916 (arg1
)->EnablePrintToFile(arg2
);
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26920 resultobj
= SWIG_Py_Void();
26927 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
= 0;
26929 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26935 PyObject
* obj0
= 0 ;
26936 PyObject
* obj1
= 0 ;
26937 char * kwnames
[] = {
26938 (char *) "self",(char *) "flag", NULL
26941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26943 if (!SWIG_IsOK(res1
)) {
26944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26946 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26947 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26948 if (!SWIG_IsOK(ecode2
)) {
26949 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26951 arg2
= static_cast< bool >(val2
);
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 (arg1
)->EnableSelection(arg2
);
26955 wxPyEndAllowThreads(__tstate
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26958 resultobj
= SWIG_Py_Void();
26965 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26966 PyObject
*resultobj
= 0;
26967 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26973 PyObject
* obj0
= 0 ;
26974 PyObject
* obj1
= 0 ;
26975 char * kwnames
[] = {
26976 (char *) "self",(char *) "flag", NULL
26979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26981 if (!SWIG_IsOK(res1
)) {
26982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26984 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26985 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26986 if (!SWIG_IsOK(ecode2
)) {
26987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26989 arg2
= static_cast< bool >(val2
);
26991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 (arg1
)->EnablePageNumbers(arg2
);
26993 wxPyEndAllowThreads(__tstate
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26996 resultobj
= SWIG_Py_Void();
27003 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27004 PyObject
*resultobj
= 0;
27005 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27011 PyObject
* obj0
= 0 ;
27012 PyObject
* obj1
= 0 ;
27013 char * kwnames
[] = {
27014 (char *) "self",(char *) "flag", NULL
27017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27019 if (!SWIG_IsOK(res1
)) {
27020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27022 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27023 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27024 if (!SWIG_IsOK(ecode2
)) {
27025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27027 arg2
= static_cast< bool >(val2
);
27029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27030 (arg1
)->EnableHelp(arg2
);
27031 wxPyEndAllowThreads(__tstate
);
27032 if (PyErr_Occurred()) SWIG_fail
;
27034 resultobj
= SWIG_Py_Void();
27041 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27042 PyObject
*resultobj
= 0;
27043 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27047 PyObject
*swig_obj
[1] ;
27049 if (!args
) SWIG_fail
;
27050 swig_obj
[0] = args
;
27051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27052 if (!SWIG_IsOK(res1
)) {
27053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27055 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27058 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27059 wxPyEndAllowThreads(__tstate
);
27060 if (PyErr_Occurred()) SWIG_fail
;
27063 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27071 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27072 PyObject
*resultobj
= 0;
27073 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27077 PyObject
*swig_obj
[1] ;
27079 if (!args
) SWIG_fail
;
27080 swig_obj
[0] = args
;
27081 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27082 if (!SWIG_IsOK(res1
)) {
27083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27085 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27101 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27102 PyObject
*resultobj
= 0;
27103 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27107 PyObject
*swig_obj
[1] ;
27109 if (!args
) SWIG_fail
;
27110 swig_obj
[0] = args
;
27111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27112 if (!SWIG_IsOK(res1
)) {
27113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27115 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27119 wxPyEndAllowThreads(__tstate
);
27120 if (PyErr_Occurred()) SWIG_fail
;
27123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27131 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27132 PyObject
*resultobj
= 0;
27133 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27137 PyObject
*swig_obj
[1] ;
27139 if (!args
) SWIG_fail
;
27140 swig_obj
[0] = args
;
27141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27142 if (!SWIG_IsOK(res1
)) {
27143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27145 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27161 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27162 PyObject
*resultobj
= 0;
27163 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27167 PyObject
*swig_obj
[1] ;
27169 if (!args
) SWIG_fail
;
27170 swig_obj
[0] = args
;
27171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27172 if (!SWIG_IsOK(res1
)) {
27173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27175 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27178 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
27179 wxPyEndAllowThreads(__tstate
);
27180 if (PyErr_Occurred()) SWIG_fail
;
27183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27191 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27192 PyObject
*resultobj
= 0;
27193 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27194 wxPrintData
*result
= 0 ;
27197 PyObject
*swig_obj
[1] ;
27199 if (!args
) SWIG_fail
;
27200 swig_obj
[0] = args
;
27201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27202 if (!SWIG_IsOK(res1
)) {
27203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27205 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27209 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27210 result
= (wxPrintData
*) &_result_ref
;
27212 wxPyEndAllowThreads(__tstate
);
27213 if (PyErr_Occurred()) SWIG_fail
;
27215 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27222 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27223 PyObject
*resultobj
= 0;
27224 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27225 wxPrintData
*arg2
= 0 ;
27230 PyObject
* obj0
= 0 ;
27231 PyObject
* obj1
= 0 ;
27232 char * kwnames
[] = {
27233 (char *) "self",(char *) "printData", NULL
27236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27238 if (!SWIG_IsOK(res1
)) {
27239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27241 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27242 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27243 if (!SWIG_IsOK(res2
)) {
27244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27247 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27249 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27252 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= SWIG_Py_Void();
27263 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27265 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27266 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27267 return SWIG_Py_Void();
27270 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27271 return SWIG_Python_InitShadowInstance(args
);
27274 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
= 0;
27276 wxWindow
*arg1
= (wxWindow
*) 0 ;
27277 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27278 wxPrintDialog
*result
= 0 ;
27283 PyObject
* obj0
= 0 ;
27284 PyObject
* obj1
= 0 ;
27285 char * kwnames
[] = {
27286 (char *) "parent",(char *) "data", NULL
27289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27291 if (!SWIG_IsOK(res1
)) {
27292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27294 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27296 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27297 if (!SWIG_IsOK(res2
)) {
27298 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27300 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27303 if (!wxPyCheckForApp()) SWIG_fail
;
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27316 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27317 PyObject
*resultobj
= 0;
27318 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27321 PyObject
*swig_obj
[1] ;
27323 if (!args
) SWIG_fail
;
27324 swig_obj
[0] = args
;
27325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27326 if (!SWIG_IsOK(res1
)) {
27327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27329 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27334 wxPyEndAllowThreads(__tstate
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27337 resultobj
= SWIG_Py_Void();
27344 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27345 PyObject
*resultobj
= 0;
27346 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27350 PyObject
*swig_obj
[1] ;
27352 if (!args
) SWIG_fail
;
27353 swig_obj
[0] = args
;
27354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27355 if (!SWIG_IsOK(res1
)) {
27356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27358 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27361 result
= (int)(arg1
)->ShowModal();
27362 wxPyEndAllowThreads(__tstate
);
27363 if (PyErr_Occurred()) SWIG_fail
;
27365 resultobj
= SWIG_From_int(static_cast< int >(result
));
27372 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27373 PyObject
*resultobj
= 0;
27374 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27375 wxPrintDialogData
*result
= 0 ;
27378 PyObject
*swig_obj
[1] ;
27380 if (!args
) SWIG_fail
;
27381 swig_obj
[0] = args
;
27382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27383 if (!SWIG_IsOK(res1
)) {
27384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27386 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27390 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27391 result
= (wxPrintDialogData
*) &_result_ref
;
27393 wxPyEndAllowThreads(__tstate
);
27394 if (PyErr_Occurred()) SWIG_fail
;
27396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27403 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27404 PyObject
*resultobj
= 0;
27405 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27406 wxPrintData
*result
= 0 ;
27409 PyObject
*swig_obj
[1] ;
27411 if (!args
) SWIG_fail
;
27412 swig_obj
[0] = args
;
27413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27414 if (!SWIG_IsOK(res1
)) {
27415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27417 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27421 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27422 result
= (wxPrintData
*) &_result_ref
;
27424 wxPyEndAllowThreads(__tstate
);
27425 if (PyErr_Occurred()) SWIG_fail
;
27427 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27434 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27435 PyObject
*resultobj
= 0;
27436 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27440 PyObject
*swig_obj
[1] ;
27442 if (!args
) SWIG_fail
;
27443 swig_obj
[0] = args
;
27444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27445 if (!SWIG_IsOK(res1
)) {
27446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27448 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27451 result
= (wxDC
*)(arg1
)->GetPrintDC();
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27456 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27464 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27466 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27467 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27468 return SWIG_Py_Void();
27471 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27472 return SWIG_Python_InitShadowInstance(args
);
27475 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27476 PyObject
*resultobj
= 0;
27477 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27478 wxPrinter
*result
= 0 ;
27481 PyObject
* obj0
= 0 ;
27482 char * kwnames
[] = {
27483 (char *) "data", NULL
27486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27489 if (!SWIG_IsOK(res1
)) {
27490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27492 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27495 if (!wxPyCheckForApp()) SWIG_fail
;
27496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 result
= (wxPrinter
*)new wxPrinter(arg1
);
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27508 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27509 PyObject
*resultobj
= 0;
27510 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27513 PyObject
*swig_obj
[1] ;
27515 if (!args
) SWIG_fail
;
27516 swig_obj
[0] = args
;
27517 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27518 if (!SWIG_IsOK(res1
)) {
27519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27521 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27526 wxPyEndAllowThreads(__tstate
);
27527 if (PyErr_Occurred()) SWIG_fail
;
27529 resultobj
= SWIG_Py_Void();
27536 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27537 PyObject
*resultobj
= 0;
27538 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27539 wxWindow
*arg2
= (wxWindow
*) 0 ;
27540 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27541 wxWindow
*result
= 0 ;
27548 PyObject
* obj0
= 0 ;
27549 PyObject
* obj1
= 0 ;
27550 PyObject
* obj2
= 0 ;
27551 char * kwnames
[] = {
27552 (char *) "self",(char *) "parent",(char *) "printout", NULL
27555 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27556 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27557 if (!SWIG_IsOK(res1
)) {
27558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27560 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27561 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27562 if (!SWIG_IsOK(res2
)) {
27563 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27565 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27566 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27567 if (!SWIG_IsOK(res3
)) {
27568 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27570 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27574 wxPyEndAllowThreads(__tstate
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27578 resultobj
= wxPyMake_wxObject(result
, 0);
27586 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27587 PyObject
*resultobj
= 0;
27588 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27589 wxWindow
*arg2
= (wxWindow
*) 0 ;
27590 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27591 wxString
*arg4
= 0 ;
27598 bool temp4
= false ;
27599 PyObject
* obj0
= 0 ;
27600 PyObject
* obj1
= 0 ;
27601 PyObject
* obj2
= 0 ;
27602 PyObject
* obj3
= 0 ;
27603 char * kwnames
[] = {
27604 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27609 if (!SWIG_IsOK(res1
)) {
27610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27612 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27613 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27614 if (!SWIG_IsOK(res2
)) {
27615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27617 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27618 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27619 if (!SWIG_IsOK(res3
)) {
27620 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27622 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27624 arg4
= wxString_in_helper(obj3
);
27625 if (arg4
== NULL
) SWIG_fail
;
27629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27630 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27631 wxPyEndAllowThreads(__tstate
);
27632 if (PyErr_Occurred()) SWIG_fail
;
27634 resultobj
= SWIG_Py_Void();
27649 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27650 PyObject
*resultobj
= 0;
27651 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27652 wxWindow
*arg2
= (wxWindow
*) 0 ;
27658 PyObject
* obj0
= 0 ;
27659 PyObject
* obj1
= 0 ;
27660 char * kwnames
[] = {
27661 (char *) "self",(char *) "parent", NULL
27664 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27665 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27666 if (!SWIG_IsOK(res1
)) {
27667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27669 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27670 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27671 if (!SWIG_IsOK(res2
)) {
27672 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27674 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27677 result
= (bool)(arg1
)->Setup(arg2
);
27678 wxPyEndAllowThreads(__tstate
);
27679 if (PyErr_Occurred()) SWIG_fail
;
27682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27690 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27691 PyObject
*resultobj
= 0;
27692 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27693 wxWindow
*arg2
= (wxWindow
*) 0 ;
27694 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27695 bool arg4
= (bool) true ;
27705 PyObject
* obj0
= 0 ;
27706 PyObject
* obj1
= 0 ;
27707 PyObject
* obj2
= 0 ;
27708 PyObject
* obj3
= 0 ;
27709 char * kwnames
[] = {
27710 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27715 if (!SWIG_IsOK(res1
)) {
27716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27718 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27719 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27720 if (!SWIG_IsOK(res2
)) {
27721 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27723 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27724 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27725 if (!SWIG_IsOK(res3
)) {
27726 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27728 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27730 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27731 if (!SWIG_IsOK(ecode4
)) {
27732 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27734 arg4
= static_cast< bool >(val4
);
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27738 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27739 wxPyEndAllowThreads(__tstate
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27751 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27752 PyObject
*resultobj
= 0;
27753 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27754 wxWindow
*arg2
= (wxWindow
*) 0 ;
27760 PyObject
* obj0
= 0 ;
27761 PyObject
* obj1
= 0 ;
27762 char * kwnames
[] = {
27763 (char *) "self",(char *) "parent", NULL
27766 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27767 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27768 if (!SWIG_IsOK(res1
)) {
27769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27771 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27772 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27773 if (!SWIG_IsOK(res2
)) {
27774 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27776 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27779 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27780 wxPyEndAllowThreads(__tstate
);
27781 if (PyErr_Occurred()) SWIG_fail
;
27784 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27792 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27793 PyObject
*resultobj
= 0;
27794 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27795 wxPrintDialogData
*result
= 0 ;
27798 PyObject
*swig_obj
[1] ;
27800 if (!args
) SWIG_fail
;
27801 swig_obj
[0] = args
;
27802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27803 if (!SWIG_IsOK(res1
)) {
27804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27806 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27810 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27811 result
= (wxPrintDialogData
*) &_result_ref
;
27813 wxPyEndAllowThreads(__tstate
);
27814 if (PyErr_Occurred()) SWIG_fail
;
27816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27823 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27824 PyObject
*resultobj
= 0;
27825 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27829 PyObject
*swig_obj
[1] ;
27831 if (!args
) SWIG_fail
;
27832 swig_obj
[0] = args
;
27833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27834 if (!SWIG_IsOK(res1
)) {
27835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27837 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27840 result
= (bool)(arg1
)->GetAbort();
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27853 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27854 PyObject
*resultobj
= 0;
27855 wxPrinterError result
;
27857 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27860 result
= (wxPrinterError
)wxPrinter::GetLastError();
27861 wxPyEndAllowThreads(__tstate
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27864 resultobj
= SWIG_From_int(static_cast< int >(result
));
27871 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27873 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27874 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27875 return SWIG_Py_Void();
27878 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27879 return SWIG_Python_InitShadowInstance(args
);
27882 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27883 PyObject
*resultobj
= 0;
27884 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27885 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27886 wxPyPrintout
*result
= 0 ;
27887 bool temp1
= false ;
27888 PyObject
* obj0
= 0 ;
27889 char * kwnames
[] = {
27890 (char *) "title", NULL
27893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27896 arg1
= wxString_in_helper(obj0
);
27897 if (arg1
== NULL
) SWIG_fail
;
27902 if (!wxPyCheckForApp()) SWIG_fail
;
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27905 wxPyEndAllowThreads(__tstate
);
27906 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27923 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27924 PyObject
*resultobj
= 0;
27925 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27928 PyObject
*swig_obj
[1] ;
27930 if (!args
) SWIG_fail
;
27931 swig_obj
[0] = args
;
27932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27933 if (!SWIG_IsOK(res1
)) {
27934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27936 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27941 wxPyEndAllowThreads(__tstate
);
27942 if (PyErr_Occurred()) SWIG_fail
;
27944 resultobj
= SWIG_Py_Void();
27951 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27952 PyObject
*resultobj
= 0;
27953 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27954 PyObject
*arg2
= (PyObject
*) 0 ;
27955 PyObject
*arg3
= (PyObject
*) 0 ;
27958 PyObject
* obj0
= 0 ;
27959 PyObject
* obj1
= 0 ;
27960 PyObject
* obj2
= 0 ;
27961 char * kwnames
[] = {
27962 (char *) "self",(char *) "self",(char *) "_class", NULL
27965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27966 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27967 if (!SWIG_IsOK(res1
)) {
27968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27970 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27975 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27976 wxPyEndAllowThreads(__tstate
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27979 resultobj
= SWIG_Py_Void();
27986 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27987 PyObject
*resultobj
= 0;
27988 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27992 PyObject
*swig_obj
[1] ;
27994 if (!args
) SWIG_fail
;
27995 swig_obj
[0] = args
;
27996 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27997 if (!SWIG_IsOK(res1
)) {
27998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28000 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
28004 wxPyEndAllowThreads(__tstate
);
28005 if (PyErr_Occurred()) SWIG_fail
;
28009 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28011 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28020 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28021 PyObject
*resultobj
= 0;
28022 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28026 PyObject
*swig_obj
[1] ;
28028 if (!args
) SWIG_fail
;
28029 swig_obj
[0] = args
;
28030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28031 if (!SWIG_IsOK(res1
)) {
28032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28034 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28037 result
= (wxDC
*)(arg1
)->GetDC();
28038 wxPyEndAllowThreads(__tstate
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28042 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28050 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28051 PyObject
*resultobj
= 0;
28052 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28053 wxDC
*arg2
= (wxDC
*) 0 ;
28058 PyObject
* obj0
= 0 ;
28059 PyObject
* obj1
= 0 ;
28060 char * kwnames
[] = {
28061 (char *) "self",(char *) "dc", NULL
28064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28066 if (!SWIG_IsOK(res1
)) {
28067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28069 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28070 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28071 if (!SWIG_IsOK(res2
)) {
28072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28074 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28077 (arg1
)->SetDC(arg2
);
28078 wxPyEndAllowThreads(__tstate
);
28079 if (PyErr_Occurred()) SWIG_fail
;
28081 resultobj
= SWIG_Py_Void();
28088 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
= 0;
28090 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28099 PyObject
* obj0
= 0 ;
28100 PyObject
* obj1
= 0 ;
28101 PyObject
* obj2
= 0 ;
28102 char * kwnames
[] = {
28103 (char *) "self",(char *) "w",(char *) "h", NULL
28106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28108 if (!SWIG_IsOK(res1
)) {
28109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28111 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28113 if (!SWIG_IsOK(ecode2
)) {
28114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28116 arg2
= static_cast< int >(val2
);
28117 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28118 if (!SWIG_IsOK(ecode3
)) {
28119 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28121 arg3
= static_cast< int >(val3
);
28123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28124 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28125 wxPyEndAllowThreads(__tstate
);
28126 if (PyErr_Occurred()) SWIG_fail
;
28128 resultobj
= SWIG_Py_Void();
28135 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28136 PyObject
*resultobj
= 0;
28137 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28138 int *arg2
= (int *) 0 ;
28139 int *arg3
= (int *) 0 ;
28143 int res2
= SWIG_TMPOBJ
;
28145 int res3
= SWIG_TMPOBJ
;
28146 PyObject
*swig_obj
[1] ;
28150 if (!args
) SWIG_fail
;
28151 swig_obj
[0] = args
;
28152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28153 if (!SWIG_IsOK(res1
)) {
28154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28156 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28159 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28163 resultobj
= SWIG_Py_Void();
28164 if (SWIG_IsTmpObj(res2
)) {
28165 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28167 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28168 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28170 if (SWIG_IsTmpObj(res3
)) {
28171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28173 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28182 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28183 PyObject
*resultobj
= 0;
28184 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28193 PyObject
* obj0
= 0 ;
28194 PyObject
* obj1
= 0 ;
28195 PyObject
* obj2
= 0 ;
28196 char * kwnames
[] = {
28197 (char *) "self",(char *) "w",(char *) "h", NULL
28200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28202 if (!SWIG_IsOK(res1
)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28205 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28207 if (!SWIG_IsOK(ecode2
)) {
28208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28210 arg2
= static_cast< int >(val2
);
28211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28212 if (!SWIG_IsOK(ecode3
)) {
28213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28215 arg3
= static_cast< int >(val3
);
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28219 wxPyEndAllowThreads(__tstate
);
28220 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= SWIG_Py_Void();
28229 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28230 PyObject
*resultobj
= 0;
28231 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28232 int *arg2
= (int *) 0 ;
28233 int *arg3
= (int *) 0 ;
28237 int res2
= SWIG_TMPOBJ
;
28239 int res3
= SWIG_TMPOBJ
;
28240 PyObject
*swig_obj
[1] ;
28244 if (!args
) SWIG_fail
;
28245 swig_obj
[0] = args
;
28246 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28247 if (!SWIG_IsOK(res1
)) {
28248 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28250 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28253 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28257 resultobj
= SWIG_Py_Void();
28258 if (SWIG_IsTmpObj(res2
)) {
28259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28261 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28262 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28264 if (SWIG_IsTmpObj(res3
)) {
28265 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28267 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28268 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28276 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28277 PyObject
*resultobj
= 0;
28278 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28287 PyObject
* obj0
= 0 ;
28288 PyObject
* obj1
= 0 ;
28289 PyObject
* obj2
= 0 ;
28290 char * kwnames
[] = {
28291 (char *) "self",(char *) "x",(char *) "y", NULL
28294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28296 if (!SWIG_IsOK(res1
)) {
28297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28299 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28300 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28301 if (!SWIG_IsOK(ecode2
)) {
28302 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28304 arg2
= static_cast< int >(val2
);
28305 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28306 if (!SWIG_IsOK(ecode3
)) {
28307 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28309 arg3
= static_cast< int >(val3
);
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 (arg1
)->SetPPIScreen(arg2
,arg3
);
28313 wxPyEndAllowThreads(__tstate
);
28314 if (PyErr_Occurred()) SWIG_fail
;
28316 resultobj
= SWIG_Py_Void();
28323 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28324 PyObject
*resultobj
= 0;
28325 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28326 int *arg2
= (int *) 0 ;
28327 int *arg3
= (int *) 0 ;
28331 int res2
= SWIG_TMPOBJ
;
28333 int res3
= SWIG_TMPOBJ
;
28334 PyObject
*swig_obj
[1] ;
28338 if (!args
) SWIG_fail
;
28339 swig_obj
[0] = args
;
28340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28341 if (!SWIG_IsOK(res1
)) {
28342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28344 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 (arg1
)->GetPPIScreen(arg2
,arg3
);
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28351 resultobj
= SWIG_Py_Void();
28352 if (SWIG_IsTmpObj(res2
)) {
28353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28355 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28358 if (SWIG_IsTmpObj(res3
)) {
28359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28361 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28370 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28371 PyObject
*resultobj
= 0;
28372 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28381 PyObject
* obj0
= 0 ;
28382 PyObject
* obj1
= 0 ;
28383 PyObject
* obj2
= 0 ;
28384 char * kwnames
[] = {
28385 (char *) "self",(char *) "x",(char *) "y", NULL
28388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28390 if (!SWIG_IsOK(res1
)) {
28391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28393 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28394 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28395 if (!SWIG_IsOK(ecode2
)) {
28396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28398 arg2
= static_cast< int >(val2
);
28399 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28400 if (!SWIG_IsOK(ecode3
)) {
28401 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28403 arg3
= static_cast< int >(val3
);
28405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28406 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28407 wxPyEndAllowThreads(__tstate
);
28408 if (PyErr_Occurred()) SWIG_fail
;
28410 resultobj
= SWIG_Py_Void();
28417 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28418 PyObject
*resultobj
= 0;
28419 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28420 int *arg2
= (int *) 0 ;
28421 int *arg3
= (int *) 0 ;
28425 int res2
= SWIG_TMPOBJ
;
28427 int res3
= SWIG_TMPOBJ
;
28428 PyObject
*swig_obj
[1] ;
28432 if (!args
) SWIG_fail
;
28433 swig_obj
[0] = args
;
28434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28435 if (!SWIG_IsOK(res1
)) {
28436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28438 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28441 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28442 wxPyEndAllowThreads(__tstate
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28445 resultobj
= SWIG_Py_Void();
28446 if (SWIG_IsTmpObj(res2
)) {
28447 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28449 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28450 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28452 if (SWIG_IsTmpObj(res3
)) {
28453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28455 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28456 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28464 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28465 PyObject
*resultobj
= 0;
28466 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28470 PyObject
*swig_obj
[1] ;
28472 if (!args
) SWIG_fail
;
28473 swig_obj
[0] = args
;
28474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28475 if (!SWIG_IsOK(res1
)) {
28476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28478 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 result
= (bool)(arg1
)->IsPreview();
28482 wxPyEndAllowThreads(__tstate
);
28483 if (PyErr_Occurred()) SWIG_fail
;
28486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28494 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28495 PyObject
*resultobj
= 0;
28496 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28502 PyObject
* obj0
= 0 ;
28503 PyObject
* obj1
= 0 ;
28504 char * kwnames
[] = {
28505 (char *) "self",(char *) "p", NULL
28508 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28509 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28510 if (!SWIG_IsOK(res1
)) {
28511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28513 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28514 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28515 if (!SWIG_IsOK(ecode2
)) {
28516 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28518 arg2
= static_cast< bool >(val2
);
28520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28521 (arg1
)->SetIsPreview(arg2
);
28522 wxPyEndAllowThreads(__tstate
);
28523 if (PyErr_Occurred()) SWIG_fail
;
28525 resultobj
= SWIG_Py_Void();
28532 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28533 PyObject
*resultobj
= 0;
28534 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28544 PyObject
* obj0
= 0 ;
28545 PyObject
* obj1
= 0 ;
28546 PyObject
* obj2
= 0 ;
28547 char * kwnames
[] = {
28548 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28553 if (!SWIG_IsOK(res1
)) {
28554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28556 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28557 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28558 if (!SWIG_IsOK(ecode2
)) {
28559 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28561 arg2
= static_cast< int >(val2
);
28562 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28563 if (!SWIG_IsOK(ecode3
)) {
28564 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28566 arg3
= static_cast< int >(val3
);
28568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28569 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28582 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28583 PyObject
*resultobj
= 0;
28584 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28587 PyObject
*swig_obj
[1] ;
28589 if (!args
) SWIG_fail
;
28590 swig_obj
[0] = args
;
28591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28592 if (!SWIG_IsOK(res1
)) {
28593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28595 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28598 (arg1
)->OnEndDocument();
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= SWIG_Py_Void();
28609 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28610 PyObject
*resultobj
= 0;
28611 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28614 PyObject
*swig_obj
[1] ;
28616 if (!args
) SWIG_fail
;
28617 swig_obj
[0] = args
;
28618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28619 if (!SWIG_IsOK(res1
)) {
28620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28622 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28625 (arg1
)->OnBeginPrinting();
28626 wxPyEndAllowThreads(__tstate
);
28627 if (PyErr_Occurred()) SWIG_fail
;
28629 resultobj
= SWIG_Py_Void();
28636 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28637 PyObject
*resultobj
= 0;
28638 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28641 PyObject
*swig_obj
[1] ;
28643 if (!args
) SWIG_fail
;
28644 swig_obj
[0] = args
;
28645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28646 if (!SWIG_IsOK(res1
)) {
28647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28649 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28652 (arg1
)->OnEndPrinting();
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28656 resultobj
= SWIG_Py_Void();
28663 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28664 PyObject
*resultobj
= 0;
28665 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28668 PyObject
*swig_obj
[1] ;
28670 if (!args
) SWIG_fail
;
28671 swig_obj
[0] = args
;
28672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28673 if (!SWIG_IsOK(res1
)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28676 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 (arg1
)->OnPreparePrinting();
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= SWIG_Py_Void();
28690 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28691 PyObject
*resultobj
= 0;
28692 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28699 PyObject
* obj0
= 0 ;
28700 PyObject
* obj1
= 0 ;
28701 char * kwnames
[] = {
28702 (char *) "self",(char *) "page", NULL
28705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28707 if (!SWIG_IsOK(res1
)) {
28708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28710 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28712 if (!SWIG_IsOK(ecode2
)) {
28713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28715 arg2
= static_cast< int >(val2
);
28717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28718 result
= (bool)(arg1
)->HasPage(arg2
);
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28731 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28732 PyObject
*resultobj
= 0;
28733 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28734 int *arg2
= (int *) 0 ;
28735 int *arg3
= (int *) 0 ;
28736 int *arg4
= (int *) 0 ;
28737 int *arg5
= (int *) 0 ;
28741 int res2
= SWIG_TMPOBJ
;
28743 int res3
= SWIG_TMPOBJ
;
28745 int res4
= SWIG_TMPOBJ
;
28747 int res5
= SWIG_TMPOBJ
;
28748 PyObject
*swig_obj
[1] ;
28754 if (!args
) SWIG_fail
;
28755 swig_obj
[0] = args
;
28756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28757 if (!SWIG_IsOK(res1
)) {
28758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28760 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28764 wxPyEndAllowThreads(__tstate
);
28765 if (PyErr_Occurred()) SWIG_fail
;
28767 resultobj
= SWIG_Py_Void();
28768 if (SWIG_IsTmpObj(res2
)) {
28769 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28771 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28772 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28774 if (SWIG_IsTmpObj(res3
)) {
28775 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28777 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28778 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28780 if (SWIG_IsTmpObj(res4
)) {
28781 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28783 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28784 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28786 if (SWIG_IsTmpObj(res5
)) {
28787 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28789 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28790 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28798 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28801 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28802 return SWIG_Py_Void();
28805 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28806 return SWIG_Python_InitShadowInstance(args
);
28809 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28810 PyObject
*resultobj
= 0;
28811 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28812 wxWindow
*arg2
= (wxWindow
*) 0 ;
28813 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28814 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28815 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28816 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28817 long arg5
= (long) 0 ;
28818 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28819 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28820 wxPreviewCanvas
*result
= 0 ;
28829 bool temp6
= false ;
28830 PyObject
* obj0
= 0 ;
28831 PyObject
* obj1
= 0 ;
28832 PyObject
* obj2
= 0 ;
28833 PyObject
* obj3
= 0 ;
28834 PyObject
* obj4
= 0 ;
28835 PyObject
* obj5
= 0 ;
28836 char * kwnames
[] = {
28837 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28842 if (!SWIG_IsOK(res1
)) {
28843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28845 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28846 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28847 if (!SWIG_IsOK(res2
)) {
28848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28850 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28854 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28860 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28864 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28865 if (!SWIG_IsOK(ecode5
)) {
28866 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28868 arg5
= static_cast< long >(val5
);
28872 arg6
= wxString_in_helper(obj5
);
28873 if (arg6
== NULL
) SWIG_fail
;
28878 if (!wxPyCheckForApp()) SWIG_fail
;
28879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28880 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28881 wxPyEndAllowThreads(__tstate
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28899 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28901 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28902 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28903 return SWIG_Py_Void();
28906 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28907 return SWIG_Python_InitShadowInstance(args
);
28910 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28911 PyObject
*resultobj
= 0;
28912 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28913 wxFrame
*arg2
= (wxFrame
*) 0 ;
28914 wxString
*arg3
= 0 ;
28915 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28916 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28917 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28918 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28919 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28920 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28921 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28922 wxPreviewFrame
*result
= 0 ;
28926 bool temp3
= false ;
28931 bool temp7
= false ;
28932 PyObject
* obj0
= 0 ;
28933 PyObject
* obj1
= 0 ;
28934 PyObject
* obj2
= 0 ;
28935 PyObject
* obj3
= 0 ;
28936 PyObject
* obj4
= 0 ;
28937 PyObject
* obj5
= 0 ;
28938 PyObject
* obj6
= 0 ;
28939 char * kwnames
[] = {
28940 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28944 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28945 if (!SWIG_IsOK(res1
)) {
28946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28948 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28949 if (!SWIG_IsOK(res2
)) {
28950 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28952 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28954 arg3
= wxString_in_helper(obj2
);
28955 if (arg3
== NULL
) SWIG_fail
;
28961 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28967 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28971 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28972 if (!SWIG_IsOK(ecode6
)) {
28973 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28975 arg6
= static_cast< long >(val6
);
28979 arg7
= wxString_in_helper(obj6
);
28980 if (arg7
== NULL
) SWIG_fail
;
28985 if (!wxPyCheckForApp()) SWIG_fail
;
28986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28987 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28988 wxPyEndAllowThreads(__tstate
);
28989 if (PyErr_Occurred()) SWIG_fail
;
28991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29014 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29015 PyObject
*resultobj
= 0;
29016 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29019 PyObject
*swig_obj
[1] ;
29021 if (!args
) SWIG_fail
;
29022 swig_obj
[0] = args
;
29023 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29024 if (!SWIG_IsOK(res1
)) {
29025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29027 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29030 (arg1
)->Initialize();
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29034 resultobj
= SWIG_Py_Void();
29041 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29042 PyObject
*resultobj
= 0;
29043 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29046 PyObject
*swig_obj
[1] ;
29048 if (!args
) SWIG_fail
;
29049 swig_obj
[0] = args
;
29050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29051 if (!SWIG_IsOK(res1
)) {
29052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29054 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29057 (arg1
)->CreateControlBar();
29058 wxPyEndAllowThreads(__tstate
);
29059 if (PyErr_Occurred()) SWIG_fail
;
29061 resultobj
= SWIG_Py_Void();
29068 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29069 PyObject
*resultobj
= 0;
29070 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29073 PyObject
*swig_obj
[1] ;
29075 if (!args
) SWIG_fail
;
29076 swig_obj
[0] = args
;
29077 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29078 if (!SWIG_IsOK(res1
)) {
29079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29081 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29084 (arg1
)->CreateCanvas();
29085 wxPyEndAllowThreads(__tstate
);
29086 if (PyErr_Occurred()) SWIG_fail
;
29088 resultobj
= SWIG_Py_Void();
29095 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29096 PyObject
*resultobj
= 0;
29097 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29098 wxPreviewControlBar
*result
= 0 ;
29101 PyObject
*swig_obj
[1] ;
29103 if (!args
) SWIG_fail
;
29104 swig_obj
[0] = args
;
29105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29106 if (!SWIG_IsOK(res1
)) {
29107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29109 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29116 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29123 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29126 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29127 return SWIG_Py_Void();
29130 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29131 return SWIG_Python_InitShadowInstance(args
);
29134 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29135 PyObject
*resultobj
= 0;
29136 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29138 wxWindow
*arg3
= (wxWindow
*) 0 ;
29139 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29140 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29141 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29142 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29143 long arg6
= (long) wxTAB_TRAVERSAL
;
29144 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29145 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29146 wxPreviewControlBar
*result
= 0 ;
29157 bool temp7
= false ;
29158 PyObject
* obj0
= 0 ;
29159 PyObject
* obj1
= 0 ;
29160 PyObject
* obj2
= 0 ;
29161 PyObject
* obj3
= 0 ;
29162 PyObject
* obj4
= 0 ;
29163 PyObject
* obj5
= 0 ;
29164 PyObject
* obj6
= 0 ;
29165 char * kwnames
[] = {
29166 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29171 if (!SWIG_IsOK(res1
)) {
29172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29174 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29175 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29176 if (!SWIG_IsOK(ecode2
)) {
29177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29179 arg2
= static_cast< long >(val2
);
29180 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29181 if (!SWIG_IsOK(res3
)) {
29182 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29184 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29188 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29194 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29198 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29199 if (!SWIG_IsOK(ecode6
)) {
29200 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29202 arg6
= static_cast< long >(val6
);
29206 arg7
= wxString_in_helper(obj6
);
29207 if (arg7
== NULL
) SWIG_fail
;
29212 if (!wxPyCheckForApp()) SWIG_fail
;
29213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29214 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29215 wxPyEndAllowThreads(__tstate
);
29216 if (PyErr_Occurred()) SWIG_fail
;
29218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29233 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29234 PyObject
*resultobj
= 0;
29235 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29239 PyObject
*swig_obj
[1] ;
29241 if (!args
) SWIG_fail
;
29242 swig_obj
[0] = args
;
29243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29244 if (!SWIG_IsOK(res1
)) {
29245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29247 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29250 result
= (int)(arg1
)->GetZoomControl();
29251 wxPyEndAllowThreads(__tstate
);
29252 if (PyErr_Occurred()) SWIG_fail
;
29254 resultobj
= SWIG_From_int(static_cast< int >(result
));
29261 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29262 PyObject
*resultobj
= 0;
29263 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29269 PyObject
* obj0
= 0 ;
29270 PyObject
* obj1
= 0 ;
29271 char * kwnames
[] = {
29272 (char *) "self",(char *) "zoom", NULL
29275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29277 if (!SWIG_IsOK(res1
)) {
29278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29280 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29281 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29282 if (!SWIG_IsOK(ecode2
)) {
29283 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29285 arg2
= static_cast< int >(val2
);
29287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29288 (arg1
)->SetZoomControl(arg2
);
29289 wxPyEndAllowThreads(__tstate
);
29290 if (PyErr_Occurred()) SWIG_fail
;
29292 resultobj
= SWIG_Py_Void();
29299 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29300 PyObject
*resultobj
= 0;
29301 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29302 wxPrintPreview
*result
= 0 ;
29305 PyObject
*swig_obj
[1] ;
29307 if (!args
) SWIG_fail
;
29308 swig_obj
[0] = args
;
29309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29310 if (!SWIG_IsOK(res1
)) {
29311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29313 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29316 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29317 wxPyEndAllowThreads(__tstate
);
29318 if (PyErr_Occurred()) SWIG_fail
;
29320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29327 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29328 PyObject
*resultobj
= 0;
29329 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29332 PyObject
*swig_obj
[1] ;
29334 if (!args
) SWIG_fail
;
29335 swig_obj
[0] = args
;
29336 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29337 if (!SWIG_IsOK(res1
)) {
29338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29340 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29344 wxPyEndAllowThreads(__tstate
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29347 resultobj
= SWIG_Py_Void();
29354 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29355 PyObject
*resultobj
= 0;
29356 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29359 PyObject
*swig_obj
[1] ;
29361 if (!args
) SWIG_fail
;
29362 swig_obj
[0] = args
;
29363 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29364 if (!SWIG_IsOK(res1
)) {
29365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29367 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29370 (arg1
)->OnPrevious();
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29374 resultobj
= SWIG_Py_Void();
29381 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29382 PyObject
*resultobj
= 0;
29383 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29386 PyObject
*swig_obj
[1] ;
29388 if (!args
) SWIG_fail
;
29389 swig_obj
[0] = args
;
29390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29391 if (!SWIG_IsOK(res1
)) {
29392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29394 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29398 wxPyEndAllowThreads(__tstate
);
29399 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= SWIG_Py_Void();
29408 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29409 PyObject
*resultobj
= 0;
29410 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29413 PyObject
*swig_obj
[1] ;
29415 if (!args
) SWIG_fail
;
29416 swig_obj
[0] = args
;
29417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29418 if (!SWIG_IsOK(res1
)) {
29419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29421 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29428 resultobj
= SWIG_Py_Void();
29435 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29436 PyObject
*resultobj
= 0;
29437 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29440 PyObject
*swig_obj
[1] ;
29442 if (!args
) SWIG_fail
;
29443 swig_obj
[0] = args
;
29444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29445 if (!SWIG_IsOK(res1
)) {
29446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29448 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29455 resultobj
= SWIG_Py_Void();
29462 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29464 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29465 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29466 return SWIG_Py_Void();
29469 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29470 return SWIG_Python_InitShadowInstance(args
);
29473 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29474 PyObject
*resultobj
= 0;
29475 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29476 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29477 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29478 wxPrintPreview
*result
= 0 ;
29484 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29485 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29486 if (!SWIG_IsOK(res1
)) {
29487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29489 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29490 if (!SWIG_IsOK(res2
)) {
29491 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29494 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29495 if (!SWIG_IsOK(res3
)) {
29496 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29498 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29501 if (!wxPyCheckForApp()) SWIG_fail
;
29502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29503 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29504 wxPyEndAllowThreads(__tstate
);
29505 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29514 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29515 PyObject
*resultobj
= 0;
29516 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29517 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29518 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29519 wxPrintPreview
*result
= 0 ;
29525 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29526 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29527 if (!SWIG_IsOK(res1
)) {
29528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29530 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29531 if (!SWIG_IsOK(res2
)) {
29532 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29534 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29535 if (!SWIG_IsOK(res3
)) {
29536 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29538 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29540 if (!wxPyCheckForApp()) SWIG_fail
;
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29542 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29543 wxPyEndAllowThreads(__tstate
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29546 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29553 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29557 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29559 if ((argc
>= 2) && (argc
<= 3)) {
29564 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29565 _v
= SWIG_CheckState(res
);
29567 if (!_v
) goto check_1
;
29569 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29574 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29578 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29583 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29584 PyObject
*resultobj
= 0;
29585 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29588 PyObject
*swig_obj
[1] ;
29590 if (!args
) SWIG_fail
;
29591 swig_obj
[0] = args
;
29592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29593 if (!SWIG_IsOK(res1
)) {
29594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29596 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29604 resultobj
= SWIG_Py_Void();
29611 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
= 0;
29613 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29620 PyObject
* obj0
= 0 ;
29621 PyObject
* obj1
= 0 ;
29622 char * kwnames
[] = {
29623 (char *) "self",(char *) "pageNum", NULL
29626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29628 if (!SWIG_IsOK(res1
)) {
29629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29631 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29633 if (!SWIG_IsOK(ecode2
)) {
29634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29636 arg2
= static_cast< int >(val2
);
29638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29639 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29640 wxPyEndAllowThreads(__tstate
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29652 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29653 PyObject
*resultobj
= 0;
29654 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29658 PyObject
*swig_obj
[1] ;
29660 if (!args
) SWIG_fail
;
29661 swig_obj
[0] = args
;
29662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29663 if (!SWIG_IsOK(res1
)) {
29664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29666 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29669 result
= (int)(arg1
)->GetCurrentPage();
29670 wxPyEndAllowThreads(__tstate
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29673 resultobj
= SWIG_From_int(static_cast< int >(result
));
29680 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29681 PyObject
*resultobj
= 0;
29682 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29683 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29687 PyObject
* obj0
= 0 ;
29688 PyObject
* obj1
= 0 ;
29689 char * kwnames
[] = {
29690 (char *) "self",(char *) "printout", NULL
29693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29695 if (!SWIG_IsOK(res1
)) {
29696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29698 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29699 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29700 if (!SWIG_IsOK(res2
)) {
29701 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 (arg1
)->SetPrintout(arg2
);
29706 wxPyEndAllowThreads(__tstate
);
29707 if (PyErr_Occurred()) SWIG_fail
;
29709 resultobj
= SWIG_Py_Void();
29716 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29717 PyObject
*resultobj
= 0;
29718 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29719 wxPyPrintout
*result
= 0 ;
29722 PyObject
*swig_obj
[1] ;
29724 if (!args
) SWIG_fail
;
29725 swig_obj
[0] = args
;
29726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29727 if (!SWIG_IsOK(res1
)) {
29728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29730 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29738 resultobj
= wxPyMake_wxObject(result
, 0);
29746 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29747 PyObject
*resultobj
= 0;
29748 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29749 wxPyPrintout
*result
= 0 ;
29752 PyObject
*swig_obj
[1] ;
29754 if (!args
) SWIG_fail
;
29755 swig_obj
[0] = args
;
29756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29757 if (!SWIG_IsOK(res1
)) {
29758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29760 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29763 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29764 wxPyEndAllowThreads(__tstate
);
29765 if (PyErr_Occurred()) SWIG_fail
;
29768 resultobj
= wxPyMake_wxObject(result
, 0);
29776 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29777 PyObject
*resultobj
= 0;
29778 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29779 wxFrame
*arg2
= (wxFrame
*) 0 ;
29784 PyObject
* obj0
= 0 ;
29785 PyObject
* obj1
= 0 ;
29786 char * kwnames
[] = {
29787 (char *) "self",(char *) "frame", NULL
29790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29792 if (!SWIG_IsOK(res1
)) {
29793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29795 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29796 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29797 if (!SWIG_IsOK(res2
)) {
29798 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29800 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29803 (arg1
)->SetFrame(arg2
);
29804 wxPyEndAllowThreads(__tstate
);
29805 if (PyErr_Occurred()) SWIG_fail
;
29807 resultobj
= SWIG_Py_Void();
29814 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29815 PyObject
*resultobj
= 0;
29816 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29817 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29822 PyObject
* obj0
= 0 ;
29823 PyObject
* obj1
= 0 ;
29824 char * kwnames
[] = {
29825 (char *) "self",(char *) "canvas", NULL
29828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29830 if (!SWIG_IsOK(res1
)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29833 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29835 if (!SWIG_IsOK(res2
)) {
29836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29838 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29841 (arg1
)->SetCanvas(arg2
);
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29845 resultobj
= SWIG_Py_Void();
29852 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29853 PyObject
*resultobj
= 0;
29854 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29855 wxFrame
*result
= 0 ;
29858 PyObject
*swig_obj
[1] ;
29860 if (!args
) SWIG_fail
;
29861 swig_obj
[0] = args
;
29862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29863 if (!SWIG_IsOK(res1
)) {
29864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29866 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29869 result
= (wxFrame
*)(arg1
)->GetFrame();
29870 wxPyEndAllowThreads(__tstate
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29874 resultobj
= wxPyMake_wxObject(result
, 0);
29882 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29883 PyObject
*resultobj
= 0;
29884 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29885 wxPreviewCanvas
*result
= 0 ;
29888 PyObject
*swig_obj
[1] ;
29890 if (!args
) SWIG_fail
;
29891 swig_obj
[0] = args
;
29892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29893 if (!SWIG_IsOK(res1
)) {
29894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29896 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29899 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29900 wxPyEndAllowThreads(__tstate
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29903 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29910 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29911 PyObject
*resultobj
= 0;
29912 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29913 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29922 PyObject
* obj0
= 0 ;
29923 PyObject
* obj1
= 0 ;
29924 PyObject
* obj2
= 0 ;
29925 char * kwnames
[] = {
29926 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29931 if (!SWIG_IsOK(res1
)) {
29932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29934 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29935 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29936 if (!SWIG_IsOK(res2
)) {
29937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29939 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29940 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29941 if (!SWIG_IsOK(res3
)) {
29942 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29945 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29947 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29950 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29963 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29964 PyObject
*resultobj
= 0;
29965 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29966 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29975 PyObject
* obj0
= 0 ;
29976 PyObject
* obj1
= 0 ;
29977 PyObject
* obj2
= 0 ;
29978 char * kwnames
[] = {
29979 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29984 if (!SWIG_IsOK(res1
)) {
29985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29987 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29988 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29989 if (!SWIG_IsOK(res2
)) {
29990 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29992 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29993 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29994 if (!SWIG_IsOK(res3
)) {
29995 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29998 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30000 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30003 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30004 wxPyEndAllowThreads(__tstate
);
30005 if (PyErr_Occurred()) SWIG_fail
;
30008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30016 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30017 PyObject
*resultobj
= 0;
30018 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30025 PyObject
* obj0
= 0 ;
30026 PyObject
* obj1
= 0 ;
30027 char * kwnames
[] = {
30028 (char *) "self",(char *) "pageNum", NULL
30031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30033 if (!SWIG_IsOK(res1
)) {
30034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30036 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30037 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30038 if (!SWIG_IsOK(ecode2
)) {
30039 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30041 arg2
= static_cast< int >(val2
);
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 result
= (bool)(arg1
)->RenderPage(arg2
);
30045 wxPyEndAllowThreads(__tstate
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30057 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30058 PyObject
*resultobj
= 0;
30059 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30060 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30065 PyObject
* obj0
= 0 ;
30066 PyObject
* obj1
= 0 ;
30067 char * kwnames
[] = {
30068 (char *) "self",(char *) "canvas", NULL
30071 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30072 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30073 if (!SWIG_IsOK(res1
)) {
30074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30076 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30077 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30078 if (!SWIG_IsOK(res2
)) {
30079 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30081 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30084 (arg1
)->AdjustScrollbars(arg2
);
30085 wxPyEndAllowThreads(__tstate
);
30086 if (PyErr_Occurred()) SWIG_fail
;
30088 resultobj
= SWIG_Py_Void();
30095 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30096 PyObject
*resultobj
= 0;
30097 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30098 wxPrintDialogData
*result
= 0 ;
30101 PyObject
*swig_obj
[1] ;
30103 if (!args
) SWIG_fail
;
30104 swig_obj
[0] = args
;
30105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30106 if (!SWIG_IsOK(res1
)) {
30107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30109 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30113 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30114 result
= (wxPrintDialogData
*) &_result_ref
;
30116 wxPyEndAllowThreads(__tstate
);
30117 if (PyErr_Occurred()) SWIG_fail
;
30119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30126 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30127 PyObject
*resultobj
= 0;
30128 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30134 PyObject
* obj0
= 0 ;
30135 PyObject
* obj1
= 0 ;
30136 char * kwnames
[] = {
30137 (char *) "self",(char *) "percent", NULL
30140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30142 if (!SWIG_IsOK(res1
)) {
30143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30145 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30147 if (!SWIG_IsOK(ecode2
)) {
30148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30150 arg2
= static_cast< int >(val2
);
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 (arg1
)->SetZoom(arg2
);
30154 wxPyEndAllowThreads(__tstate
);
30155 if (PyErr_Occurred()) SWIG_fail
;
30157 resultobj
= SWIG_Py_Void();
30164 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30165 PyObject
*resultobj
= 0;
30166 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30170 PyObject
*swig_obj
[1] ;
30172 if (!args
) SWIG_fail
;
30173 swig_obj
[0] = args
;
30174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30175 if (!SWIG_IsOK(res1
)) {
30176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30178 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30181 result
= (int)(arg1
)->GetZoom();
30182 wxPyEndAllowThreads(__tstate
);
30183 if (PyErr_Occurred()) SWIG_fail
;
30185 resultobj
= SWIG_From_int(static_cast< int >(result
));
30192 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30193 PyObject
*resultobj
= 0;
30194 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30198 PyObject
*swig_obj
[1] ;
30200 if (!args
) SWIG_fail
;
30201 swig_obj
[0] = args
;
30202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30203 if (!SWIG_IsOK(res1
)) {
30204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30206 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30209 result
= (int)(arg1
)->GetMaxPage();
30210 wxPyEndAllowThreads(__tstate
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30213 resultobj
= SWIG_From_int(static_cast< int >(result
));
30220 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30221 PyObject
*resultobj
= 0;
30222 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30226 PyObject
*swig_obj
[1] ;
30228 if (!args
) SWIG_fail
;
30229 swig_obj
[0] = args
;
30230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30231 if (!SWIG_IsOK(res1
)) {
30232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30234 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 result
= (int)(arg1
)->GetMinPage();
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30241 resultobj
= SWIG_From_int(static_cast< int >(result
));
30248 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30249 PyObject
*resultobj
= 0;
30250 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30254 PyObject
*swig_obj
[1] ;
30256 if (!args
) SWIG_fail
;
30257 swig_obj
[0] = args
;
30258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30259 if (!SWIG_IsOK(res1
)) {
30260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30262 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30265 result
= (bool)(arg1
)->Ok();
30266 wxPyEndAllowThreads(__tstate
);
30267 if (PyErr_Occurred()) SWIG_fail
;
30270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30278 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30279 PyObject
*resultobj
= 0;
30280 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30286 PyObject
* obj0
= 0 ;
30287 PyObject
* obj1
= 0 ;
30288 char * kwnames
[] = {
30289 (char *) "self",(char *) "ok", NULL
30292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30294 if (!SWIG_IsOK(res1
)) {
30295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30297 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30298 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30299 if (!SWIG_IsOK(ecode2
)) {
30300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30302 arg2
= static_cast< bool >(val2
);
30304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30305 (arg1
)->SetOk(arg2
);
30306 wxPyEndAllowThreads(__tstate
);
30307 if (PyErr_Occurred()) SWIG_fail
;
30309 resultobj
= SWIG_Py_Void();
30316 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30317 PyObject
*resultobj
= 0;
30318 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30325 PyObject
* obj0
= 0 ;
30326 PyObject
* obj1
= 0 ;
30327 char * kwnames
[] = {
30328 (char *) "self",(char *) "interactive", NULL
30331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30333 if (!SWIG_IsOK(res1
)) {
30334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30336 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30337 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30338 if (!SWIG_IsOK(ecode2
)) {
30339 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30341 arg2
= static_cast< bool >(val2
);
30343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30344 result
= (bool)(arg1
)->Print(arg2
);
30345 wxPyEndAllowThreads(__tstate
);
30346 if (PyErr_Occurred()) SWIG_fail
;
30349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30357 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30358 PyObject
*resultobj
= 0;
30359 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30362 PyObject
*swig_obj
[1] ;
30364 if (!args
) SWIG_fail
;
30365 swig_obj
[0] = args
;
30366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30367 if (!SWIG_IsOK(res1
)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30370 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30373 (arg1
)->DetermineScaling();
30374 wxPyEndAllowThreads(__tstate
);
30375 if (PyErr_Occurred()) SWIG_fail
;
30377 resultobj
= SWIG_Py_Void();
30384 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30386 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30387 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30388 return SWIG_Py_Void();
30391 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30392 return SWIG_Python_InitShadowInstance(args
);
30395 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30396 PyObject
*resultobj
= 0;
30397 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30398 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30399 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30400 wxPyPrintPreview
*result
= 0 ;
30406 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30407 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30408 if (!SWIG_IsOK(res1
)) {
30409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30411 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30412 if (!SWIG_IsOK(res2
)) {
30413 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30416 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30417 if (!SWIG_IsOK(res3
)) {
30418 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30420 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30423 if (!wxPyCheckForApp()) SWIG_fail
;
30424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30425 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30426 wxPyEndAllowThreads(__tstate
);
30427 if (PyErr_Occurred()) SWIG_fail
;
30429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30436 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30437 PyObject
*resultobj
= 0;
30438 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30439 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30440 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30441 wxPyPrintPreview
*result
= 0 ;
30447 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30448 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30449 if (!SWIG_IsOK(res1
)) {
30450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30452 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30453 if (!SWIG_IsOK(res2
)) {
30454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30456 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30457 if (!SWIG_IsOK(res3
)) {
30458 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30460 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30462 if (!wxPyCheckForApp()) SWIG_fail
;
30463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30464 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30465 wxPyEndAllowThreads(__tstate
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30475 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30479 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30481 if ((argc
>= 2) && (argc
<= 3)) {
30486 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30487 _v
= SWIG_CheckState(res
);
30489 if (!_v
) goto check_1
;
30491 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30496 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30500 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30505 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30506 PyObject
*resultobj
= 0;
30507 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30508 PyObject
*arg2
= (PyObject
*) 0 ;
30509 PyObject
*arg3
= (PyObject
*) 0 ;
30512 PyObject
* obj0
= 0 ;
30513 PyObject
* obj1
= 0 ;
30514 PyObject
* obj2
= 0 ;
30515 char * kwnames
[] = {
30516 (char *) "self",(char *) "self",(char *) "_class", NULL
30519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30521 if (!SWIG_IsOK(res1
)) {
30522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30524 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30529 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 resultobj
= SWIG_Py_Void();
30540 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30542 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30543 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30544 return SWIG_Py_Void();
30547 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30548 return SWIG_Python_InitShadowInstance(args
);
30551 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30552 PyObject
*resultobj
= 0;
30553 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30554 wxFrame
*arg2
= (wxFrame
*) 0 ;
30555 wxString
*arg3
= 0 ;
30556 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30557 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30558 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30559 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30560 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30561 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30562 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30563 wxPyPreviewFrame
*result
= 0 ;
30568 bool temp3
= false ;
30573 bool temp7
= false ;
30574 PyObject
* obj0
= 0 ;
30575 PyObject
* obj1
= 0 ;
30576 PyObject
* obj2
= 0 ;
30577 PyObject
* obj3
= 0 ;
30578 PyObject
* obj4
= 0 ;
30579 PyObject
* obj5
= 0 ;
30580 PyObject
* obj6
= 0 ;
30581 char * kwnames
[] = {
30582 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30585 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30586 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30587 if (!SWIG_IsOK(res1
)) {
30588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30590 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30591 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30592 if (!SWIG_IsOK(res2
)) {
30593 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30595 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30597 arg3
= wxString_in_helper(obj2
);
30598 if (arg3
== NULL
) SWIG_fail
;
30604 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30610 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30614 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30615 if (!SWIG_IsOK(ecode6
)) {
30616 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30618 arg6
= static_cast< long >(val6
);
30622 arg7
= wxString_in_helper(obj6
);
30623 if (arg7
== NULL
) SWIG_fail
;
30628 if (!wxPyCheckForApp()) SWIG_fail
;
30629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30630 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30631 wxPyEndAllowThreads(__tstate
);
30632 if (PyErr_Occurred()) SWIG_fail
;
30634 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30657 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30658 PyObject
*resultobj
= 0;
30659 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30660 PyObject
*arg2
= (PyObject
*) 0 ;
30661 PyObject
*arg3
= (PyObject
*) 0 ;
30664 PyObject
* obj0
= 0 ;
30665 PyObject
* obj1
= 0 ;
30666 PyObject
* obj2
= 0 ;
30667 char * kwnames
[] = {
30668 (char *) "self",(char *) "self",(char *) "_class", NULL
30671 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30672 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30673 if (!SWIG_IsOK(res1
)) {
30674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30676 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30681 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30682 wxPyEndAllowThreads(__tstate
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30685 resultobj
= SWIG_Py_Void();
30692 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30693 PyObject
*resultobj
= 0;
30694 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30695 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30700 PyObject
* obj0
= 0 ;
30701 PyObject
* obj1
= 0 ;
30702 char * kwnames
[] = {
30703 (char *) "self",(char *) "canvas", NULL
30706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30708 if (!SWIG_IsOK(res1
)) {
30709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30711 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30712 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30713 if (!SWIG_IsOK(res2
)) {
30714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30716 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30719 (arg1
)->SetPreviewCanvas(arg2
);
30720 wxPyEndAllowThreads(__tstate
);
30721 if (PyErr_Occurred()) SWIG_fail
;
30723 resultobj
= SWIG_Py_Void();
30730 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30731 PyObject
*resultobj
= 0;
30732 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30733 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30738 PyObject
* obj0
= 0 ;
30739 PyObject
* obj1
= 0 ;
30740 char * kwnames
[] = {
30741 (char *) "self",(char *) "bar", NULL
30744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30746 if (!SWIG_IsOK(res1
)) {
30747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30749 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30750 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30751 if (!SWIG_IsOK(res2
)) {
30752 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30754 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30757 (arg1
)->SetControlBar(arg2
);
30758 wxPyEndAllowThreads(__tstate
);
30759 if (PyErr_Occurred()) SWIG_fail
;
30761 resultobj
= SWIG_Py_Void();
30768 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30769 PyObject
*resultobj
= 0;
30770 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30773 PyObject
*swig_obj
[1] ;
30775 if (!args
) SWIG_fail
;
30776 swig_obj
[0] = args
;
30777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30778 if (!SWIG_IsOK(res1
)) {
30779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30781 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30784 (arg1
)->Initialize();
30785 wxPyEndAllowThreads(__tstate
);
30786 if (PyErr_Occurred()) SWIG_fail
;
30788 resultobj
= SWIG_Py_Void();
30795 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30796 PyObject
*resultobj
= 0;
30797 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30800 PyObject
*swig_obj
[1] ;
30802 if (!args
) SWIG_fail
;
30803 swig_obj
[0] = args
;
30804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30805 if (!SWIG_IsOK(res1
)) {
30806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30808 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30811 (arg1
)->CreateCanvas();
30812 wxPyEndAllowThreads(__tstate
);
30813 if (PyErr_Occurred()) SWIG_fail
;
30815 resultobj
= SWIG_Py_Void();
30822 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30823 PyObject
*resultobj
= 0;
30824 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30827 PyObject
*swig_obj
[1] ;
30829 if (!args
) SWIG_fail
;
30830 swig_obj
[0] = args
;
30831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30832 if (!SWIG_IsOK(res1
)) {
30833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30835 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30838 (arg1
)->CreateControlBar();
30839 wxPyEndAllowThreads(__tstate
);
30840 if (PyErr_Occurred()) SWIG_fail
;
30842 resultobj
= SWIG_Py_Void();
30849 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30851 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30852 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30853 return SWIG_Py_Void();
30856 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30857 return SWIG_Python_InitShadowInstance(args
);
30860 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30861 PyObject
*resultobj
= 0;
30862 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30864 wxWindow
*arg3
= (wxWindow
*) 0 ;
30865 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30866 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30867 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30868 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30869 long arg6
= (long) 0 ;
30870 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30871 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30872 wxPyPreviewControlBar
*result
= 0 ;
30883 bool temp7
= false ;
30884 PyObject
* obj0
= 0 ;
30885 PyObject
* obj1
= 0 ;
30886 PyObject
* obj2
= 0 ;
30887 PyObject
* obj3
= 0 ;
30888 PyObject
* obj4
= 0 ;
30889 PyObject
* obj5
= 0 ;
30890 PyObject
* obj6
= 0 ;
30891 char * kwnames
[] = {
30892 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30897 if (!SWIG_IsOK(res1
)) {
30898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30900 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30901 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30902 if (!SWIG_IsOK(ecode2
)) {
30903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30905 arg2
= static_cast< long >(val2
);
30906 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30907 if (!SWIG_IsOK(res3
)) {
30908 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30910 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30914 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30920 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30924 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30925 if (!SWIG_IsOK(ecode6
)) {
30926 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30928 arg6
= static_cast< long >(val6
);
30932 arg7
= wxString_in_helper(obj6
);
30933 if (arg7
== NULL
) SWIG_fail
;
30938 if (!wxPyCheckForApp()) SWIG_fail
;
30939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30940 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30941 wxPyEndAllowThreads(__tstate
);
30942 if (PyErr_Occurred()) SWIG_fail
;
30944 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30959 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30960 PyObject
*resultobj
= 0;
30961 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30962 PyObject
*arg2
= (PyObject
*) 0 ;
30963 PyObject
*arg3
= (PyObject
*) 0 ;
30966 PyObject
* obj0
= 0 ;
30967 PyObject
* obj1
= 0 ;
30968 PyObject
* obj2
= 0 ;
30969 char * kwnames
[] = {
30970 (char *) "self",(char *) "self",(char *) "_class", NULL
30973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30975 if (!SWIG_IsOK(res1
)) {
30976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30978 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30983 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30984 wxPyEndAllowThreads(__tstate
);
30985 if (PyErr_Occurred()) SWIG_fail
;
30987 resultobj
= SWIG_Py_Void();
30994 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30995 PyObject
*resultobj
= 0;
30996 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30997 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31002 PyObject
* obj0
= 0 ;
31003 PyObject
* obj1
= 0 ;
31004 char * kwnames
[] = {
31005 (char *) "self",(char *) "preview", NULL
31008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31010 if (!SWIG_IsOK(res1
)) {
31011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31013 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31014 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
31015 if (!SWIG_IsOK(res2
)) {
31016 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31018 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
31020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31021 (arg1
)->SetPrintPreview(arg2
);
31022 wxPyEndAllowThreads(__tstate
);
31023 if (PyErr_Occurred()) SWIG_fail
;
31025 resultobj
= SWIG_Py_Void();
31032 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31033 PyObject
*resultobj
= 0;
31034 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31037 PyObject
*swig_obj
[1] ;
31039 if (!args
) SWIG_fail
;
31040 swig_obj
[0] = args
;
31041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31042 if (!SWIG_IsOK(res1
)) {
31043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31045 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31048 (arg1
)->CreateButtons();
31049 wxPyEndAllowThreads(__tstate
);
31050 if (PyErr_Occurred()) SWIG_fail
;
31052 resultobj
= SWIG_Py_Void();
31059 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31060 PyObject
*resultobj
= 0;
31061 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31067 PyObject
* obj0
= 0 ;
31068 PyObject
* obj1
= 0 ;
31069 char * kwnames
[] = {
31070 (char *) "self",(char *) "zoom", NULL
31073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31075 if (!SWIG_IsOK(res1
)) {
31076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31078 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31080 if (!SWIG_IsOK(ecode2
)) {
31081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31083 arg2
= static_cast< int >(val2
);
31085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31086 (arg1
)->SetZoomControl(arg2
);
31087 wxPyEndAllowThreads(__tstate
);
31088 if (PyErr_Occurred()) SWIG_fail
;
31090 resultobj
= SWIG_Py_Void();
31097 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31099 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31100 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31101 return SWIG_Py_Void();
31104 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31105 return SWIG_Python_InitShadowInstance(args
);
31108 static PyMethodDef SwigMethods
[] = {
31109 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31111 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31113 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31115 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31116 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31118 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31125 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31127 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31129 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31130 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31131 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31132 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31133 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31136 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31137 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31138 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31141 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31142 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31144 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31146 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31147 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31148 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31149 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31153 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31155 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31158 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31160 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"TopLevelWindow_SetTransparent", (PyCFunction
) _wrap_TopLevelWindow_SetTransparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"TopLevelWindow_CanSetTransparent", (PyCFunction
)_wrap_TopLevelWindow_CanSetTransparent
, METH_O
, NULL
},
31164 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31165 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31166 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31168 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31169 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31171 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31173 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31175 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31178 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31185 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31187 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31192 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31193 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31195 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31198 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31200 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31202 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31206 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31207 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31208 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31209 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31210 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31211 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31212 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31213 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31214 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31215 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31216 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31219 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31220 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31221 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31223 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31224 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31225 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31226 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31227 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31229 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31232 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31236 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31238 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31240 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31241 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31242 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31244 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31245 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31247 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31249 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31250 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31252 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31258 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31259 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31262 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31263 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31265 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31267 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31269 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31271 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31272 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31273 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31274 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31275 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31276 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31277 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31279 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31280 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31281 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31282 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31283 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31284 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31286 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31294 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31296 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31299 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31300 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31303 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31304 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31306 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31307 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31308 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31309 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31310 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31311 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31313 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31314 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31315 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31316 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31317 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31320 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31322 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31324 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31326 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31328 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31329 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31330 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31333 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31335 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31336 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31337 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31339 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31341 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31342 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31344 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31346 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31347 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31348 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31349 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31353 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31354 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31355 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31356 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31357 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31358 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31359 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31360 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31362 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
31365 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31366 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31367 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31370 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31371 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31372 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31374 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31376 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31377 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31378 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31379 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31381 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31382 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31383 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31384 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31385 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31386 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31388 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31389 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31390 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31391 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31392 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31393 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31395 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31398 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31399 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31400 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31403 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31404 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31406 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31407 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31409 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31414 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31415 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31421 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31422 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31423 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31424 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31425 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31428 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31429 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31430 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31431 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31432 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31433 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31435 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31436 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31437 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31439 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31441 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31442 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31443 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31444 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31445 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31446 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31447 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31448 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31449 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31451 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31453 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31454 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31455 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31457 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31458 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31459 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31460 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31462 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31463 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31464 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31466 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31467 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31469 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31470 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31471 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31472 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31473 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31474 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31475 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31476 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31477 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31478 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31479 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31480 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31481 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31482 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31483 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31484 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31485 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31486 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31487 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31488 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31489 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31491 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31492 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31494 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31495 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31496 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31497 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31499 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31500 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31501 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31502 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31503 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31504 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31505 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31506 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31507 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31508 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31509 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31510 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31511 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31512 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31513 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31514 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31515 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31516 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31520 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31521 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31522 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31523 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31524 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31526 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31527 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31528 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31530 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31531 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31532 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31533 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31534 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31535 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31536 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31537 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31538 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31539 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31540 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31541 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31542 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31543 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31544 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31545 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31546 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31547 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31548 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31549 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31550 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31551 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31552 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31553 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31554 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31555 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31556 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31557 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31558 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31559 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31560 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31561 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31562 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31563 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31564 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31565 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31566 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31567 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31568 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31569 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31570 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31571 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31572 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31573 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31574 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
31575 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31576 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31577 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31578 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31579 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31580 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31581 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31582 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31583 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31584 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31585 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31586 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31587 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31588 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31589 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31590 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31591 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31592 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31593 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31594 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31595 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31596 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31597 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31598 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31599 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31600 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31601 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31602 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31603 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31604 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31605 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31606 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31607 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31608 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31609 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31610 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31611 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31613 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31614 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31616 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31618 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31619 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31620 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31621 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31622 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31623 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31624 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31625 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31626 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31627 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31628 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31629 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31630 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31631 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31634 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31636 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31637 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31638 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31639 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31640 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31641 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31642 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31643 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31644 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31645 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31646 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31647 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31648 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31649 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31650 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31651 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31652 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31653 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31654 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31655 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31656 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31657 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31658 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31659 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31661 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31664 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31665 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31667 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31669 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31670 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31671 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31672 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31674 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31675 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31676 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31677 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31681 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31683 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31684 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31685 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31686 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31687 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31688 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31689 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31690 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31691 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31692 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31693 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31694 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31695 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31696 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31697 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31698 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31703 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31704 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31707 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31708 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31709 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31710 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31712 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31713 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31714 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31715 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31716 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31717 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31718 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31719 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31720 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31721 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31722 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31723 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31724 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31725 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31726 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31727 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31728 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31729 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31738 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31739 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31741 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31742 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31743 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31744 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31745 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31746 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31747 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31749 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31750 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31752 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31753 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31754 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31755 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31756 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31757 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31758 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31759 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31760 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31762 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31764 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31766 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31767 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31768 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31769 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31770 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31772 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31773 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31774 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31775 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31776 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31777 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31778 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31779 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31780 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31781 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31782 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31783 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31784 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31785 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31788 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31789 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31790 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31791 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31793 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31794 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31795 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31797 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31798 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31799 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31800 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31801 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31802 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31803 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31804 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31805 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31806 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31807 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31808 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31809 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31810 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31811 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31812 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31813 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31814 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31815 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31816 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31817 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31818 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31819 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31820 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31821 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31822 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31823 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31824 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31825 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31826 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31827 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31828 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31830 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31831 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31832 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31834 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31835 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31836 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31837 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31840 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31841 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31842 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31843 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31844 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31845 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31846 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31848 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31849 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31851 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31852 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31853 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31854 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31855 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31856 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31857 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31859 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31860 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31861 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31862 { NULL
, NULL
, 0, NULL
}
31866 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31868 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31869 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31871 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31872 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31874 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31875 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31877 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31878 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31880 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31881 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31883 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31884 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31886 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31887 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31889 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31890 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31892 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31893 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31895 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31896 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31898 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31899 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31901 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31902 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31904 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31905 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31907 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31908 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31910 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31911 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31913 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31914 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31916 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31917 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31919 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31920 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31922 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31923 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31925 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31926 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31928 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31929 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31931 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31932 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31934 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31935 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31937 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31938 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31940 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31941 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31943 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31944 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31946 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31947 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31949 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31950 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31952 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31953 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31955 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31956 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31958 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31959 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31961 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31962 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31964 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31965 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31967 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31968 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31970 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31971 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31973 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31974 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31976 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31977 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31979 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31980 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31982 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31983 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31985 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31986 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31988 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31989 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31991 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31992 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31994 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31995 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31997 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31998 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32000 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32001 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32003 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32004 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32006 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32007 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32009 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32010 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32012 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32013 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32015 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32016 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32018 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32019 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32021 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32022 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32024 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32025 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32027 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32028 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32030 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32031 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32033 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32034 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32036 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32037 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32039 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32040 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32042 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32043 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32045 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32046 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32048 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32049 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32051 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32052 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32054 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32055 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32057 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32058 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32060 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32061 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32063 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32064 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32066 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32067 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32069 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32070 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32072 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32073 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32075 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32076 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32078 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32079 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32081 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32082 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32084 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32085 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32087 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32088 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32090 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32091 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32093 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32094 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32096 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32097 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32099 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32100 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32102 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32103 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32105 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32106 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32108 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32109 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32111 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32112 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32114 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32115 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32117 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32118 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32120 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32121 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32123 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32124 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32126 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32127 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32129 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32130 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32132 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32133 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32135 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32136 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32138 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32139 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32141 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32142 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32144 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32145 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32147 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32148 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32150 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32151 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32153 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32154 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32156 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32157 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32159 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32160 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32162 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32163 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32165 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32166 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32168 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32169 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32171 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32172 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32174 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32175 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32177 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32178 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32180 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32181 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32183 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32184 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32186 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32187 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32189 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32190 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32192 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32193 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32195 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32196 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32198 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32199 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32201 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32202 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32204 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32205 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32207 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32208 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32210 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32211 return (void *)((wxObject
*) ((wxSizer
*) x
));
32213 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32214 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32216 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32217 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32219 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32220 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32222 static void *_p_wxEventTo_p_wxObject(void *x
) {
32223 return (void *)((wxObject
*) ((wxEvent
*) x
));
32225 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32226 return (void *)((wxObject
*) ((wxFontData
*) x
));
32228 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32229 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32231 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32232 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32234 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32235 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32237 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32238 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32240 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32241 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32243 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32244 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32246 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32247 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32249 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32250 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32252 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32253 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32255 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32256 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32258 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32259 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32261 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32262 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32264 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32265 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32267 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32268 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32270 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32271 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32273 static void *_p_wxControlTo_p_wxObject(void *x
) {
32274 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32276 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32277 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32279 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32280 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32282 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32283 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32285 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32286 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32288 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32289 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32291 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32292 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32294 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32295 return (void *)((wxObject
*) ((wxColourData
*) x
));
32297 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32298 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32300 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32301 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32303 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32304 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32306 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32307 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32309 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32310 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32312 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32313 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32315 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32316 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32318 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32319 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32321 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32322 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32324 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32325 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32327 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32328 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32330 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32331 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32333 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32334 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32336 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32337 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32339 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32340 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32342 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32343 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32345 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32346 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32348 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32349 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32351 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32352 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32354 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32355 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32357 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32358 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32360 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32361 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32363 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32364 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32366 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32367 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32369 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32370 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32372 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32373 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32375 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32376 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32378 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32379 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32381 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32382 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32384 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32385 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32387 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32388 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32390 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32391 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32393 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32394 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32396 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32397 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32399 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32400 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32402 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32403 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32405 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32406 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32408 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32409 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32411 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32412 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32414 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32415 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32417 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32418 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32420 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32421 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32423 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32424 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32426 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32427 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32429 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32430 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32432 static void *_p_wxImageTo_p_wxObject(void *x
) {
32433 return (void *)((wxObject
*) ((wxImage
*) x
));
32435 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32436 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32438 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32439 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32441 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32442 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32444 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32445 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32447 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32448 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32450 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32451 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32453 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32454 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32456 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32457 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32459 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32460 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32462 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32463 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32465 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32466 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32468 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32469 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32471 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32474 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32477 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32480 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32483 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32484 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32486 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32487 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32489 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32490 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32492 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32495 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32498 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32501 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32502 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32504 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32507 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32510 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32511 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32513 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32514 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32516 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32519 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32522 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32525 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32528 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32531 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32532 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32534 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32535 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32537 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32538 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32540 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32541 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32543 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32544 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32546 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32547 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32549 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32550 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32552 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32553 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32555 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32556 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32558 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32559 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32561 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32562 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32564 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32567 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32568 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32570 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32571 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32573 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32574 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32576 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32577 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32579 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32580 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32582 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32583 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32585 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32586 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32588 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32589 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32591 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32592 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32594 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32595 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32597 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32598 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32600 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32601 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32603 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32604 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32606 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32607 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32609 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32610 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32612 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32613 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32615 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32616 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32618 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32619 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32621 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32622 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32624 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32625 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32627 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32628 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32630 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32631 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32633 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32634 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32636 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32637 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32639 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32640 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32642 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32643 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32645 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32646 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32648 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32649 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32651 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32652 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32654 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32655 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32657 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32658 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32660 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32661 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32663 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32664 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32666 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32667 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32669 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32670 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32672 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32673 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32675 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32676 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32678 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32679 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32681 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32682 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32684 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32685 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32687 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32688 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32690 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32691 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32693 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32694 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32696 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32697 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32699 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32700 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32702 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32703 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32705 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32706 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32708 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32709 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32711 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32712 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32714 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32715 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32717 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32718 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32720 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32721 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32723 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32724 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32726 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32727 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32729 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32730 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32732 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32733 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32735 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32736 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32738 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32739 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32741 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32742 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32744 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32745 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32747 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32748 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32750 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32751 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32753 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32754 return (void *)((wxWindow
*) ((wxControl
*) x
));
32756 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32757 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32759 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32760 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32762 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32763 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32765 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32766 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32768 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32769 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32771 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32772 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32774 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32775 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32777 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32778 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32780 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32781 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32783 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32784 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32786 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32787 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32789 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32790 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32792 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32793 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32795 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32796 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32798 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32799 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32801 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32802 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32804 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32805 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32807 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32808 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32810 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32811 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32813 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32814 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32816 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32817 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32819 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32820 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32822 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32823 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32825 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32826 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32828 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32829 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32831 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32832 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32834 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32835 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32837 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32838 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32840 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32841 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32843 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32844 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32846 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32847 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32849 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32850 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32852 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32853 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32855 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32856 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32858 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32859 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32861 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32862 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32864 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32865 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32867 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32868 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32870 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32871 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32873 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32874 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32876 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32877 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32879 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32880 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32882 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32883 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32885 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32886 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32888 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32889 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32891 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32892 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32894 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32895 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32897 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32898 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32900 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32901 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32903 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32904 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32906 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32907 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32909 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32910 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32912 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32913 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32915 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32916 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32917 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};
32918 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32919 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32920 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32921 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32922 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32923 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32924 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32925 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32926 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32927 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32928 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32929 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32930 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32931 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32932 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32933 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32934 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32935 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32936 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32937 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32938 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32939 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32940 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32941 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32942 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32943 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32944 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32945 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32946 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32947 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32948 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32949 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32950 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32951 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32952 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32953 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32954 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32955 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32956 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32957 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32958 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32959 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32960 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32961 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32962 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32963 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32964 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32965 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32966 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32967 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32968 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32969 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32970 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32971 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32972 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32973 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32974 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32975 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32976 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32977 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32978 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32979 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32980 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32981 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32982 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32983 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32984 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32985 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32986 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32987 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32988 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32989 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32990 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32991 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32992 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32993 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32994 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32995 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32996 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32997 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32998 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32999 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33000 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33001 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33002 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33003 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33004 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33005 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33006 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33007 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33008 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33009 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33010 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33011 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33012 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33013 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33014 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33015 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33016 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33017 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33018 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33019 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33020 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33021 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33022 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33023 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33024 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33025 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33026 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33027 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33028 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33029 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33030 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33031 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33032 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33033 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33034 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33035 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33036 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33037 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33038 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33039 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33040 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33041 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33042 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33043 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33044 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33045 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33046 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33047 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33048 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33049 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33050 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33051 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33052 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33053 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33054 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33055 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33056 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33057 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33058 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33059 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33060 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33061 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33062 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33063 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33064 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33065 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33066 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33067 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33068 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33069 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33070 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33071 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33072 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33073 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33074 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33075 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33076 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33077 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33078 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33080 static swig_type_info
*swig_type_initial
[] = {
33083 &_swigt__p_form_ops_t
,
33085 &_swigt__p_unsigned_char
,
33086 &_swigt__p_unsigned_int
,
33087 &_swigt__p_unsigned_long
,
33088 &_swigt__p_wxANIHandler
,
33089 &_swigt__p_wxAcceleratorTable
,
33090 &_swigt__p_wxActivateEvent
,
33091 &_swigt__p_wxArrayInt
,
33092 &_swigt__p_wxBMPHandler
,
33093 &_swigt__p_wxBitmap
,
33094 &_swigt__p_wxBoxSizer
,
33095 &_swigt__p_wxCURHandler
,
33096 &_swigt__p_wxCalculateLayoutEvent
,
33097 &_swigt__p_wxChildFocusEvent
,
33098 &_swigt__p_wxClipboardTextEvent
,
33099 &_swigt__p_wxCloseEvent
,
33100 &_swigt__p_wxColour
,
33101 &_swigt__p_wxColourData
,
33102 &_swigt__p_wxColourDialog
,
33103 &_swigt__p_wxCommandEvent
,
33104 &_swigt__p_wxContextMenuEvent
,
33105 &_swigt__p_wxControl
,
33106 &_swigt__p_wxControlWithItems
,
33108 &_swigt__p_wxDateEvent
,
33109 &_swigt__p_wxDialog
,
33110 &_swigt__p_wxDirDialog
,
33111 &_swigt__p_wxDisplayChangedEvent
,
33112 &_swigt__p_wxDropFilesEvent
,
33113 &_swigt__p_wxDuplexMode
,
33114 &_swigt__p_wxEraseEvent
,
33115 &_swigt__p_wxEvent
,
33116 &_swigt__p_wxEvtHandler
,
33117 &_swigt__p_wxFSFile
,
33118 &_swigt__p_wxFileDialog
,
33119 &_swigt__p_wxFileSystem
,
33120 &_swigt__p_wxFindDialogEvent
,
33121 &_swigt__p_wxFindReplaceData
,
33122 &_swigt__p_wxFindReplaceDialog
,
33123 &_swigt__p_wxFlexGridSizer
,
33124 &_swigt__p_wxFocusEvent
,
33126 &_swigt__p_wxFontData
,
33127 &_swigt__p_wxFontDialog
,
33128 &_swigt__p_wxFrame
,
33129 &_swigt__p_wxGBSizerItem
,
33130 &_swigt__p_wxGIFHandler
,
33131 &_swigt__p_wxGridBagSizer
,
33132 &_swigt__p_wxGridSizer
,
33133 &_swigt__p_wxHtmlLinkInfo
,
33134 &_swigt__p_wxICOHandler
,
33136 &_swigt__p_wxIconBundle
,
33137 &_swigt__p_wxIconizeEvent
,
33138 &_swigt__p_wxIdleEvent
,
33139 &_swigt__p_wxImage
,
33140 &_swigt__p_wxImageHandler
,
33141 &_swigt__p_wxIndividualLayoutConstraint
,
33142 &_swigt__p_wxInitDialogEvent
,
33143 &_swigt__p_wxJPEGHandler
,
33144 &_swigt__p_wxKeyEvent
,
33145 &_swigt__p_wxLayoutAlgorithm
,
33146 &_swigt__p_wxLayoutConstraints
,
33147 &_swigt__p_wxMDIChildFrame
,
33148 &_swigt__p_wxMDIClientWindow
,
33149 &_swigt__p_wxMDIParentFrame
,
33150 &_swigt__p_wxMaximizeEvent
,
33152 &_swigt__p_wxMenuBar
,
33153 &_swigt__p_wxMenuEvent
,
33154 &_swigt__p_wxMenuItem
,
33155 &_swigt__p_wxMessageDialog
,
33156 &_swigt__p_wxMiniFrame
,
33157 &_swigt__p_wxMouseCaptureChangedEvent
,
33158 &_swigt__p_wxMouseEvent
,
33159 &_swigt__p_wxMoveEvent
,
33160 &_swigt__p_wxMultiChoiceDialog
,
33161 &_swigt__p_wxNavigationKeyEvent
,
33162 &_swigt__p_wxNcPaintEvent
,
33163 &_swigt__p_wxNotifyEvent
,
33164 &_swigt__p_wxNumberEntryDialog
,
33165 &_swigt__p_wxObject
,
33166 &_swigt__p_wxPCXHandler
,
33167 &_swigt__p_wxPNGHandler
,
33168 &_swigt__p_wxPNMHandler
,
33169 &_swigt__p_wxPageSetupDialog
,
33170 &_swigt__p_wxPageSetupDialogData
,
33171 &_swigt__p_wxPaintEvent
,
33172 &_swigt__p_wxPaletteChangedEvent
,
33173 &_swigt__p_wxPanel
,
33174 &_swigt__p_wxPaperSize
,
33175 &_swigt__p_wxPasswordEntryDialog
,
33176 &_swigt__p_wxPoint
,
33177 &_swigt__p_wxPopupWindow
,
33178 &_swigt__p_wxPreviewCanvas
,
33179 &_swigt__p_wxPreviewControlBar
,
33180 &_swigt__p_wxPreviewFrame
,
33181 &_swigt__p_wxPrintData
,
33182 &_swigt__p_wxPrintDialog
,
33183 &_swigt__p_wxPrintDialogData
,
33184 &_swigt__p_wxPrintPreview
,
33185 &_swigt__p_wxPrinter
,
33186 &_swigt__p_wxProgressDialog
,
33187 &_swigt__p_wxPyApp
,
33188 &_swigt__p_wxPyCommandEvent
,
33189 &_swigt__p_wxPyEvent
,
33190 &_swigt__p_wxPyHtmlListBox
,
33191 &_swigt__p_wxPyImageHandler
,
33192 &_swigt__p_wxPyPanel
,
33193 &_swigt__p_wxPyPopupTransientWindow
,
33194 &_swigt__p_wxPyPreviewControlBar
,
33195 &_swigt__p_wxPyPreviewFrame
,
33196 &_swigt__p_wxPyPrintPreview
,
33197 &_swigt__p_wxPyPrintout
,
33198 &_swigt__p_wxPyScrolledWindow
,
33199 &_swigt__p_wxPySizer
,
33200 &_swigt__p_wxPyTaskBarIcon
,
33201 &_swigt__p_wxPyVListBox
,
33202 &_swigt__p_wxPyVScrolledWindow
,
33203 &_swigt__p_wxPyValidator
,
33204 &_swigt__p_wxPyWindow
,
33205 &_swigt__p_wxQueryLayoutInfoEvent
,
33206 &_swigt__p_wxQueryNewPaletteEvent
,
33208 &_swigt__p_wxRegion
,
33209 &_swigt__p_wxSashEvent
,
33210 &_swigt__p_wxSashLayoutWindow
,
33211 &_swigt__p_wxSashWindow
,
33212 &_swigt__p_wxScrollEvent
,
33213 &_swigt__p_wxScrollWinEvent
,
33214 &_swigt__p_wxScrolledWindow
,
33215 &_swigt__p_wxSetCursorEvent
,
33216 &_swigt__p_wxShowEvent
,
33217 &_swigt__p_wxSingleChoiceDialog
,
33219 &_swigt__p_wxSizeEvent
,
33220 &_swigt__p_wxSizer
,
33221 &_swigt__p_wxSizerItem
,
33222 &_swigt__p_wxSplashScreen
,
33223 &_swigt__p_wxSplashScreenWindow
,
33224 &_swigt__p_wxSplitterEvent
,
33225 &_swigt__p_wxSplitterWindow
,
33226 &_swigt__p_wxStaticBoxSizer
,
33227 &_swigt__p_wxStatusBar
,
33228 &_swigt__p_wxStdDialogButtonSizer
,
33229 &_swigt__p_wxString
,
33230 &_swigt__p_wxSysColourChangedEvent
,
33231 &_swigt__p_wxTIFFHandler
,
33232 &_swigt__p_wxTaskBarIcon
,
33233 &_swigt__p_wxTaskBarIconEvent
,
33234 &_swigt__p_wxTextEntryDialog
,
33235 &_swigt__p_wxTipWindow
,
33236 &_swigt__p_wxToolBar
,
33237 &_swigt__p_wxTopLevelWindow
,
33238 &_swigt__p_wxUpdateUIEvent
,
33239 &_swigt__p_wxValidator
,
33240 &_swigt__p_wxVisualAttributes
,
33241 &_swigt__p_wxWindow
,
33242 &_swigt__p_wxWindowCreateEvent
,
33243 &_swigt__p_wxWindowDestroyEvent
,
33244 &_swigt__p_wxXPMHandler
,
33247 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33248 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33249 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33250 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33251 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33252 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33253 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33254 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33255 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33256 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33257 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33258 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33259 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33260 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33261 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33262 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33263 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33264 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33265 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33266 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33267 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33268 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33269 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}};
33270 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33271 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}};
33272 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33273 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33274 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33275 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33276 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33277 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33278 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33279 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33280 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33281 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33282 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33283 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33284 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33285 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33286 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33287 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33288 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33289 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33290 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33291 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33292 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33293 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33294 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33295 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33296 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33297 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33298 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33299 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
33300 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
33301 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33302 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33303 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33304 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33305 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}};
33306 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33307 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33308 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33309 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33310 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33311 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33312 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33313 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33314 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}};
33315 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33316 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33317 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33318 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33319 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33320 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33321 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33322 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33323 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33324 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33325 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33326 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33327 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}};
33328 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33329 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33330 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33331 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33332 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33333 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33334 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33335 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33336 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33337 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33338 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33339 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33340 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33341 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33342 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33343 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33344 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33345 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33346 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33347 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33348 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33349 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33350 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33351 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33352 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33353 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33354 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33355 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33356 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33357 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33358 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33359 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33360 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}};
33361 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33362 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33363 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33364 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}};
33365 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33366 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}};
33367 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}};
33368 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33369 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33370 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33371 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}};
33372 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33373 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33374 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33375 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33376 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}};
33377 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33378 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33379 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33380 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33381 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33382 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33383 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}};
33384 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}};
33385 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33386 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33387 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33388 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33389 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33390 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33391 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}};
33392 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33393 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}};
33394 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33395 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33396 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33397 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33398 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33399 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33400 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33401 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33402 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33403 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33404 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33405 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}};
33406 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33407 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33408 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}};
33409 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33410 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}};
33412 static swig_cast_info
*swig_cast_initial
[] = {
33415 _swigc__p_form_ops_t
,
33417 _swigc__p_unsigned_char
,
33418 _swigc__p_unsigned_int
,
33419 _swigc__p_unsigned_long
,
33420 _swigc__p_wxANIHandler
,
33421 _swigc__p_wxAcceleratorTable
,
33422 _swigc__p_wxActivateEvent
,
33423 _swigc__p_wxArrayInt
,
33424 _swigc__p_wxBMPHandler
,
33425 _swigc__p_wxBitmap
,
33426 _swigc__p_wxBoxSizer
,
33427 _swigc__p_wxCURHandler
,
33428 _swigc__p_wxCalculateLayoutEvent
,
33429 _swigc__p_wxChildFocusEvent
,
33430 _swigc__p_wxClipboardTextEvent
,
33431 _swigc__p_wxCloseEvent
,
33432 _swigc__p_wxColour
,
33433 _swigc__p_wxColourData
,
33434 _swigc__p_wxColourDialog
,
33435 _swigc__p_wxCommandEvent
,
33436 _swigc__p_wxContextMenuEvent
,
33437 _swigc__p_wxControl
,
33438 _swigc__p_wxControlWithItems
,
33440 _swigc__p_wxDateEvent
,
33441 _swigc__p_wxDialog
,
33442 _swigc__p_wxDirDialog
,
33443 _swigc__p_wxDisplayChangedEvent
,
33444 _swigc__p_wxDropFilesEvent
,
33445 _swigc__p_wxDuplexMode
,
33446 _swigc__p_wxEraseEvent
,
33448 _swigc__p_wxEvtHandler
,
33449 _swigc__p_wxFSFile
,
33450 _swigc__p_wxFileDialog
,
33451 _swigc__p_wxFileSystem
,
33452 _swigc__p_wxFindDialogEvent
,
33453 _swigc__p_wxFindReplaceData
,
33454 _swigc__p_wxFindReplaceDialog
,
33455 _swigc__p_wxFlexGridSizer
,
33456 _swigc__p_wxFocusEvent
,
33458 _swigc__p_wxFontData
,
33459 _swigc__p_wxFontDialog
,
33461 _swigc__p_wxGBSizerItem
,
33462 _swigc__p_wxGIFHandler
,
33463 _swigc__p_wxGridBagSizer
,
33464 _swigc__p_wxGridSizer
,
33465 _swigc__p_wxHtmlLinkInfo
,
33466 _swigc__p_wxICOHandler
,
33468 _swigc__p_wxIconBundle
,
33469 _swigc__p_wxIconizeEvent
,
33470 _swigc__p_wxIdleEvent
,
33472 _swigc__p_wxImageHandler
,
33473 _swigc__p_wxIndividualLayoutConstraint
,
33474 _swigc__p_wxInitDialogEvent
,
33475 _swigc__p_wxJPEGHandler
,
33476 _swigc__p_wxKeyEvent
,
33477 _swigc__p_wxLayoutAlgorithm
,
33478 _swigc__p_wxLayoutConstraints
,
33479 _swigc__p_wxMDIChildFrame
,
33480 _swigc__p_wxMDIClientWindow
,
33481 _swigc__p_wxMDIParentFrame
,
33482 _swigc__p_wxMaximizeEvent
,
33484 _swigc__p_wxMenuBar
,
33485 _swigc__p_wxMenuEvent
,
33486 _swigc__p_wxMenuItem
,
33487 _swigc__p_wxMessageDialog
,
33488 _swigc__p_wxMiniFrame
,
33489 _swigc__p_wxMouseCaptureChangedEvent
,
33490 _swigc__p_wxMouseEvent
,
33491 _swigc__p_wxMoveEvent
,
33492 _swigc__p_wxMultiChoiceDialog
,
33493 _swigc__p_wxNavigationKeyEvent
,
33494 _swigc__p_wxNcPaintEvent
,
33495 _swigc__p_wxNotifyEvent
,
33496 _swigc__p_wxNumberEntryDialog
,
33497 _swigc__p_wxObject
,
33498 _swigc__p_wxPCXHandler
,
33499 _swigc__p_wxPNGHandler
,
33500 _swigc__p_wxPNMHandler
,
33501 _swigc__p_wxPageSetupDialog
,
33502 _swigc__p_wxPageSetupDialogData
,
33503 _swigc__p_wxPaintEvent
,
33504 _swigc__p_wxPaletteChangedEvent
,
33506 _swigc__p_wxPaperSize
,
33507 _swigc__p_wxPasswordEntryDialog
,
33509 _swigc__p_wxPopupWindow
,
33510 _swigc__p_wxPreviewCanvas
,
33511 _swigc__p_wxPreviewControlBar
,
33512 _swigc__p_wxPreviewFrame
,
33513 _swigc__p_wxPrintData
,
33514 _swigc__p_wxPrintDialog
,
33515 _swigc__p_wxPrintDialogData
,
33516 _swigc__p_wxPrintPreview
,
33517 _swigc__p_wxPrinter
,
33518 _swigc__p_wxProgressDialog
,
33520 _swigc__p_wxPyCommandEvent
,
33521 _swigc__p_wxPyEvent
,
33522 _swigc__p_wxPyHtmlListBox
,
33523 _swigc__p_wxPyImageHandler
,
33524 _swigc__p_wxPyPanel
,
33525 _swigc__p_wxPyPopupTransientWindow
,
33526 _swigc__p_wxPyPreviewControlBar
,
33527 _swigc__p_wxPyPreviewFrame
,
33528 _swigc__p_wxPyPrintPreview
,
33529 _swigc__p_wxPyPrintout
,
33530 _swigc__p_wxPyScrolledWindow
,
33531 _swigc__p_wxPySizer
,
33532 _swigc__p_wxPyTaskBarIcon
,
33533 _swigc__p_wxPyVListBox
,
33534 _swigc__p_wxPyVScrolledWindow
,
33535 _swigc__p_wxPyValidator
,
33536 _swigc__p_wxPyWindow
,
33537 _swigc__p_wxQueryLayoutInfoEvent
,
33538 _swigc__p_wxQueryNewPaletteEvent
,
33540 _swigc__p_wxRegion
,
33541 _swigc__p_wxSashEvent
,
33542 _swigc__p_wxSashLayoutWindow
,
33543 _swigc__p_wxSashWindow
,
33544 _swigc__p_wxScrollEvent
,
33545 _swigc__p_wxScrollWinEvent
,
33546 _swigc__p_wxScrolledWindow
,
33547 _swigc__p_wxSetCursorEvent
,
33548 _swigc__p_wxShowEvent
,
33549 _swigc__p_wxSingleChoiceDialog
,
33551 _swigc__p_wxSizeEvent
,
33553 _swigc__p_wxSizerItem
,
33554 _swigc__p_wxSplashScreen
,
33555 _swigc__p_wxSplashScreenWindow
,
33556 _swigc__p_wxSplitterEvent
,
33557 _swigc__p_wxSplitterWindow
,
33558 _swigc__p_wxStaticBoxSizer
,
33559 _swigc__p_wxStatusBar
,
33560 _swigc__p_wxStdDialogButtonSizer
,
33561 _swigc__p_wxString
,
33562 _swigc__p_wxSysColourChangedEvent
,
33563 _swigc__p_wxTIFFHandler
,
33564 _swigc__p_wxTaskBarIcon
,
33565 _swigc__p_wxTaskBarIconEvent
,
33566 _swigc__p_wxTextEntryDialog
,
33567 _swigc__p_wxTipWindow
,
33568 _swigc__p_wxToolBar
,
33569 _swigc__p_wxTopLevelWindow
,
33570 _swigc__p_wxUpdateUIEvent
,
33571 _swigc__p_wxValidator
,
33572 _swigc__p_wxVisualAttributes
,
33573 _swigc__p_wxWindow
,
33574 _swigc__p_wxWindowCreateEvent
,
33575 _swigc__p_wxWindowDestroyEvent
,
33576 _swigc__p_wxXPMHandler
,
33580 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33582 static swig_const_info swig_const_table
[] = {
33583 {0, 0, 0, 0.0, 0, 0}};
33588 /* -----------------------------------------------------------------------------
33589 * Type initialization:
33590 * This problem is tough by the requirement that no dynamic
33591 * memory is used. Also, since swig_type_info structures store pointers to
33592 * swig_cast_info structures and swig_cast_info structures store pointers back
33593 * to swig_type_info structures, we need some lookup code at initialization.
33594 * The idea is that swig generates all the structures that are needed.
33595 * The runtime then collects these partially filled structures.
33596 * The SWIG_InitializeModule function takes these initial arrays out of
33597 * swig_module, and does all the lookup, filling in the swig_module.types
33598 * array with the correct data and linking the correct swig_cast_info
33599 * structures together.
33601 * The generated swig_type_info structures are assigned staticly to an initial
33602 * array. We just loop though that array, and handle each type individually.
33603 * First we lookup if this type has been already loaded, and if so, use the
33604 * loaded structure instead of the generated one. Then we have to fill in the
33605 * cast linked list. The cast data is initially stored in something like a
33606 * two-dimensional array. Each row corresponds to a type (there are the same
33607 * number of rows as there are in the swig_type_initial array). Each entry in
33608 * a column is one of the swig_cast_info structures for that type.
33609 * The cast_initial array is actually an array of arrays, because each row has
33610 * a variable number of columns. So to actually build the cast linked list,
33611 * we find the array of casts associated with the type, and loop through it
33612 * adding the casts to the list. The one last trick we need to do is making
33613 * sure the type pointer in the swig_cast_info struct is correct.
33615 * First off, we lookup the cast->type name to see if it is already loaded.
33616 * There are three cases to handle:
33617 * 1) If the cast->type has already been loaded AND the type we are adding
33618 * casting info to has not been loaded (it is in this module), THEN we
33619 * replace the cast->type pointer with the type pointer that has already
33621 * 2) If BOTH types (the one we are adding casting info to, and the
33622 * cast->type) are loaded, THEN the cast info has already been loaded by
33623 * the previous module so we just ignore it.
33624 * 3) Finally, if cast->type has not already been loaded, then we add that
33625 * swig_cast_info to the linked list (because the cast->type) pointer will
33627 * ----------------------------------------------------------------------------- */
33637 #define SWIGRUNTIME_DEBUG
33641 SWIG_InitializeModule(void *clientdata
) {
33643 swig_module_info
*module_head
;
33644 static int init_run
= 0;
33646 clientdata
= clientdata
;
33648 if (init_run
) return;
33651 /* Initialize the swig_module */
33652 swig_module
.type_initial
= swig_type_initial
;
33653 swig_module
.cast_initial
= swig_cast_initial
;
33655 /* Try and load any already created modules */
33656 module_head
= SWIG_GetModule(clientdata
);
33658 swig_module
.next
= module_head
->next
;
33659 module_head
->next
= &swig_module
;
33661 /* This is the first module loaded */
33662 swig_module
.next
= &swig_module
;
33663 SWIG_SetModule(clientdata
, &swig_module
);
33666 /* Now work on filling in swig_module.types */
33667 #ifdef SWIGRUNTIME_DEBUG
33668 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33670 for (i
= 0; i
< swig_module
.size
; ++i
) {
33671 swig_type_info
*type
= 0;
33672 swig_type_info
*ret
;
33673 swig_cast_info
*cast
;
33675 #ifdef SWIGRUNTIME_DEBUG
33676 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33679 /* if there is another module already loaded */
33680 if (swig_module
.next
!= &swig_module
) {
33681 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33684 /* Overwrite clientdata field */
33685 #ifdef SWIGRUNTIME_DEBUG
33686 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33688 if (swig_module
.type_initial
[i
]->clientdata
) {
33689 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33690 #ifdef SWIGRUNTIME_DEBUG
33691 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33695 type
= swig_module
.type_initial
[i
];
33698 /* Insert casting types */
33699 cast
= swig_module
.cast_initial
[i
];
33700 while (cast
->type
) {
33701 /* Don't need to add information already in the list */
33703 #ifdef SWIGRUNTIME_DEBUG
33704 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33706 if (swig_module
.next
!= &swig_module
) {
33707 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33708 #ifdef SWIGRUNTIME_DEBUG
33709 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33713 if (type
== swig_module
.type_initial
[i
]) {
33714 #ifdef SWIGRUNTIME_DEBUG
33715 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33720 /* Check for casting already in the list */
33721 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33722 #ifdef SWIGRUNTIME_DEBUG
33723 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33725 if (!ocast
) ret
= 0;
33730 #ifdef SWIGRUNTIME_DEBUG
33731 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33734 type
->cast
->prev
= cast
;
33735 cast
->next
= type
->cast
;
33741 /* Set entry in modules->types array equal to the type */
33742 swig_module
.types
[i
] = type
;
33744 swig_module
.types
[i
] = 0;
33746 #ifdef SWIGRUNTIME_DEBUG
33747 printf("**** SWIG_InitializeModule: Cast List ******\n");
33748 for (i
= 0; i
< swig_module
.size
; ++i
) {
33750 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33751 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33752 while (cast
->type
) {
33753 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33757 printf("---- Total casts: %d\n",j
);
33759 printf("**** SWIG_InitializeModule: Cast List ******\n");
33763 /* This function will propagate the clientdata field of type to
33764 * any new swig_type_info structures that have been added into the list
33765 * of equivalent types. It is like calling
33766 * SWIG_TypeClientData(type, clientdata) a second time.
33769 SWIG_PropagateClientData(void) {
33771 swig_cast_info
*equiv
;
33772 static int init_run
= 0;
33774 if (init_run
) return;
33777 for (i
= 0; i
< swig_module
.size
; i
++) {
33778 if (swig_module
.types
[i
]->clientdata
) {
33779 equiv
= swig_module
.types
[i
]->cast
;
33781 if (!equiv
->converter
) {
33782 if (equiv
->type
&& !equiv
->type
->clientdata
)
33783 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33785 equiv
= equiv
->next
;
33805 /* Python-specific SWIG API */
33806 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33807 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33808 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33810 /* -----------------------------------------------------------------------------
33811 * global variable support code.
33812 * ----------------------------------------------------------------------------- */
33814 typedef struct swig_globalvar
{
33815 char *name
; /* Name of global variable */
33816 PyObject
*(*get_attr
)(void); /* Return the current value */
33817 int (*set_attr
)(PyObject
*); /* Set the value */
33818 struct swig_globalvar
*next
;
33821 typedef struct swig_varlinkobject
{
33823 swig_globalvar
*vars
;
33824 } swig_varlinkobject
;
33826 SWIGINTERN PyObject
*
33827 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33828 return PyString_FromString("<Swig global variables>");
33831 SWIGINTERN PyObject
*
33832 swig_varlink_str(swig_varlinkobject
*v
) {
33833 PyObject
*str
= PyString_FromString("(");
33834 swig_globalvar
*var
;
33835 for (var
= v
->vars
; var
; var
=var
->next
) {
33836 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33837 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33839 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33844 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33845 PyObject
*str
= swig_varlink_str(v
);
33846 fprintf(fp
,"Swig global variables ");
33847 fprintf(fp
,"%s\n", PyString_AsString(str
));
33853 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33854 swig_globalvar
*var
= v
->vars
;
33856 swig_globalvar
*n
= var
->next
;
33863 SWIGINTERN PyObject
*
33864 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33865 PyObject
*res
= NULL
;
33866 swig_globalvar
*var
= v
->vars
;
33868 if (strcmp(var
->name
,n
) == 0) {
33869 res
= (*var
->get_attr
)();
33874 if (res
== NULL
&& !PyErr_Occurred()) {
33875 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33881 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33883 swig_globalvar
*var
= v
->vars
;
33885 if (strcmp(var
->name
,n
) == 0) {
33886 res
= (*var
->set_attr
)(p
);
33891 if (res
== 1 && !PyErr_Occurred()) {
33892 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33897 SWIGINTERN PyTypeObject
*
33898 swig_varlink_type(void) {
33899 static char varlink__doc__
[] = "Swig var link object";
33900 static PyTypeObject varlink_type
;
33901 static int type_init
= 0;
33903 const PyTypeObject tmp
33905 PyObject_HEAD_INIT(NULL
)
33906 0, /* Number of items in variable part (ob_size) */
33907 (char *)"swigvarlink", /* Type name (tp_name) */
33908 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33909 0, /* Itemsize (tp_itemsize) */
33910 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33911 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33912 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33913 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33914 0, /* tp_compare */
33915 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33916 0, /* tp_as_number */
33917 0, /* tp_as_sequence */
33918 0, /* tp_as_mapping */
33921 (reprfunc
)swig_varlink_str
, /* tp_str */
33922 0, /* tp_getattro */
33923 0, /* tp_setattro */
33924 0, /* tp_as_buffer */
33926 varlink__doc__
, /* tp_doc */
33927 0, /* tp_traverse */
33929 0, /* tp_richcompare */
33930 0, /* tp_weaklistoffset */
33931 #if PY_VERSION_HEX >= 0x02020000
33932 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33934 #if PY_VERSION_HEX >= 0x02030000
33937 #ifdef COUNT_ALLOCS
33938 0,0,0,0 /* tp_alloc -> tp_next */
33941 varlink_type
= tmp
;
33942 varlink_type
.ob_type
= &PyType_Type
;
33945 return &varlink_type
;
33948 /* Create a variable linking object for use later */
33949 SWIGINTERN PyObject
*
33950 SWIG_Python_newvarlink(void) {
33951 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33955 return ((PyObject
*) result
);
33959 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33960 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33961 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33963 size_t size
= strlen(name
)+1;
33964 gv
->name
= (char *)malloc(size
);
33966 strncpy(gv
->name
,name
,size
);
33967 gv
->get_attr
= get_attr
;
33968 gv
->set_attr
= set_attr
;
33969 gv
->next
= v
->vars
;
33975 SWIGINTERN PyObject
*
33977 static PyObject
*_SWIG_globals
= 0;
33978 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33979 return _SWIG_globals
;
33982 /* -----------------------------------------------------------------------------
33983 * constants/methods manipulation
33984 * ----------------------------------------------------------------------------- */
33986 /* Install Constants */
33988 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33991 for (i
= 0; constants
[i
].type
; ++i
) {
33992 switch(constants
[i
].type
) {
33993 case SWIG_PY_POINTER
:
33994 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33996 case SWIG_PY_BINARY
:
33997 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34004 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34010 /* -----------------------------------------------------------------------------*/
34011 /* Fix SwigMethods to carry the callback ptrs when needed */
34012 /* -----------------------------------------------------------------------------*/
34015 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34016 swig_const_info
*const_table
,
34017 swig_type_info
**types
,
34018 swig_type_info
**types_initial
) {
34020 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34021 const char *c
= methods
[i
].ml_doc
;
34022 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34024 swig_const_info
*ci
= 0;
34025 const char *name
= c
+ 10;
34026 for (j
= 0; const_table
[j
].type
; ++j
) {
34027 if (strncmp(const_table
[j
].name
, name
,
34028 strlen(const_table
[j
].name
)) == 0) {
34029 ci
= &(const_table
[j
]);
34034 size_t shift
= (ci
->ptype
) - types
;
34035 swig_type_info
*ty
= types_initial
[shift
];
34036 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34037 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34038 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34041 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34043 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34045 strncpy(buff
, "swig_ptr: ", 10);
34047 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34048 methods
[i
].ml_doc
= ndoc
;
34060 /* -----------------------------------------------------------------------------*
34061 * Partial Init method
34062 * -----------------------------------------------------------------------------*/
34067 SWIGEXPORT
void SWIG_init(void) {
34070 /* Fix SwigMethods to carry the callback ptrs when needed */
34071 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34073 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34074 d
= PyModule_GetDict(m
);
34076 SWIG_InitializeModule(0);
34077 SWIG_InstallConstants(d
,swig_const_table
);
34080 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34081 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34082 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34083 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34084 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34085 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34086 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34087 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34088 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34089 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34090 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
34091 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34092 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34093 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34094 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34095 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34096 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
34097 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34098 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34099 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34100 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34101 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34102 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34103 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34104 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34105 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34106 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34107 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34108 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34109 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
34110 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
34111 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
34112 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
34113 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34114 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34115 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34116 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34117 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34118 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34119 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34120 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34121 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34122 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34123 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34124 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34125 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34126 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34127 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34128 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34129 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34130 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34131 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34132 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34133 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34134 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34135 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34136 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34137 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34138 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34139 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34140 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34141 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34142 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34143 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34144 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34145 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34146 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34147 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34148 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34149 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34150 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34151 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34152 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34153 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34154 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34155 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34156 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34157 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34158 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34159 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34160 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34161 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34162 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34163 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34164 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34165 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34166 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34167 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34168 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34169 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34170 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34171 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34172 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34173 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34174 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34175 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34176 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34177 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34178 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34179 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34180 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34181 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34183 // Map renamed classes back to their common name for OOR
34184 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34185 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34186 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34188 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34189 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34190 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34191 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34192 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34193 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34194 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34195 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34196 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34197 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34198 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34199 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34200 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34201 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34202 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34203 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34204 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
34205 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
34206 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
34207 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
34208 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
34209 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
34210 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
34211 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34212 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34213 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34214 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34215 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34216 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34217 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34218 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34219 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34220 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34221 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34222 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34223 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34224 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34225 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34226 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34227 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34228 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34229 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34230 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34231 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34232 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34233 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34234 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34235 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34236 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34237 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34238 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34239 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34240 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34241 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34242 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34243 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34244 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34245 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34246 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34247 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34248 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34249 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34250 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34251 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34252 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34253 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34254 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34255 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34256 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34257 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34258 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34259 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34260 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34261 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34262 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34263 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34264 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34265 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34266 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34267 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34268 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34269 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34270 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34271 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34272 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34273 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34274 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34275 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34276 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34277 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34278 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34279 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34280 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34281 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34282 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34283 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34285 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");