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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_wxANIHandler swig_types[6]
2469 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
2470 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
2471 #define SWIGTYPE_p_wxArrayInt swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2484 #define SWIGTYPE_p_wxControl swig_types[22]
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2486 #define SWIGTYPE_p_wxDC swig_types[24]
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2488 #define SWIGTYPE_p_wxDialog swig_types[26]
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
2494 #define SWIGTYPE_p_wxEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
2496 #define SWIGTYPE_p_wxFSFile swig_types[34]
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35]
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36]
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
2504 #define SWIGTYPE_p_wxFont swig_types[42]
2505 #define SWIGTYPE_p_wxFontData swig_types[43]
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
2510 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
2511 #define SWIGTYPE_p_wxGridSizer swig_types[49]
2512 #define SWIGTYPE_p_wxICOHandler swig_types[50]
2513 #define SWIGTYPE_p_wxIcon swig_types[51]
2514 #define SWIGTYPE_p_wxIconBundle swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2520 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2521 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2522 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2523 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2524 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2525 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2526 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2527 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2528 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2529 #define SWIGTYPE_p_wxMenu swig_types[67]
2530 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2531 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2533 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2534 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2535 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
2539 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
2542 #define SWIGTYPE_p_wxObject swig_types[80]
2543 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
2544 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
2545 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
2547 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPanel swig_types[88]
2551 #define SWIGTYPE_p_wxPaperSize swig_types[89]
2552 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
2553 #define SWIGTYPE_p_wxPoint swig_types[91]
2554 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
2555 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
2556 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
2557 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
2558 #define SWIGTYPE_p_wxPrintData swig_types[96]
2559 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
2560 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
2561 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
2562 #define SWIGTYPE_p_wxPrinter swig_types[100]
2563 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
2564 #define SWIGTYPE_p_wxPyApp swig_types[102]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
2568 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPyPanel swig_types[107]
2570 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
2571 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
2572 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
2573 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
2574 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
2575 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
2576 #define SWIGTYPE_p_wxPySizer swig_types[114]
2577 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
2578 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
2579 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
2580 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2581 #define SWIGTYPE_p_wxPyWindow swig_types[119]
2582 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
2583 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
2584 #define SWIGTYPE_p_wxRect swig_types[122]
2585 #define SWIGTYPE_p_wxRegion swig_types[123]
2586 #define SWIGTYPE_p_wxSashEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
2588 #define SWIGTYPE_p_wxSashWindow swig_types[126]
2589 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
2590 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
2591 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
2592 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
2593 #define SWIGTYPE_p_wxShowEvent swig_types[131]
2594 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
2595 #define SWIGTYPE_p_wxSize swig_types[133]
2596 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxSizerItem swig_types[136]
2599 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
2600 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
2601 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
2602 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
2603 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
2604 #define SWIGTYPE_p_wxStatusBar swig_types[142]
2605 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
2606 #define SWIGTYPE_p_wxString swig_types[144]
2607 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
2608 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
2609 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
2610 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
2612 #define SWIGTYPE_p_wxTipWindow swig_types[150]
2613 #define SWIGTYPE_p_wxToolBar swig_types[151]
2614 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
2615 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
2616 #define SWIGTYPE_p_wxValidator swig_types[154]
2617 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
2618 #define SWIGTYPE_p_wxWindow swig_types[156]
2619 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
2620 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
2621 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
2622 static swig_type_info
*swig_types
[161];
2623 static swig_module_info swig_module
= {swig_types
, 160, 0, 0, 0, 0};
2624 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2625 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2627 /* -------- TYPES TABLE (END) -------- */
2629 #if (PY_VERSION_HEX <= 0x02000000)
2630 # if !defined(SWIG_PYTHON_CLASSIC)
2631 # error "This python version requires to use swig with the '-classic' option"
2634 #if (PY_VERSION_HEX <= 0x02020000)
2635 # error "This python version requires to use swig with the '-nomodern' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodernargs' option"
2641 # error "This python version requires to use swig with the '-nofastunpack' option"
2644 /*-----------------------------------------------
2645 @(target):= _windows_.so
2646 ------------------------------------------------*/
2647 #define SWIG_init init_windows_
2649 #define SWIG_name "_windows_"
2651 #define SWIGVERSION 0x010329
2654 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2655 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2658 #include <stdexcept>
2662 class PyObject_ptr
{
2667 PyObject_ptr() :_obj(0)
2671 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2676 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2678 if (initial_ref
) Py_XINCREF(_obj
);
2681 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2683 Py_XINCREF(item
._obj
);
2694 operator PyObject
*() const
2699 PyObject
*operator->() const
2708 struct PyObject_var
: PyObject_ptr
{
2709 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2711 PyObject_var
& operator = (PyObject
* obj
)
2721 #include "wx/wxPython/wxPython.h"
2722 #include "wx/wxPython/pyclasses.h"
2725 static const wxString
wxPyEmptyString(wxEmptyString
);
2726 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2732 # define LLONG_MIN LONG_LONG_MIN
2735 # define LLONG_MAX LONG_LONG_MAX
2738 # define ULLONG_MAX ULONG_LONG_MAX
2743 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2745 if (PyNumber_Check(obj
)) {
2746 if (val
) *val
= PyInt_AsLong(obj
);
2749 return SWIG_TypeError
;
2754 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2757 int res
= SWIG_AsVal_long (obj
, &v
);
2758 if (SWIG_IsOK(res
)) {
2759 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2760 return SWIG_OverflowError
;
2762 if (val
) *val
= static_cast< int >(v
);
2770 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2772 if (obj
== Py_True
) {
2773 if (val
) *val
= true;
2775 } else if (obj
== Py_False
) {
2776 if (val
) *val
= false;
2780 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2781 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2787 #define SWIG_From_long PyInt_FromLong
2790 SWIGINTERNINLINE PyObject
*
2791 SWIG_From_int (int value
)
2793 return SWIG_From_long (value
);
2798 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2800 if (PyNumber_Check(obj
)) {
2801 if (val
) *val
= PyFloat_AsDouble(obj
);
2804 return SWIG_TypeError
;
2808 #define SWIG_From_double PyFloat_FromDouble
2810 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2811 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2812 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2813 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2814 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2815 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2818 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2820 self
->GetFieldRect(i
, r
);
2823 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2824 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2825 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2827 #include <wx/popupwin.h>
2830 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2833 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2834 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2835 : wxPopupTransientWindow(parent
, style
) {}
2837 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2838 DEC_PYCALLBACK__(OnDismiss
);
2839 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2844 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2845 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2846 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2849 #include <wx/tipwin.h>
2851 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2852 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2855 #include <wx/tipwin.h>
2858 #include <wx/vscroll.h>
2861 class wxPyVScrolledWindow
: public wxVScrolledWindow
2863 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2865 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2867 wxPyVScrolledWindow(wxWindow
*parent
,
2868 wxWindowID id
= wxID_ANY
,
2869 const wxPoint
& pos
= wxDefaultPosition
,
2870 const wxSize
& size
= wxDefaultSize
,
2872 const wxString
& name
= wxPyPanelNameStr
)
2873 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2876 // Overridable virtuals
2878 // this function must be overridden in the derived class and it should
2879 // return the height of the given line in pixels
2880 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2883 // this function doesn't have to be overridden but it may be useful to do
2884 // it if calculating the lines heights is a relatively expensive operation
2885 // as it gives the user code a possibility to calculate several of them at
2888 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2889 // shouldn't rely on the latter being called for all lines in the interval
2890 // specified here. It is also possible that OnGetLineHeight() will be
2891 // called for the lines outside of this interval, so this is really just a
2892 // hint, not a promise.
2894 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2896 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2899 // when the number of lines changes, we try to estimate the total height
2900 // of all lines which is a rather expensive operation in terms of lines
2901 // access, so if the user code may estimate the average height
2902 // better/faster than we do, it should override this function to implement
2905 // this function should return the best guess for the total height it may
2907 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2910 // Also expose some other interesting protected methods
2913 // find the index of the line we need to show at the top of the window such
2914 // that the last (fully or partially) visible line is the given one
2915 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2916 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2918 // get the total height of the lines between lineMin (inclusive) and
2919 // lineMax (exclusive)
2920 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2921 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2927 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2929 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2930 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2931 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2935 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2938 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2939 return SWIG_TypeError
;
2942 *val
= (unsigned long)v
;
2947 SWIGINTERNINLINE
int
2948 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2951 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2952 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2957 SWIGINTERNINLINE PyObject
*
2958 SWIG_From_unsigned_SS_long (unsigned long value
)
2960 return (value
> LONG_MAX
) ?
2961 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2965 SWIGINTERNINLINE PyObject
*
2966 SWIG_From_size_t (size_t value
)
2968 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2972 #include <wx/vlbox.h>
2974 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2976 class wxPyVListBox
: public wxVListBox
2978 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2980 wxPyVListBox() : wxVListBox() {}
2982 wxPyVListBox(wxWindow
*parent
,
2983 wxWindowID id
= wxID_ANY
,
2984 const wxPoint
& pos
= wxDefaultPosition
,
2985 const wxSize
& size
= wxDefaultSize
,
2987 const wxString
& name
= wxPyVListBoxNameStr
)
2988 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2991 // Overridable virtuals
2993 // the derived class must implement this function to actually draw the item
2994 // with the given index on the provided DC
2995 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2996 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
2999 // the derived class must implement this method to return the height of the
3001 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3002 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3005 // this method may be used to draw separators between the lines; note that
3006 // the rectangle may be modified, typically to deflate it a bit before
3007 // passing to OnDrawItem()
3009 // the base class version doesn't do anything
3010 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3011 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
3014 // this method is used to draw the items background and, maybe, a border
3017 // the base class version implements a reasonable default behaviour which
3018 // consists in drawing the selected item with the standard background
3019 // colour and drawing a border around the item if it is either selected or
3021 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3022 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3028 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3030 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3031 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3032 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3033 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3036 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3037 unsigned long cookie
= 0;
3038 int selected
= self
->GetFirstSelected(cookie
);
3039 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3040 PyObject
* tup
= PyTuple_New(2);
3041 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3042 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3043 wxPyEndBlockThreads(blocked
);
3046 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3047 int selected
= self
->GetNextSelected(cookie
);
3048 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3049 PyObject
* tup
= PyTuple_New(2);
3050 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3051 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3052 wxPyEndBlockThreads(blocked
);
3056 #include <wx/htmllbox.h>
3059 class wxPyHtmlListBox
: public wxHtmlListBox
3061 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3063 wxPyHtmlListBox() : wxHtmlListBox() {}
3065 wxPyHtmlListBox(wxWindow
*parent
,
3066 wxWindowID id
= wxID_ANY
,
3067 const wxPoint
& pos
= wxDefaultPosition
,
3068 const wxSize
& size
= wxDefaultSize
,
3070 const wxString
& name
= wxPyVListBoxNameStr
)
3071 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3074 // Overridable virtuals
3076 // this method must be implemented in the derived class and should return
3077 // the body (i.e. without <html>) of the HTML for the given item
3078 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3080 // this function may be overridden to decorate HTML returned by OnGetItem()
3081 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3084 // // this method allows to customize the selection appearance: it may be used
3085 // // to specify the colour of the text which normally has the given colour
3086 // // colFg when it is inside the selection
3088 // // by default, the original colour is not used at all and all text has the
3089 // // same (default for this system) colour inside selection
3090 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3092 // // this is the same as GetSelectedTextColour() but allows to customize the
3093 // // background colour -- this is even more rarely used as you can change it
3094 // // globally using SetSelectionBackground()
3095 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3102 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3104 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3105 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3111 #ifndef wxHAS_TASK_BAR_ICON
3112 // implement dummy classes for platforms that don't have it
3114 class wxTaskBarIcon
: public wxEvtHandler
3117 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3121 class wxTaskBarIconEvent
: public wxEvent
3124 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3125 { wxPyRaiseNotImplemented(); }
3126 virtual wxEvent
* Clone() const { return NULL
; }
3127 bool IsOk() const { return false; }
3128 bool IsIconInstalled() const { return false; }
3129 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3130 bool RemoveIcon() { return false; }
3131 bool PopupMenu(wxMenu
*menu
) { return false; }
3135 wxEVT_TASKBAR_MOVE
= 0,
3136 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3137 wxEVT_TASKBAR_LEFT_UP
= 0,
3138 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3139 wxEVT_TASKBAR_RIGHT_UP
= 0,
3140 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3141 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3146 // Otherwise make a class that can virtualize CreatePopupMenu
3147 class wxPyTaskBarIcon
: public wxTaskBarIcon
3149 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3151 wxPyTaskBarIcon() : wxTaskBarIcon()
3154 wxMenu
* CreatePopupMenu() {
3155 wxMenu
*rval
= NULL
;
3157 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3158 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3161 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3163 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3168 wxPyEndBlockThreads(blocked
);
3170 rval
= wxTaskBarIcon::CreatePopupMenu();
3177 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3181 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3185 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3186 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3187 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3188 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3189 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3190 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3191 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3193 self
->GetFilenames(arr
);
3194 return wxArrayString2PyList_helper(arr
);
3196 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3198 self
->GetPaths(arr
);
3199 return wxArrayString2PyList_helper(arr
);
3201 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3202 return wxArrayInt2PyList_helper(self
->GetSelections());
3204 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
){
3205 return new wxSingleChoiceDialog(parent
, message
, caption
,
3206 choices
, choices_array
, NULL
, style
, pos
);
3208 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3212 // C++ version of Python aware wxWindow
3213 class wxPyWindow
: public wxWindow
3215 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3217 wxPyWindow() : wxWindow() {}
3218 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3219 const wxPoint
& pos
= wxDefaultPosition
,
3220 const wxSize
& size
= wxDefaultSize
,
3222 const wxString
& name
= wxPyPanelNameStr
)
3223 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3225 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3227 bool DoEraseBackground(wxDC
* dc
) {
3229 return wxWindow::DoEraseBackground(dc
->GetHDC());
3231 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3237 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3238 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3239 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3240 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3242 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3243 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3244 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3246 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3247 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3249 DEC_PYCALLBACK__(InitDialog
);
3250 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3251 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3252 DEC_PYCALLBACK_BOOL_(Validate
);
3254 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3255 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3256 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3258 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3259 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3261 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3262 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3264 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3266 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3271 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3273 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3274 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3275 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3276 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3278 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3279 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3280 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3282 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3283 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3285 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3286 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3287 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3288 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3290 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3291 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3292 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3294 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3295 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3297 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3298 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3300 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3302 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3304 // C++ version of Python aware wxPanel
3305 class wxPyPanel
: public wxPanel
3307 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3309 wxPyPanel() : wxPanel() {}
3310 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3311 const wxPoint
& pos
= wxDefaultPosition
,
3312 const wxSize
& size
= wxDefaultSize
,
3314 const wxString
& name
= wxPyPanelNameStr
)
3315 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3317 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3318 bool DoEraseBackground(wxDC
* dc
) {
3320 return wxWindow::DoEraseBackground(dc
->GetHDC());
3322 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3329 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3330 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3331 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3332 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3334 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3335 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3336 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3338 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3339 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3341 DEC_PYCALLBACK__(InitDialog
);
3342 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3343 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3344 DEC_PYCALLBACK_BOOL_(Validate
);
3346 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3347 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3348 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3350 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3351 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3353 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3354 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3356 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3358 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3363 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3365 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3366 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3367 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3368 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3370 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3371 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3372 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3374 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3375 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3377 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3378 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3379 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3380 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3382 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3383 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3384 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3386 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3387 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3389 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3390 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3392 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3394 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3396 // C++ version of Python aware wxScrolledWindow
3397 class wxPyScrolledWindow
: public wxScrolledWindow
3399 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3401 wxPyScrolledWindow() : wxScrolledWindow() {}
3402 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3403 const wxPoint
& pos
= wxDefaultPosition
,
3404 const wxSize
& size
= wxDefaultSize
,
3406 const wxString
& name
= wxPyPanelNameStr
)
3407 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3409 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3410 bool DoEraseBackground(wxDC
* dc
) {
3412 return wxWindow::DoEraseBackground(dc
->GetHDC());
3414 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3420 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3421 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3422 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3423 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3425 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3426 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3427 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3429 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3430 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3432 DEC_PYCALLBACK__(InitDialog
);
3433 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3434 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3435 DEC_PYCALLBACK_BOOL_(Validate
);
3437 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3438 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3439 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3441 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3442 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3444 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3445 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3447 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3449 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3454 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3456 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3457 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3458 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3459 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3461 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3462 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3463 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3465 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3466 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3468 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3469 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3470 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3471 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3473 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3474 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3475 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3477 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3478 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3480 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3481 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3483 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3485 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3488 #include "wx/wxPython/printfw.h"
3491 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3492 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3493 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3495 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3496 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3497 self
->GetPrivDataLen());
3498 wxPyEndBlockThreads(blocked
);
3501 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3502 if (! PyString_Check(data
)) {
3503 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3504 "Expected string object"));
3508 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3509 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3510 wxPyEndBlockThreads(blocked
);
3514 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3516 // Since this one would be tough and ugly to do with the Macros...
3517 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3518 bool hadErr
= false;
3521 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3522 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3523 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3524 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3527 val
= PyTuple_GetItem(result
, 0);
3528 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3531 val
= PyTuple_GetItem(result
, 1);
3532 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3535 val
= PyTuple_GetItem(result
, 2);
3536 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3539 val
= PyTuple_GetItem(result
, 3);
3540 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3547 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3552 wxPyEndBlockThreads(blocked
);
3554 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3559 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3560 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3561 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3562 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3563 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3564 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3565 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3571 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3572 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3575 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3576 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3579 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3580 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3581 PyObject* win = wxPyMake_wxObject(a,false); \
3582 PyObject* dc = wxPyMake_wxObject(&b,false); \
3583 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3587 wxPyEndBlockThreads(blocked); \
3589 rval = PCLASS::CBNAME(a, b); \
3596 class wxPyPrintPreview
: public wxPrintPreview
3598 DECLARE_CLASS(wxPyPrintPreview
)
3600 wxPyPrintPreview(wxPyPrintout
* printout
,
3601 wxPyPrintout
* printoutForPrinting
,
3602 wxPrintDialogData
* data
=NULL
)
3603 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3605 wxPyPrintPreview(wxPyPrintout
* printout
,
3606 wxPyPrintout
* printoutForPrinting
,
3608 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3611 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3612 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3613 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3614 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3615 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3616 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3617 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3622 // Stupid renamed classes... Fix this in 2.5...
3623 #if defined(__WXMSW__)
3624 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3625 #elif defined(__WXMAC__)
3626 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3628 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3631 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3632 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3633 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3634 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3635 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3636 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3637 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3640 class wxPyPreviewFrame
: public wxPreviewFrame
3642 DECLARE_CLASS(wxPyPreviewFrame
)
3644 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3645 const wxString
& title
,
3646 const wxPoint
& pos
= wxDefaultPosition
,
3647 const wxSize
& size
= wxDefaultSize
,
3648 long style
= wxDEFAULT_FRAME_STYLE
,
3649 const wxString
& name
= wxPyFrameNameStr
)
3650 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3653 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3654 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3656 DEC_PYCALLBACK_VOID_(Initialize
);
3657 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3658 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3663 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3665 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3666 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3667 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3670 class wxPyPreviewControlBar
: public wxPreviewControlBar
3672 DECLARE_CLASS(wxPyPreviewControlBar
)
3674 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3677 const wxPoint
& pos
= wxDefaultPosition
,
3678 const wxSize
& size
= wxDefaultSize
,
3680 const wxString
& name
= wxPyPanelNameStr
)
3681 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3684 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3686 DEC_PYCALLBACK_VOID_(CreateButtons
);
3687 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3692 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3693 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3694 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3699 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
= 0;
3701 wxWindow
*arg1
= (wxWindow
*) 0 ;
3702 int arg2
= (int) (int)-1 ;
3703 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3704 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3705 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3706 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3707 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3708 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3709 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3710 wxPanel
*result
= 0 ;
3719 bool temp6
= false ;
3720 PyObject
* obj0
= 0 ;
3721 PyObject
* obj1
= 0 ;
3722 PyObject
* obj2
= 0 ;
3723 PyObject
* obj3
= 0 ;
3724 PyObject
* obj4
= 0 ;
3725 PyObject
* obj5
= 0 ;
3726 char * kwnames
[] = {
3727 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3732 if (!SWIG_IsOK(res1
)) {
3733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3735 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3738 if (!SWIG_IsOK(ecode2
)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3741 arg2
= static_cast< int >(val2
);
3746 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3752 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3756 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3757 if (!SWIG_IsOK(ecode5
)) {
3758 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3760 arg5
= static_cast< long >(val5
);
3764 arg6
= wxString_in_helper(obj5
);
3765 if (arg6
== NULL
) SWIG_fail
;
3770 if (!wxPyCheckForApp()) SWIG_fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3791 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3792 PyObject
*resultobj
= 0;
3793 wxPanel
*result
= 0 ;
3795 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3797 if (!wxPyCheckForApp()) SWIG_fail
;
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 result
= (wxPanel
*)new wxPanel();
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3810 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
*resultobj
= 0;
3812 wxPanel
*arg1
= (wxPanel
*) 0 ;
3813 wxWindow
*arg2
= (wxWindow
*) 0 ;
3814 int arg3
= (int) (int)-1 ;
3815 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3816 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3817 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3818 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3819 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3820 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3821 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3833 bool temp7
= false ;
3834 PyObject
* obj0
= 0 ;
3835 PyObject
* obj1
= 0 ;
3836 PyObject
* obj2
= 0 ;
3837 PyObject
* obj3
= 0 ;
3838 PyObject
* obj4
= 0 ;
3839 PyObject
* obj5
= 0 ;
3840 PyObject
* obj6
= 0 ;
3841 char * kwnames
[] = {
3842 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3847 if (!SWIG_IsOK(res1
)) {
3848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3850 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3851 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3852 if (!SWIG_IsOK(res2
)) {
3853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3855 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3857 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3858 if (!SWIG_IsOK(ecode3
)) {
3859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3861 arg3
= static_cast< int >(val3
);
3866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3872 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3876 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3877 if (!SWIG_IsOK(ecode6
)) {
3878 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3880 arg6
= static_cast< long >(val6
);
3884 arg7
= wxString_in_helper(obj6
);
3885 if (arg7
== NULL
) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3912 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3913 PyObject
*resultobj
= 0;
3914 wxPanel
*arg1
= (wxPanel
*) 0 ;
3917 PyObject
*swig_obj
[1] ;
3919 if (!args
) SWIG_fail
;
3921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3922 if (!SWIG_IsOK(res1
)) {
3923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3925 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 (arg1
)->SetFocusIgnoringChildren();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= SWIG_Py_Void();
3939 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
= 0;
3941 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3942 SwigValueWrapper
<wxVisualAttributes
> result
;
3945 PyObject
* obj0
= 0 ;
3946 char * kwnames
[] = {
3947 (char *) "variant", NULL
3950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3952 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3953 if (!SWIG_IsOK(ecode1
)) {
3954 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3956 arg1
= static_cast< wxWindowVariant
>(val1
);
3959 if (!wxPyCheckForApp()) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3972 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3975 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
3976 return SWIG_Py_Void();
3979 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3980 return SWIG_Python_InitShadowInstance(args
);
3983 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
= 0;
3985 wxWindow
*arg1
= (wxWindow
*) 0 ;
3986 int arg2
= (int) (int)-1 ;
3987 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3988 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3989 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3990 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3991 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
3992 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3993 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3994 wxScrolledWindow
*result
= 0 ;
4003 bool temp6
= false ;
4004 PyObject
* obj0
= 0 ;
4005 PyObject
* obj1
= 0 ;
4006 PyObject
* obj2
= 0 ;
4007 PyObject
* obj3
= 0 ;
4008 PyObject
* obj4
= 0 ;
4009 PyObject
* obj5
= 0 ;
4010 char * kwnames
[] = {
4011 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4016 if (!SWIG_IsOK(res1
)) {
4017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4019 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4022 if (!SWIG_IsOK(ecode2
)) {
4023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4025 arg2
= static_cast< int >(val2
);
4030 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4036 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4040 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4041 if (!SWIG_IsOK(ecode5
)) {
4042 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4044 arg5
= static_cast< long >(val5
);
4048 arg6
= wxString_in_helper(obj5
);
4049 if (arg6
== NULL
) SWIG_fail
;
4054 if (!wxPyCheckForApp()) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4075 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4076 PyObject
*resultobj
= 0;
4077 wxScrolledWindow
*result
= 0 ;
4079 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4081 if (!wxPyCheckForApp()) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4094 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
= 0;
4096 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4097 wxWindow
*arg2
= (wxWindow
*) 0 ;
4098 int arg3
= (int) (int)-1 ;
4099 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4100 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4101 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4102 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4103 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4104 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4105 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4117 bool temp7
= false ;
4118 PyObject
* obj0
= 0 ;
4119 PyObject
* obj1
= 0 ;
4120 PyObject
* obj2
= 0 ;
4121 PyObject
* obj3
= 0 ;
4122 PyObject
* obj4
= 0 ;
4123 PyObject
* obj5
= 0 ;
4124 PyObject
* obj6
= 0 ;
4125 char * kwnames
[] = {
4126 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4131 if (!SWIG_IsOK(res1
)) {
4132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4134 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4135 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4136 if (!SWIG_IsOK(res2
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4139 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4142 if (!SWIG_IsOK(ecode3
)) {
4143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4145 arg3
= static_cast< int >(val3
);
4150 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4156 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4160 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4161 if (!SWIG_IsOK(ecode6
)) {
4162 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4164 arg6
= static_cast< long >(val6
);
4168 arg7
= wxString_in_helper(obj6
);
4169 if (arg7
== NULL
) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4196 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
= 0;
4198 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4203 int arg6
= (int) 0 ;
4204 int arg7
= (int) 0 ;
4205 bool arg8
= (bool) false ;
4222 PyObject
* obj0
= 0 ;
4223 PyObject
* obj1
= 0 ;
4224 PyObject
* obj2
= 0 ;
4225 PyObject
* obj3
= 0 ;
4226 PyObject
* obj4
= 0 ;
4227 PyObject
* obj5
= 0 ;
4228 PyObject
* obj6
= 0 ;
4229 PyObject
* obj7
= 0 ;
4230 char * kwnames
[] = {
4231 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4236 if (!SWIG_IsOK(res1
)) {
4237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4239 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4241 if (!SWIG_IsOK(ecode2
)) {
4242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4244 arg2
= static_cast< int >(val2
);
4245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4246 if (!SWIG_IsOK(ecode3
)) {
4247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4249 arg3
= static_cast< int >(val3
);
4250 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4251 if (!SWIG_IsOK(ecode4
)) {
4252 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4254 arg4
= static_cast< int >(val4
);
4255 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4256 if (!SWIG_IsOK(ecode5
)) {
4257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4259 arg5
= static_cast< int >(val5
);
4261 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4262 if (!SWIG_IsOK(ecode6
)) {
4263 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4265 arg6
= static_cast< int >(val6
);
4268 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4269 if (!SWIG_IsOK(ecode7
)) {
4270 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4272 arg7
= static_cast< int >(val7
);
4275 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4276 if (!SWIG_IsOK(ecode8
)) {
4277 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4279 arg8
= static_cast< bool >(val8
);
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_Py_Void();
4294 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
= 0;
4296 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4305 PyObject
* obj0
= 0 ;
4306 PyObject
* obj1
= 0 ;
4307 PyObject
* obj2
= 0 ;
4308 char * kwnames
[] = {
4309 (char *) "self",(char *) "x",(char *) "y", NULL
4312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4314 if (!SWIG_IsOK(res1
)) {
4315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4317 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4319 if (!SWIG_IsOK(ecode2
)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4322 arg2
= static_cast< int >(val2
);
4323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4324 if (!SWIG_IsOK(ecode3
)) {
4325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4327 arg3
= static_cast< int >(val3
);
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 (arg1
)->Scroll(arg2
,arg3
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= SWIG_Py_Void();
4341 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
= 0;
4343 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4350 PyObject
* obj0
= 0 ;
4351 PyObject
* obj1
= 0 ;
4352 char * kwnames
[] = {
4353 (char *) "self",(char *) "orient", NULL
4356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4358 if (!SWIG_IsOK(res1
)) {
4359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4361 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4363 if (!SWIG_IsOK(ecode2
)) {
4364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4366 arg2
= static_cast< int >(val2
);
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= SWIG_From_int(static_cast< int >(result
));
4380 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
= 0;
4382 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4391 PyObject
* obj0
= 0 ;
4392 PyObject
* obj1
= 0 ;
4393 PyObject
* obj2
= 0 ;
4394 char * kwnames
[] = {
4395 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4400 if (!SWIG_IsOK(res1
)) {
4401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4403 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4405 if (!SWIG_IsOK(ecode2
)) {
4406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4408 arg2
= static_cast< int >(val2
);
4409 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4410 if (!SWIG_IsOK(ecode3
)) {
4411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4413 arg3
= static_cast< int >(val3
);
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= SWIG_Py_Void();
4427 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
= 0;
4429 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4438 PyObject
* obj0
= 0 ;
4439 PyObject
* obj1
= 0 ;
4440 PyObject
* obj2
= 0 ;
4441 char * kwnames
[] = {
4442 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4447 if (!SWIG_IsOK(res1
)) {
4448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4450 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4452 if (!SWIG_IsOK(ecode2
)) {
4453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4455 arg2
= static_cast< int >(val2
);
4456 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4457 if (!SWIG_IsOK(ecode3
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4460 arg3
= static_cast< int >(val3
);
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 (arg1
)->SetScrollRate(arg2
,arg3
);
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4467 resultobj
= SWIG_Py_Void();
4474 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4475 PyObject
*resultobj
= 0;
4476 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4477 int *arg2
= (int *) 0 ;
4478 int *arg3
= (int *) 0 ;
4482 int res2
= SWIG_TMPOBJ
;
4484 int res3
= SWIG_TMPOBJ
;
4485 PyObject
*swig_obj
[1] ;
4489 if (!args
) SWIG_fail
;
4491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4492 if (!SWIG_IsOK(res1
)) {
4493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4495 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4502 resultobj
= SWIG_Py_Void();
4503 if (SWIG_IsTmpObj(res2
)) {
4504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4506 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4507 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4509 if (SWIG_IsTmpObj(res3
)) {
4510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4512 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4521 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
= 0;
4523 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4533 PyObject
* obj1
= 0 ;
4534 PyObject
* obj2
= 0 ;
4535 char * kwnames
[] = {
4536 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4541 if (!SWIG_IsOK(res1
)) {
4542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4544 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4545 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4546 if (!SWIG_IsOK(ecode2
)) {
4547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4549 arg2
= static_cast< bool >(val2
);
4550 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4551 if (!SWIG_IsOK(ecode3
)) {
4552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4554 arg3
= static_cast< bool >(val3
);
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 (arg1
)->EnableScrolling(arg2
,arg3
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= SWIG_Py_Void();
4568 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4569 PyObject
*resultobj
= 0;
4570 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4571 int *arg2
= (int *) 0 ;
4572 int *arg3
= (int *) 0 ;
4576 int res2
= SWIG_TMPOBJ
;
4578 int res3
= SWIG_TMPOBJ
;
4579 PyObject
*swig_obj
[1] ;
4583 if (!args
) SWIG_fail
;
4585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4586 if (!SWIG_IsOK(res1
)) {
4587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4589 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_Py_Void();
4597 if (SWIG_IsTmpObj(res2
)) {
4598 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4600 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4601 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4603 if (SWIG_IsTmpObj(res3
)) {
4604 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4606 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4607 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4615 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
= 0;
4617 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4626 PyObject
* obj0
= 0 ;
4627 PyObject
* obj1
= 0 ;
4628 PyObject
* obj2
= 0 ;
4629 char * kwnames
[] = {
4630 (char *) "self",(char *) "xs",(char *) "ys", NULL
4633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4635 if (!SWIG_IsOK(res1
)) {
4636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4638 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4639 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4640 if (!SWIG_IsOK(ecode2
)) {
4641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4643 arg2
= static_cast< double >(val2
);
4644 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4645 if (!SWIG_IsOK(ecode3
)) {
4646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4648 arg3
= static_cast< double >(val3
);
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 (arg1
)->SetScale(arg2
,arg3
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_Py_Void();
4662 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4663 PyObject
*resultobj
= 0;
4664 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4668 PyObject
*swig_obj
[1] ;
4670 if (!args
) SWIG_fail
;
4672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4673 if (!SWIG_IsOK(res1
)) {
4674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4676 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 resultobj
= SWIG_From_double(static_cast< double >(result
));
4690 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4691 PyObject
*resultobj
= 0;
4692 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4696 PyObject
*swig_obj
[1] ;
4698 if (!args
) SWIG_fail
;
4700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4701 if (!SWIG_IsOK(res1
)) {
4702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4704 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 resultobj
= SWIG_From_double(static_cast< double >(result
));
4718 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4719 PyObject
*resultobj
= 0;
4720 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4727 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4729 if (!SWIG_IsOK(res1
)) {
4730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4732 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4735 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4750 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4751 PyObject
*resultobj
= 0;
4752 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4755 int *arg4
= (int *) 0 ;
4756 int *arg5
= (int *) 0 ;
4764 int res4
= SWIG_TMPOBJ
;
4766 int res5
= SWIG_TMPOBJ
;
4770 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4772 if (!SWIG_IsOK(res1
)) {
4773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4775 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4776 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4777 if (!SWIG_IsOK(ecode2
)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4780 arg2
= static_cast< int >(val2
);
4781 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4782 if (!SWIG_IsOK(ecode3
)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4785 arg3
= static_cast< int >(val3
);
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= SWIG_Py_Void();
4793 if (SWIG_IsTmpObj(res4
)) {
4794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4796 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4797 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4799 if (SWIG_IsTmpObj(res5
)) {
4800 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4802 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4803 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4811 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4815 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4818 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4821 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4825 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4830 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4831 PyObject
*resultobj
= 0;
4832 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4839 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4841 if (!SWIG_IsOK(res1
)) {
4842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4844 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4847 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4855 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4862 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4863 PyObject
*resultobj
= 0;
4864 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4867 int *arg4
= (int *) 0 ;
4868 int *arg5
= (int *) 0 ;
4876 int res4
= SWIG_TMPOBJ
;
4878 int res5
= SWIG_TMPOBJ
;
4882 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4884 if (!SWIG_IsOK(res1
)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4887 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4888 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4889 if (!SWIG_IsOK(ecode2
)) {
4890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4892 arg2
= static_cast< int >(val2
);
4893 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4894 if (!SWIG_IsOK(ecode3
)) {
4895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4897 arg3
= static_cast< int >(val3
);
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= SWIG_Py_Void();
4905 if (SWIG_IsTmpObj(res4
)) {
4906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4908 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4911 if (SWIG_IsTmpObj(res5
)) {
4912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4914 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4923 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4927 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4930 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4933 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4937 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4942 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4943 PyObject
*resultobj
= 0;
4944 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4947 PyObject
*swig_obj
[1] ;
4949 if (!args
) SWIG_fail
;
4951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4952 if (!SWIG_IsOK(res1
)) {
4953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4955 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 (arg1
)->AdjustScrollbars();
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 resultobj
= SWIG_Py_Void();
4969 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
= 0;
4971 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4972 wxScrollWinEvent
*arg2
= 0 ;
4978 PyObject
* obj0
= 0 ;
4979 PyObject
* obj1
= 0 ;
4980 char * kwnames
[] = {
4981 (char *) "self",(char *) "event", NULL
4984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4986 if (!SWIG_IsOK(res1
)) {
4987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4989 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
4991 if (!SWIG_IsOK(res2
)) {
4992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
4995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
4997 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5004 resultobj
= SWIG_From_int(static_cast< int >(result
));
5011 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
*resultobj
= 0;
5013 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5014 wxWindow
*arg2
= (wxWindow
*) 0 ;
5019 PyObject
* obj0
= 0 ;
5020 PyObject
* obj1
= 0 ;
5021 char * kwnames
[] = {
5022 (char *) "self",(char *) "target", NULL
5025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5027 if (!SWIG_IsOK(res1
)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5030 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5031 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5032 if (!SWIG_IsOK(res2
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5035 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 (arg1
)->SetTargetWindow(arg2
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_Py_Void();
5049 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5050 PyObject
*resultobj
= 0;
5051 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5052 wxWindow
*result
= 0 ;
5055 PyObject
*swig_obj
[1] ;
5057 if (!args
) SWIG_fail
;
5059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5060 if (!SWIG_IsOK(res1
)) {
5061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5063 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5071 resultobj
= wxPyMake_wxObject(result
, 0);
5079 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
= 0;
5081 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5087 PyObject
* obj0
= 0 ;
5088 PyObject
* obj1
= 0 ;
5089 char * kwnames
[] = {
5090 (char *) "self",(char *) "dc", NULL
5093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5095 if (!SWIG_IsOK(res1
)) {
5096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5098 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5099 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5100 if (!SWIG_IsOK(res2
)) {
5101 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5104 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5106 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5109 (arg1
)->DoPrepareDC(*arg2
);
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5113 resultobj
= SWIG_Py_Void();
5120 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
= 0;
5122 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5123 SwigValueWrapper
<wxVisualAttributes
> result
;
5126 PyObject
* obj0
= 0 ;
5127 char * kwnames
[] = {
5128 (char *) "variant", NULL
5131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5133 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5134 if (!SWIG_IsOK(ecode1
)) {
5135 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5137 arg1
= static_cast< wxWindowVariant
>(val1
);
5140 if (!wxPyCheckForApp()) SWIG_fail
;
5141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5142 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5143 wxPyEndAllowThreads(__tstate
);
5144 if (PyErr_Occurred()) SWIG_fail
;
5146 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5153 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5155 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5156 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5157 return SWIG_Py_Void();
5160 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5161 return SWIG_Python_InitShadowInstance(args
);
5164 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5165 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5170 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5171 PyObject
*pyobj
= 0;
5175 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5177 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5184 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5185 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5190 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5191 PyObject
*pyobj
= 0;
5195 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5197 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5204 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5205 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5210 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5211 PyObject
*pyobj
= 0;
5215 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5217 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5224 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5225 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5230 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5231 PyObject
*pyobj
= 0;
5235 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5237 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5244 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5245 PyObject
*resultobj
= 0;
5246 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5247 bool arg2
= (bool) true ;
5252 PyObject
* obj0
= 0 ;
5253 PyObject
* obj1
= 0 ;
5254 char * kwnames
[] = {
5255 (char *) "self",(char *) "maximize", NULL
5258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5259 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5260 if (!SWIG_IsOK(res1
)) {
5261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5263 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5265 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5266 if (!SWIG_IsOK(ecode2
)) {
5267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5269 arg2
= static_cast< bool >(val2
);
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 (arg1
)->Maximize(arg2
);
5274 wxPyEndAllowThreads(__tstate
);
5275 if (PyErr_Occurred()) SWIG_fail
;
5277 resultobj
= SWIG_Py_Void();
5284 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5285 PyObject
*resultobj
= 0;
5286 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5289 PyObject
*swig_obj
[1] ;
5291 if (!args
) SWIG_fail
;
5293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5294 if (!SWIG_IsOK(res1
)) {
5295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5297 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5301 wxPyEndAllowThreads(__tstate
);
5302 if (PyErr_Occurred()) SWIG_fail
;
5304 resultobj
= SWIG_Py_Void();
5311 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5312 PyObject
*resultobj
= 0;
5313 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5314 bool arg2
= (bool) true ;
5319 PyObject
* obj0
= 0 ;
5320 PyObject
* obj1
= 0 ;
5321 char * kwnames
[] = {
5322 (char *) "self",(char *) "iconize", NULL
5325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5327 if (!SWIG_IsOK(res1
)) {
5328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5330 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5332 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5333 if (!SWIG_IsOK(ecode2
)) {
5334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5336 arg2
= static_cast< bool >(val2
);
5339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5340 (arg1
)->Iconize(arg2
);
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= SWIG_Py_Void();
5351 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5352 PyObject
*resultobj
= 0;
5353 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5357 PyObject
*swig_obj
[1] ;
5359 if (!args
) SWIG_fail
;
5361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5362 if (!SWIG_IsOK(res1
)) {
5363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5365 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5368 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5369 wxPyEndAllowThreads(__tstate
);
5370 if (PyErr_Occurred()) SWIG_fail
;
5373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5381 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5382 PyObject
*resultobj
= 0;
5383 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5387 PyObject
*swig_obj
[1] ;
5389 if (!args
) SWIG_fail
;
5391 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5392 if (!SWIG_IsOK(res1
)) {
5393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5395 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5403 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5411 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5412 PyObject
*resultobj
= 0;
5413 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5417 PyObject
*swig_obj
[1] ;
5419 if (!args
) SWIG_fail
;
5421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5422 if (!SWIG_IsOK(res1
)) {
5423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5425 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5428 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5429 wxPyEndAllowThreads(__tstate
);
5430 if (PyErr_Occurred()) SWIG_fail
;
5432 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5439 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5440 PyObject
*resultobj
= 0;
5441 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5447 PyObject
* obj0
= 0 ;
5448 PyObject
* obj1
= 0 ;
5449 char * kwnames
[] = {
5450 (char *) "self",(char *) "icon", NULL
5453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5455 if (!SWIG_IsOK(res1
)) {
5456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5458 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5459 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5460 if (!SWIG_IsOK(res2
)) {
5461 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5464 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5466 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5470 wxPyEndAllowThreads(__tstate
);
5471 if (PyErr_Occurred()) SWIG_fail
;
5473 resultobj
= SWIG_Py_Void();
5480 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5481 PyObject
*resultobj
= 0;
5482 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5483 wxIconBundle
*arg2
= 0 ;
5488 PyObject
* obj0
= 0 ;
5489 PyObject
* obj1
= 0 ;
5490 char * kwnames
[] = {
5491 (char *) "self",(char *) "icons", NULL
5494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5496 if (!SWIG_IsOK(res1
)) {
5497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5499 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5500 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5501 if (!SWIG_IsOK(res2
)) {
5502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5505 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5507 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5510 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5511 wxPyEndAllowThreads(__tstate
);
5512 if (PyErr_Occurred()) SWIG_fail
;
5514 resultobj
= SWIG_Py_Void();
5521 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5522 PyObject
*resultobj
= 0;
5523 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5525 long arg3
= (long) wxFULLSCREEN_ALL
;
5533 PyObject
* obj0
= 0 ;
5534 PyObject
* obj1
= 0 ;
5535 PyObject
* obj2
= 0 ;
5536 char * kwnames
[] = {
5537 (char *) "self",(char *) "show",(char *) "style", NULL
5540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5542 if (!SWIG_IsOK(res1
)) {
5543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5545 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5546 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5547 if (!SWIG_IsOK(ecode2
)) {
5548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5550 arg2
= static_cast< bool >(val2
);
5552 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5553 if (!SWIG_IsOK(ecode3
)) {
5554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5556 arg3
= static_cast< long >(val3
);
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5561 wxPyEndAllowThreads(__tstate
);
5562 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5573 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5574 PyObject
*resultobj
= 0;
5575 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5579 PyObject
*swig_obj
[1] ;
5581 if (!args
) SWIG_fail
;
5583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5584 if (!SWIG_IsOK(res1
)) {
5585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5587 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5603 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5604 PyObject
*resultobj
= 0;
5605 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5606 wxString
*arg2
= 0 ;
5609 bool temp2
= false ;
5610 PyObject
* obj0
= 0 ;
5611 PyObject
* obj1
= 0 ;
5612 char * kwnames
[] = {
5613 (char *) "self",(char *) "title", NULL
5616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5618 if (!SWIG_IsOK(res1
)) {
5619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5621 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5623 arg2
= wxString_in_helper(obj1
);
5624 if (arg2
== NULL
) SWIG_fail
;
5628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5629 (arg1
)->SetTitle((wxString
const &)*arg2
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= SWIG_Py_Void();
5648 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5649 PyObject
*resultobj
= 0;
5650 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5654 PyObject
*swig_obj
[1] ;
5656 if (!args
) SWIG_fail
;
5658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5659 if (!SWIG_IsOK(res1
)) {
5660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5662 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5671 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5673 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5682 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5683 PyObject
*resultobj
= 0;
5684 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5685 wxRegion
*arg2
= 0 ;
5691 PyObject
* obj0
= 0 ;
5692 PyObject
* obj1
= 0 ;
5693 char * kwnames
[] = {
5694 (char *) "self",(char *) "region", NULL
5697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5699 if (!SWIG_IsOK(res1
)) {
5700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5702 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5703 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5704 if (!SWIG_IsOK(res2
)) {
5705 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5708 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5710 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5713 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5714 wxPyEndAllowThreads(__tstate
);
5715 if (PyErr_Occurred()) SWIG_fail
;
5718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5726 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5727 PyObject
*resultobj
= 0;
5728 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5729 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5734 PyObject
* obj0
= 0 ;
5735 PyObject
* obj1
= 0 ;
5736 char * kwnames
[] = {
5737 (char *) "self",(char *) "flags", NULL
5740 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5741 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5742 if (!SWIG_IsOK(res1
)) {
5743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5745 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5748 if (!SWIG_IsOK(ecode2
)) {
5749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5751 arg2
= static_cast< int >(val2
);
5754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5755 (arg1
)->RequestUserAttention(arg2
);
5756 wxPyEndAllowThreads(__tstate
);
5757 if (PyErr_Occurred()) SWIG_fail
;
5759 resultobj
= SWIG_Py_Void();
5766 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5767 PyObject
*resultobj
= 0;
5768 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5772 PyObject
*swig_obj
[1] ;
5774 if (!args
) SWIG_fail
;
5776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5777 if (!SWIG_IsOK(res1
)) {
5778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5780 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5783 result
= (bool)(arg1
)->IsActive();
5784 wxPyEndAllowThreads(__tstate
);
5785 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5796 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5797 PyObject
*resultobj
= 0;
5798 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5804 PyObject
* obj0
= 0 ;
5805 PyObject
* obj1
= 0 ;
5806 char * kwnames
[] = {
5807 (char *) "self",(char *) "on", NULL
5810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5812 if (!SWIG_IsOK(res1
)) {
5813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5815 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5816 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5817 if (!SWIG_IsOK(ecode2
)) {
5818 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5820 arg2
= static_cast< bool >(val2
);
5822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5823 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5827 resultobj
= SWIG_Py_Void();
5834 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5835 PyObject
*resultobj
= 0;
5836 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5840 PyObject
*swig_obj
[1] ;
5842 if (!args
) SWIG_fail
;
5844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5845 if (!SWIG_IsOK(res1
)) {
5846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5848 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5851 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5852 wxPyEndAllowThreads(__tstate
);
5853 if (PyErr_Occurred()) SWIG_fail
;
5856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5864 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5865 PyObject
*resultobj
= 0;
5866 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5867 int arg2
= (int) wxBOTH
;
5872 PyObject
* obj0
= 0 ;
5873 PyObject
* obj1
= 0 ;
5874 char * kwnames
[] = {
5875 (char *) "self",(char *) "dir", NULL
5878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5880 if (!SWIG_IsOK(res1
)) {
5881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5883 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5885 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5886 if (!SWIG_IsOK(ecode2
)) {
5887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5889 arg2
= static_cast< int >(val2
);
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 (arg1
)->CenterOnScreen(arg2
);
5894 wxPyEndAllowThreads(__tstate
);
5895 if (PyErr_Occurred()) SWIG_fail
;
5897 resultobj
= SWIG_Py_Void();
5904 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5907 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
5908 return SWIG_Py_Void();
5911 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5912 PyObject
*resultobj
= 0;
5913 wxWindow
*arg1
= (wxWindow
*) 0 ;
5914 int arg2
= (int) (int)-1 ;
5915 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5916 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5917 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5918 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5919 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5920 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5921 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
5922 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
5923 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5924 wxFrame
*result
= 0 ;
5929 bool temp3
= false ;
5934 bool temp7
= false ;
5935 PyObject
* obj0
= 0 ;
5936 PyObject
* obj1
= 0 ;
5937 PyObject
* obj2
= 0 ;
5938 PyObject
* obj3
= 0 ;
5939 PyObject
* obj4
= 0 ;
5940 PyObject
* obj5
= 0 ;
5941 PyObject
* obj6
= 0 ;
5942 char * kwnames
[] = {
5943 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
5947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5948 if (!SWIG_IsOK(res1
)) {
5949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
5951 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
5953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5954 if (!SWIG_IsOK(ecode2
)) {
5955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
5957 arg2
= static_cast< int >(val2
);
5961 arg3
= wxString_in_helper(obj2
);
5962 if (arg3
== NULL
) SWIG_fail
;
5969 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
5975 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
5979 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
5980 if (!SWIG_IsOK(ecode6
)) {
5981 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
5983 arg6
= static_cast< long >(val6
);
5987 arg7
= wxString_in_helper(obj6
);
5988 if (arg7
== NULL
) SWIG_fail
;
5993 if (!wxPyCheckForApp()) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
5996 wxPyEndAllowThreads(__tstate
);
5997 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6022 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6023 PyObject
*resultobj
= 0;
6024 wxFrame
*result
= 0 ;
6026 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6028 if (!wxPyCheckForApp()) SWIG_fail
;
6029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6030 result
= (wxFrame
*)new wxFrame();
6031 wxPyEndAllowThreads(__tstate
);
6032 if (PyErr_Occurred()) SWIG_fail
;
6034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6041 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
= 0;
6043 wxFrame
*arg1
= (wxFrame
*) 0 ;
6044 wxWindow
*arg2
= (wxWindow
*) 0 ;
6045 int arg3
= (int) (int)-1 ;
6046 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6047 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6048 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6049 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6050 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6051 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6052 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6053 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6054 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6062 bool temp4
= false ;
6067 bool temp8
= false ;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6070 PyObject
* obj2
= 0 ;
6071 PyObject
* obj3
= 0 ;
6072 PyObject
* obj4
= 0 ;
6073 PyObject
* obj5
= 0 ;
6074 PyObject
* obj6
= 0 ;
6075 PyObject
* obj7
= 0 ;
6076 char * kwnames
[] = {
6077 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6082 if (!SWIG_IsOK(res1
)) {
6083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6085 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6086 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6087 if (!SWIG_IsOK(res2
)) {
6088 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6090 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6092 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6093 if (!SWIG_IsOK(ecode3
)) {
6094 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6096 arg3
= static_cast< int >(val3
);
6100 arg4
= wxString_in_helper(obj3
);
6101 if (arg4
== NULL
) SWIG_fail
;
6108 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6114 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6118 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6119 if (!SWIG_IsOK(ecode7
)) {
6120 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6122 arg7
= static_cast< long >(val7
);
6126 arg8
= wxString_in_helper(obj7
);
6127 if (arg8
== NULL
) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6134 wxPyEndAllowThreads(__tstate
);
6135 if (PyErr_Occurred()) SWIG_fail
;
6138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6162 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6163 PyObject
*resultobj
= 0;
6164 wxFrame
*arg1
= (wxFrame
*) 0 ;
6167 PyObject
*swig_obj
[1] ;
6169 if (!args
) SWIG_fail
;
6171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6172 if (!SWIG_IsOK(res1
)) {
6173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6175 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 (arg1
)->SendSizeEvent();
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6182 resultobj
= SWIG_Py_Void();
6189 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6190 PyObject
*resultobj
= 0;
6191 wxFrame
*arg1
= (wxFrame
*) 0 ;
6192 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6197 PyObject
* obj0
= 0 ;
6198 PyObject
* obj1
= 0 ;
6199 char * kwnames
[] = {
6200 (char *) "self",(char *) "menubar", NULL
6203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6205 if (!SWIG_IsOK(res1
)) {
6206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6208 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6209 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6210 if (!SWIG_IsOK(res2
)) {
6211 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6213 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 (arg1
)->SetMenuBar(arg2
);
6217 wxPyEndAllowThreads(__tstate
);
6218 if (PyErr_Occurred()) SWIG_fail
;
6220 resultobj
= SWIG_Py_Void();
6227 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6228 PyObject
*resultobj
= 0;
6229 wxFrame
*arg1
= (wxFrame
*) 0 ;
6230 wxMenuBar
*result
= 0 ;
6233 PyObject
*swig_obj
[1] ;
6235 if (!args
) SWIG_fail
;
6237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6238 if (!SWIG_IsOK(res1
)) {
6239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6241 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6244 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6245 wxPyEndAllowThreads(__tstate
);
6246 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= wxPyMake_wxObject(result
, 0);
6257 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6258 PyObject
*resultobj
= 0;
6259 wxFrame
*arg1
= (wxFrame
*) 0 ;
6266 PyObject
* obj0
= 0 ;
6267 PyObject
* obj1
= 0 ;
6268 char * kwnames
[] = {
6269 (char *) "self",(char *) "winid", NULL
6272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6274 if (!SWIG_IsOK(res1
)) {
6275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6277 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6279 if (!SWIG_IsOK(ecode2
)) {
6280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6282 arg2
= static_cast< int >(val2
);
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6286 wxPyEndAllowThreads(__tstate
);
6287 if (PyErr_Occurred()) SWIG_fail
;
6290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6298 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6299 PyObject
*resultobj
= 0;
6300 wxFrame
*arg1
= (wxFrame
*) 0 ;
6301 int arg2
= (int) 1 ;
6302 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6303 int arg4
= (int) 0 ;
6304 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6305 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6306 wxStatusBar
*result
= 0 ;
6315 bool temp5
= false ;
6316 PyObject
* obj0
= 0 ;
6317 PyObject
* obj1
= 0 ;
6318 PyObject
* obj2
= 0 ;
6319 PyObject
* obj3
= 0 ;
6320 PyObject
* obj4
= 0 ;
6321 char * kwnames
[] = {
6322 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6327 if (!SWIG_IsOK(res1
)) {
6328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6330 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6332 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6333 if (!SWIG_IsOK(ecode2
)) {
6334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6336 arg2
= static_cast< int >(val2
);
6339 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6340 if (!SWIG_IsOK(ecode3
)) {
6341 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6343 arg3
= static_cast< long >(val3
);
6346 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6347 if (!SWIG_IsOK(ecode4
)) {
6348 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6350 arg4
= static_cast< int >(val4
);
6354 arg5
= wxString_in_helper(obj4
);
6355 if (arg5
== NULL
) SWIG_fail
;
6360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6361 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6362 wxPyEndAllowThreads(__tstate
);
6363 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6382 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6383 PyObject
*resultobj
= 0;
6384 wxFrame
*arg1
= (wxFrame
*) 0 ;
6385 wxStatusBar
*result
= 0 ;
6388 PyObject
*swig_obj
[1] ;
6390 if (!args
) SWIG_fail
;
6392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6393 if (!SWIG_IsOK(res1
)) {
6394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6396 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6399 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6400 wxPyEndAllowThreads(__tstate
);
6401 if (PyErr_Occurred()) SWIG_fail
;
6404 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6412 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
= 0;
6414 wxFrame
*arg1
= (wxFrame
*) 0 ;
6415 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6420 PyObject
* obj0
= 0 ;
6421 PyObject
* obj1
= 0 ;
6422 char * kwnames
[] = {
6423 (char *) "self",(char *) "statBar", NULL
6426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6428 if (!SWIG_IsOK(res1
)) {
6429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6431 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6432 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6433 if (!SWIG_IsOK(res2
)) {
6434 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6436 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6439 (arg1
)->SetStatusBar(arg2
);
6440 wxPyEndAllowThreads(__tstate
);
6441 if (PyErr_Occurred()) SWIG_fail
;
6443 resultobj
= SWIG_Py_Void();
6450 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6451 PyObject
*resultobj
= 0;
6452 wxFrame
*arg1
= (wxFrame
*) 0 ;
6453 wxString
*arg2
= 0 ;
6454 int arg3
= (int) 0 ;
6457 bool temp2
= false ;
6460 PyObject
* obj0
= 0 ;
6461 PyObject
* obj1
= 0 ;
6462 PyObject
* obj2
= 0 ;
6463 char * kwnames
[] = {
6464 (char *) "self",(char *) "text",(char *) "number", NULL
6467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6469 if (!SWIG_IsOK(res1
)) {
6470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6472 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6474 arg2
= wxString_in_helper(obj1
);
6475 if (arg2
== NULL
) SWIG_fail
;
6479 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6480 if (!SWIG_IsOK(ecode3
)) {
6481 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6483 arg3
= static_cast< int >(val3
);
6486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6487 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6488 wxPyEndAllowThreads(__tstate
);
6489 if (PyErr_Occurred()) SWIG_fail
;
6491 resultobj
= SWIG_Py_Void();
6506 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6507 PyObject
*resultobj
= 0;
6508 wxFrame
*arg1
= (wxFrame
*) 0 ;
6510 int *arg3
= (int *) 0 ;
6513 PyObject
* obj0
= 0 ;
6514 PyObject
* obj1
= 0 ;
6515 char * kwnames
[] = {
6516 (char *) "self",(char *) "widths", NULL
6519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6521 if (!SWIG_IsOK(res1
)) {
6522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6524 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6526 arg2
= PyList_Size(obj1
);
6527 arg3
= int_LIST_helper(obj1
);
6528 if (arg3
== NULL
) SWIG_fail
;
6531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6532 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6536 resultobj
= SWIG_Py_Void();
6538 if (arg3
) delete [] arg3
;
6543 if (arg3
) delete [] arg3
;
6549 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
*resultobj
= 0;
6551 wxFrame
*arg1
= (wxFrame
*) 0 ;
6552 wxString
*arg2
= 0 ;
6553 int arg3
= (int) 0 ;
6556 bool temp2
= false ;
6559 PyObject
* obj0
= 0 ;
6560 PyObject
* obj1
= 0 ;
6561 PyObject
* obj2
= 0 ;
6562 char * kwnames
[] = {
6563 (char *) "self",(char *) "text",(char *) "number", NULL
6566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6568 if (!SWIG_IsOK(res1
)) {
6569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6571 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6573 arg2
= wxString_in_helper(obj1
);
6574 if (arg2
== NULL
) SWIG_fail
;
6578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6579 if (!SWIG_IsOK(ecode3
)) {
6580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6582 arg3
= static_cast< int >(val3
);
6585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6586 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= SWIG_Py_Void();
6605 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
= 0;
6607 wxFrame
*arg1
= (wxFrame
*) 0 ;
6608 int arg2
= (int) 0 ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 char * kwnames
[] = {
6616 (char *) "self",(char *) "number", NULL
6619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6621 if (!SWIG_IsOK(res1
)) {
6622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6624 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6627 if (!SWIG_IsOK(ecode2
)) {
6628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6630 arg2
= static_cast< int >(val2
);
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 (arg1
)->PopStatusText(arg2
);
6635 wxPyEndAllowThreads(__tstate
);
6636 if (PyErr_Occurred()) SWIG_fail
;
6638 resultobj
= SWIG_Py_Void();
6645 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6646 PyObject
*resultobj
= 0;
6647 wxFrame
*arg1
= (wxFrame
*) 0 ;
6653 PyObject
* obj0
= 0 ;
6654 PyObject
* obj1
= 0 ;
6655 char * kwnames
[] = {
6656 (char *) "self",(char *) "n", NULL
6659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6661 if (!SWIG_IsOK(res1
)) {
6662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6664 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6665 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6666 if (!SWIG_IsOK(ecode2
)) {
6667 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6669 arg2
= static_cast< int >(val2
);
6671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6672 (arg1
)->SetStatusBarPane(arg2
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 resultobj
= SWIG_Py_Void();
6683 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6684 PyObject
*resultobj
= 0;
6685 wxFrame
*arg1
= (wxFrame
*) 0 ;
6689 PyObject
*swig_obj
[1] ;
6691 if (!args
) SWIG_fail
;
6693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6694 if (!SWIG_IsOK(res1
)) {
6695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6697 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6700 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= SWIG_From_int(static_cast< int >(result
));
6711 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
= 0;
6713 wxFrame
*arg1
= (wxFrame
*) 0 ;
6714 long arg2
= (long) -1 ;
6715 int arg3
= (int) -1 ;
6716 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6717 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6718 wxToolBar
*result
= 0 ;
6725 bool temp4
= false ;
6726 PyObject
* obj0
= 0 ;
6727 PyObject
* obj1
= 0 ;
6728 PyObject
* obj2
= 0 ;
6729 PyObject
* obj3
= 0 ;
6730 char * kwnames
[] = {
6731 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6736 if (!SWIG_IsOK(res1
)) {
6737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6739 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6741 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6742 if (!SWIG_IsOK(ecode2
)) {
6743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6745 arg2
= static_cast< long >(val2
);
6748 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6749 if (!SWIG_IsOK(ecode3
)) {
6750 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6752 arg3
= static_cast< int >(val3
);
6756 arg4
= wxString_in_helper(obj3
);
6757 if (arg4
== NULL
) SWIG_fail
;
6762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6763 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6784 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6785 PyObject
*resultobj
= 0;
6786 wxFrame
*arg1
= (wxFrame
*) 0 ;
6787 wxToolBar
*result
= 0 ;
6790 PyObject
*swig_obj
[1] ;
6792 if (!args
) SWIG_fail
;
6794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6795 if (!SWIG_IsOK(res1
)) {
6796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6798 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6801 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6806 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6814 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6815 PyObject
*resultobj
= 0;
6816 wxFrame
*arg1
= (wxFrame
*) 0 ;
6817 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6822 PyObject
* obj0
= 0 ;
6823 PyObject
* obj1
= 0 ;
6824 char * kwnames
[] = {
6825 (char *) "self",(char *) "toolbar", NULL
6828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6830 if (!SWIG_IsOK(res1
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6833 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6834 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6835 if (!SWIG_IsOK(res2
)) {
6836 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6838 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6841 (arg1
)->SetToolBar(arg2
);
6842 wxPyEndAllowThreads(__tstate
);
6843 if (PyErr_Occurred()) SWIG_fail
;
6845 resultobj
= SWIG_Py_Void();
6852 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6853 PyObject
*resultobj
= 0;
6854 wxFrame
*arg1
= (wxFrame
*) 0 ;
6855 wxString
*arg2
= 0 ;
6859 bool temp2
= false ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 PyObject
* obj2
= 0 ;
6865 char * kwnames
[] = {
6866 (char *) "self",(char *) "text",(char *) "show", NULL
6869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6871 if (!SWIG_IsOK(res1
)) {
6872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6874 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6876 arg2
= wxString_in_helper(obj1
);
6877 if (arg2
== NULL
) SWIG_fail
;
6880 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
6881 if (!SWIG_IsOK(ecode3
)) {
6882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6884 arg3
= static_cast< bool >(val3
);
6886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6887 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
6888 wxPyEndAllowThreads(__tstate
);
6889 if (PyErr_Occurred()) SWIG_fail
;
6891 resultobj
= SWIG_Py_Void();
6906 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6907 PyObject
*resultobj
= 0;
6908 wxFrame
*arg1
= (wxFrame
*) 0 ;
6909 wxMenu
*arg2
= (wxMenu
*) NULL
;
6914 PyObject
* obj0
= 0 ;
6915 PyObject
* obj1
= 0 ;
6916 char * kwnames
[] = {
6917 (char *) "self",(char *) "menu", NULL
6920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6922 if (!SWIG_IsOK(res1
)) {
6923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6925 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6927 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
6928 if (!SWIG_IsOK(res2
)) {
6929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
6931 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 (arg1
)->DoMenuUpdates(arg2
);
6936 wxPyEndAllowThreads(__tstate
);
6937 if (PyErr_Occurred()) SWIG_fail
;
6939 resultobj
= SWIG_Py_Void();
6946 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
= 0;
6948 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
6949 SwigValueWrapper
<wxVisualAttributes
> result
;
6952 PyObject
* obj0
= 0 ;
6953 char * kwnames
[] = {
6954 (char *) "variant", NULL
6957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
6959 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
6960 if (!SWIG_IsOK(ecode1
)) {
6961 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
6963 arg1
= static_cast< wxWindowVariant
>(val1
);
6966 if (!wxPyCheckForApp()) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 result
= wxFrame::GetClassDefaultAttributes(arg1
);
6969 wxPyEndAllowThreads(__tstate
);
6970 if (PyErr_Occurred()) SWIG_fail
;
6972 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
6979 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6981 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6982 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
6983 return SWIG_Py_Void();
6986 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6987 return SWIG_Python_InitShadowInstance(args
);
6990 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
= 0;
6992 wxWindow
*arg1
= (wxWindow
*) 0 ;
6993 int arg2
= (int) (int)-1 ;
6994 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6995 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6996 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6997 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6998 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6999 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7000 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7001 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7002 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7003 wxDialog
*result
= 0 ;
7008 bool temp3
= false ;
7013 bool temp7
= false ;
7014 PyObject
* obj0
= 0 ;
7015 PyObject
* obj1
= 0 ;
7016 PyObject
* obj2
= 0 ;
7017 PyObject
* obj3
= 0 ;
7018 PyObject
* obj4
= 0 ;
7019 PyObject
* obj5
= 0 ;
7020 PyObject
* obj6
= 0 ;
7021 char * kwnames
[] = {
7022 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7027 if (!SWIG_IsOK(res1
)) {
7028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7030 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7033 if (!SWIG_IsOK(ecode2
)) {
7034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7036 arg2
= static_cast< int >(val2
);
7040 arg3
= wxString_in_helper(obj2
);
7041 if (arg3
== NULL
) SWIG_fail
;
7048 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7054 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7058 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7059 if (!SWIG_IsOK(ecode6
)) {
7060 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7062 arg6
= static_cast< long >(val6
);
7066 arg7
= wxString_in_helper(obj6
);
7067 if (arg7
== NULL
) SWIG_fail
;
7072 if (!wxPyCheckForApp()) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7075 wxPyEndAllowThreads(__tstate
);
7076 if (PyErr_Occurred()) SWIG_fail
;
7078 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7101 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7102 PyObject
*resultobj
= 0;
7103 wxDialog
*result
= 0 ;
7105 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7107 if (!wxPyCheckForApp()) SWIG_fail
;
7108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7109 result
= (wxDialog
*)new wxDialog();
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7120 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7121 PyObject
*resultobj
= 0;
7122 wxDialog
*arg1
= (wxDialog
*) 0 ;
7123 wxWindow
*arg2
= (wxWindow
*) 0 ;
7124 int arg3
= (int) (int)-1 ;
7125 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7126 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7127 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7128 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7129 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7130 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7131 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7132 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7133 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7141 bool temp4
= false ;
7146 bool temp8
= false ;
7147 PyObject
* obj0
= 0 ;
7148 PyObject
* obj1
= 0 ;
7149 PyObject
* obj2
= 0 ;
7150 PyObject
* obj3
= 0 ;
7151 PyObject
* obj4
= 0 ;
7152 PyObject
* obj5
= 0 ;
7153 PyObject
* obj6
= 0 ;
7154 PyObject
* obj7
= 0 ;
7155 char * kwnames
[] = {
7156 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7161 if (!SWIG_IsOK(res1
)) {
7162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7164 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7165 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7166 if (!SWIG_IsOK(res2
)) {
7167 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7169 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7171 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7172 if (!SWIG_IsOK(ecode3
)) {
7173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7175 arg3
= static_cast< int >(val3
);
7179 arg4
= wxString_in_helper(obj3
);
7180 if (arg4
== NULL
) SWIG_fail
;
7187 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7193 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7197 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7198 if (!SWIG_IsOK(ecode7
)) {
7199 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7201 arg7
= static_cast< long >(val7
);
7205 arg8
= wxString_in_helper(obj7
);
7206 if (arg8
== NULL
) SWIG_fail
;
7211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7212 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7213 wxPyEndAllowThreads(__tstate
);
7214 if (PyErr_Occurred()) SWIG_fail
;
7217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7241 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
= 0;
7243 wxDialog
*arg1
= (wxDialog
*) 0 ;
7249 PyObject
* obj0
= 0 ;
7250 PyObject
* obj1
= 0 ;
7251 char * kwnames
[] = {
7252 (char *) "self",(char *) "returnCode", NULL
7255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7257 if (!SWIG_IsOK(res1
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7260 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7261 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7262 if (!SWIG_IsOK(ecode2
)) {
7263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7265 arg2
= static_cast< int >(val2
);
7267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7268 (arg1
)->SetReturnCode(arg2
);
7269 wxPyEndAllowThreads(__tstate
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7272 resultobj
= SWIG_Py_Void();
7279 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7280 PyObject
*resultobj
= 0;
7281 wxDialog
*arg1
= (wxDialog
*) 0 ;
7285 PyObject
*swig_obj
[1] ;
7287 if (!args
) SWIG_fail
;
7289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7290 if (!SWIG_IsOK(res1
)) {
7291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7293 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7296 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7297 wxPyEndAllowThreads(__tstate
);
7298 if (PyErr_Occurred()) SWIG_fail
;
7300 resultobj
= SWIG_From_int(static_cast< int >(result
));
7307 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7308 PyObject
*resultobj
= 0;
7309 wxDialog
*arg1
= (wxDialog
*) 0 ;
7315 PyObject
* obj0
= 0 ;
7316 PyObject
* obj1
= 0 ;
7317 char * kwnames
[] = {
7318 (char *) "self",(char *) "affirmativeId", NULL
7321 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7322 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7323 if (!SWIG_IsOK(res1
)) {
7324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7326 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7327 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7328 if (!SWIG_IsOK(ecode2
)) {
7329 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7331 arg2
= static_cast< int >(val2
);
7333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7334 (arg1
)->SetAffirmativeId(arg2
);
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7338 resultobj
= SWIG_Py_Void();
7345 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7346 PyObject
*resultobj
= 0;
7347 wxDialog
*arg1
= (wxDialog
*) 0 ;
7351 PyObject
*swig_obj
[1] ;
7353 if (!args
) SWIG_fail
;
7355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7356 if (!SWIG_IsOK(res1
)) {
7357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7359 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7362 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7363 wxPyEndAllowThreads(__tstate
);
7364 if (PyErr_Occurred()) SWIG_fail
;
7366 resultobj
= SWIG_From_int(static_cast< int >(result
));
7373 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
= 0;
7375 wxDialog
*arg1
= (wxDialog
*) 0 ;
7381 PyObject
* obj0
= 0 ;
7382 PyObject
* obj1
= 0 ;
7383 char * kwnames
[] = {
7384 (char *) "self",(char *) "escapeId", NULL
7387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7389 if (!SWIG_IsOK(res1
)) {
7390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7392 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7393 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7394 if (!SWIG_IsOK(ecode2
)) {
7395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7397 arg2
= static_cast< int >(val2
);
7399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7400 (arg1
)->SetEscapeId(arg2
);
7401 wxPyEndAllowThreads(__tstate
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7404 resultobj
= SWIG_Py_Void();
7411 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7412 PyObject
*resultobj
= 0;
7413 wxDialog
*arg1
= (wxDialog
*) 0 ;
7417 PyObject
*swig_obj
[1] ;
7419 if (!args
) SWIG_fail
;
7421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7422 if (!SWIG_IsOK(res1
)) {
7423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7425 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7428 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7429 wxPyEndAllowThreads(__tstate
);
7430 if (PyErr_Occurred()) SWIG_fail
;
7432 resultobj
= SWIG_From_int(static_cast< int >(result
));
7439 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7440 PyObject
*resultobj
= 0;
7441 wxDialog
*arg1
= (wxDialog
*) 0 ;
7442 wxString
*arg2
= 0 ;
7443 wxSizer
*result
= 0 ;
7446 bool temp2
= false ;
7447 PyObject
* obj0
= 0 ;
7448 PyObject
* obj1
= 0 ;
7449 char * kwnames
[] = {
7450 (char *) "self",(char *) "message", NULL
7453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7454 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7455 if (!SWIG_IsOK(res1
)) {
7456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7458 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7460 arg2
= wxString_in_helper(obj1
);
7461 if (arg2
== NULL
) SWIG_fail
;
7465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7466 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7467 wxPyEndAllowThreads(__tstate
);
7468 if (PyErr_Occurred()) SWIG_fail
;
7471 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7487 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7488 PyObject
*resultobj
= 0;
7489 wxDialog
*arg1
= (wxDialog
*) 0 ;
7491 bool arg3
= (bool) false ;
7492 int arg4
= (int) 0 ;
7493 wxSizer
*result
= 0 ;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7504 PyObject
* obj2
= 0 ;
7505 PyObject
* obj3
= 0 ;
7506 char * kwnames
[] = {
7507 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7512 if (!SWIG_IsOK(res1
)) {
7513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7515 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7516 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7517 if (!SWIG_IsOK(ecode2
)) {
7518 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7520 arg2
= static_cast< long >(val2
);
7522 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7523 if (!SWIG_IsOK(ecode3
)) {
7524 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7526 arg3
= static_cast< bool >(val3
);
7529 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7530 if (!SWIG_IsOK(ecode4
)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7533 arg4
= static_cast< int >(val4
);
7536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7537 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7538 wxPyEndAllowThreads(__tstate
);
7539 if (PyErr_Occurred()) SWIG_fail
;
7542 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7550 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7551 PyObject
*resultobj
= 0;
7552 wxDialog
*arg1
= (wxDialog
*) 0 ;
7554 wxStdDialogButtonSizer
*result
= 0 ;
7559 PyObject
* obj0
= 0 ;
7560 PyObject
* obj1
= 0 ;
7561 char * kwnames
[] = {
7562 (char *) "self",(char *) "flags", NULL
7565 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7566 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7567 if (!SWIG_IsOK(res1
)) {
7568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7570 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7571 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7572 if (!SWIG_IsOK(ecode2
)) {
7573 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7575 arg2
= static_cast< long >(val2
);
7577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7578 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7579 wxPyEndAllowThreads(__tstate
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7582 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7589 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7590 PyObject
*resultobj
= 0;
7591 wxDialog
*arg1
= (wxDialog
*) 0 ;
7595 PyObject
*swig_obj
[1] ;
7597 if (!args
) SWIG_fail
;
7599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7600 if (!SWIG_IsOK(res1
)) {
7601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7603 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7606 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7607 wxPyEndAllowThreads(__tstate
);
7608 if (PyErr_Occurred()) SWIG_fail
;
7611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7619 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7620 PyObject
*resultobj
= 0;
7621 wxDialog
*arg1
= (wxDialog
*) 0 ;
7625 PyObject
*swig_obj
[1] ;
7627 if (!args
) SWIG_fail
;
7629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7630 if (!SWIG_IsOK(res1
)) {
7631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7633 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7636 result
= (int)(arg1
)->ShowModal();
7637 wxPyEndAllowThreads(__tstate
);
7638 if (PyErr_Occurred()) SWIG_fail
;
7640 resultobj
= SWIG_From_int(static_cast< int >(result
));
7647 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7648 PyObject
*resultobj
= 0;
7649 wxDialog
*arg1
= (wxDialog
*) 0 ;
7655 PyObject
* obj0
= 0 ;
7656 PyObject
* obj1
= 0 ;
7657 char * kwnames
[] = {
7658 (char *) "self",(char *) "retCode", NULL
7661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7663 if (!SWIG_IsOK(res1
)) {
7664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7666 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7668 if (!SWIG_IsOK(ecode2
)) {
7669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7671 arg2
= static_cast< int >(val2
);
7673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7674 (arg1
)->EndModal(arg2
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 resultobj
= SWIG_Py_Void();
7685 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7686 PyObject
*resultobj
= 0;
7687 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7688 SwigValueWrapper
<wxVisualAttributes
> result
;
7691 PyObject
* obj0
= 0 ;
7692 char * kwnames
[] = {
7693 (char *) "variant", NULL
7696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7698 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7699 if (!SWIG_IsOK(ecode1
)) {
7700 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7702 arg1
= static_cast< wxWindowVariant
>(val1
);
7705 if (!wxPyCheckForApp()) SWIG_fail
;
7706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7707 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7718 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7720 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7721 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7722 return SWIG_Py_Void();
7725 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7726 return SWIG_Python_InitShadowInstance(args
);
7729 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
= 0;
7731 wxWindow
*arg1
= (wxWindow
*) 0 ;
7732 int arg2
= (int) (int)-1 ;
7733 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7734 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7735 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7736 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7737 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7738 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7739 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7740 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7741 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7742 wxMiniFrame
*result
= 0 ;
7747 bool temp3
= false ;
7752 bool temp7
= false ;
7753 PyObject
* obj0
= 0 ;
7754 PyObject
* obj1
= 0 ;
7755 PyObject
* obj2
= 0 ;
7756 PyObject
* obj3
= 0 ;
7757 PyObject
* obj4
= 0 ;
7758 PyObject
* obj5
= 0 ;
7759 PyObject
* obj6
= 0 ;
7760 char * kwnames
[] = {
7761 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7766 if (!SWIG_IsOK(res1
)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7769 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7771 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7772 if (!SWIG_IsOK(ecode2
)) {
7773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7775 arg2
= static_cast< int >(val2
);
7779 arg3
= wxString_in_helper(obj2
);
7780 if (arg3
== NULL
) SWIG_fail
;
7787 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7793 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7797 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7798 if (!SWIG_IsOK(ecode6
)) {
7799 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7801 arg6
= static_cast< long >(val6
);
7805 arg7
= wxString_in_helper(obj6
);
7806 if (arg7
== NULL
) SWIG_fail
;
7811 if (!wxPyCheckForApp()) SWIG_fail
;
7812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7813 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7814 wxPyEndAllowThreads(__tstate
);
7815 if (PyErr_Occurred()) SWIG_fail
;
7817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7840 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7841 PyObject
*resultobj
= 0;
7842 wxMiniFrame
*result
= 0 ;
7844 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7846 if (!wxPyCheckForApp()) SWIG_fail
;
7847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7848 result
= (wxMiniFrame
*)new wxMiniFrame();
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7859 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
*resultobj
= 0;
7861 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7862 wxWindow
*arg2
= (wxWindow
*) 0 ;
7863 int arg3
= (int) (int)-1 ;
7864 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7865 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7866 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7867 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7868 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7869 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7870 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
7871 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
7872 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7880 bool temp4
= false ;
7885 bool temp8
= false ;
7886 PyObject
* obj0
= 0 ;
7887 PyObject
* obj1
= 0 ;
7888 PyObject
* obj2
= 0 ;
7889 PyObject
* obj3
= 0 ;
7890 PyObject
* obj4
= 0 ;
7891 PyObject
* obj5
= 0 ;
7892 PyObject
* obj6
= 0 ;
7893 PyObject
* obj7
= 0 ;
7894 char * kwnames
[] = {
7895 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
7900 if (!SWIG_IsOK(res1
)) {
7901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7903 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
7904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7905 if (!SWIG_IsOK(res2
)) {
7906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7908 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7911 if (!SWIG_IsOK(ecode3
)) {
7912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7914 arg3
= static_cast< int >(val3
);
7918 arg4
= wxString_in_helper(obj3
);
7919 if (arg4
== NULL
) SWIG_fail
;
7926 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7932 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7936 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7937 if (!SWIG_IsOK(ecode7
)) {
7938 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
7940 arg7
= static_cast< long >(val7
);
7944 arg8
= wxString_in_helper(obj7
);
7945 if (arg8
== NULL
) SWIG_fail
;
7950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7951 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7980 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7982 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7983 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
7984 return SWIG_Py_Void();
7987 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7988 return SWIG_Python_InitShadowInstance(args
);
7991 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
= 0;
7993 wxBitmap
*arg1
= 0 ;
7994 wxWindow
*arg2
= (wxWindow
*) 0 ;
7996 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7997 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7998 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7999 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8000 long arg6
= (long) wxNO_BORDER
;
8001 wxSplashScreenWindow
*result
= 0 ;
8012 PyObject
* obj0
= 0 ;
8013 PyObject
* obj1
= 0 ;
8014 PyObject
* obj2
= 0 ;
8015 PyObject
* obj3
= 0 ;
8016 PyObject
* obj4
= 0 ;
8017 PyObject
* obj5
= 0 ;
8018 char * kwnames
[] = {
8019 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8023 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8024 if (!SWIG_IsOK(res1
)) {
8025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8028 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8030 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8031 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8032 if (!SWIG_IsOK(res2
)) {
8033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8035 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8037 if (!SWIG_IsOK(ecode3
)) {
8038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8040 arg3
= static_cast< int >(val3
);
8044 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8050 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8054 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8055 if (!SWIG_IsOK(ecode6
)) {
8056 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8058 arg6
= static_cast< long >(val6
);
8061 if (!wxPyCheckForApp()) SWIG_fail
;
8062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8063 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8074 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8075 PyObject
*resultobj
= 0;
8076 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8077 wxBitmap
*arg2
= 0 ;
8082 PyObject
* obj0
= 0 ;
8083 PyObject
* obj1
= 0 ;
8084 char * kwnames
[] = {
8085 (char *) "self",(char *) "bitmap", NULL
8088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8090 if (!SWIG_IsOK(res1
)) {
8091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8093 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8094 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8095 if (!SWIG_IsOK(res2
)) {
8096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8099 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8101 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8104 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8105 wxPyEndAllowThreads(__tstate
);
8106 if (PyErr_Occurred()) SWIG_fail
;
8108 resultobj
= SWIG_Py_Void();
8115 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8116 PyObject
*resultobj
= 0;
8117 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8118 wxBitmap
*result
= 0 ;
8121 PyObject
*swig_obj
[1] ;
8123 if (!args
) SWIG_fail
;
8125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8126 if (!SWIG_IsOK(res1
)) {
8127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8129 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8134 result
= (wxBitmap
*) &_result_ref
;
8136 wxPyEndAllowThreads(__tstate
);
8137 if (PyErr_Occurred()) SWIG_fail
;
8140 wxBitmap
* resultptr
= new wxBitmap(*result
);
8141 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8149 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8151 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8152 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8153 return SWIG_Py_Void();
8156 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8157 return SWIG_Python_InitShadowInstance(args
);
8160 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8161 PyObject
*resultobj
= 0;
8162 wxBitmap
*arg1
= 0 ;
8165 wxWindow
*arg4
= (wxWindow
*) 0 ;
8166 int arg5
= (int) -1 ;
8167 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8168 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8169 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8170 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8171 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8172 wxSplashScreen
*result
= 0 ;
8187 PyObject
* obj0
= 0 ;
8188 PyObject
* obj1
= 0 ;
8189 PyObject
* obj2
= 0 ;
8190 PyObject
* obj3
= 0 ;
8191 PyObject
* obj4
= 0 ;
8192 PyObject
* obj5
= 0 ;
8193 PyObject
* obj6
= 0 ;
8194 PyObject
* obj7
= 0 ;
8195 char * kwnames
[] = {
8196 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8200 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8201 if (!SWIG_IsOK(res1
)) {
8202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8205 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8207 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8208 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8209 if (!SWIG_IsOK(ecode2
)) {
8210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8212 arg2
= static_cast< long >(val2
);
8213 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8214 if (!SWIG_IsOK(ecode3
)) {
8215 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8217 arg3
= static_cast< int >(val3
);
8218 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8219 if (!SWIG_IsOK(res4
)) {
8220 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8222 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8224 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8225 if (!SWIG_IsOK(ecode5
)) {
8226 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8228 arg5
= static_cast< int >(val5
);
8233 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8239 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8243 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8244 if (!SWIG_IsOK(ecode8
)) {
8245 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8247 arg8
= static_cast< long >(val8
);
8250 if (!wxPyCheckForApp()) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8253 wxPyEndAllowThreads(__tstate
);
8254 if (PyErr_Occurred()) SWIG_fail
;
8256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8263 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8264 PyObject
*resultobj
= 0;
8265 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8269 PyObject
*swig_obj
[1] ;
8271 if (!args
) SWIG_fail
;
8273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8274 if (!SWIG_IsOK(res1
)) {
8275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8277 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= SWIG_From_long(static_cast< long >(result
));
8291 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8292 PyObject
*resultobj
= 0;
8293 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8294 wxSplashScreenWindow
*result
= 0 ;
8297 PyObject
*swig_obj
[1] ;
8299 if (!args
) SWIG_fail
;
8301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8302 if (!SWIG_IsOK(res1
)) {
8303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8305 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8308 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8319 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8320 PyObject
*resultobj
= 0;
8321 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8325 PyObject
*swig_obj
[1] ;
8327 if (!args
) SWIG_fail
;
8329 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8330 if (!SWIG_IsOK(res1
)) {
8331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8333 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8336 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8337 wxPyEndAllowThreads(__tstate
);
8338 if (PyErr_Occurred()) SWIG_fail
;
8340 resultobj
= SWIG_From_int(static_cast< int >(result
));
8347 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8349 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8350 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8351 return SWIG_Py_Void();
8354 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8355 return SWIG_Python_InitShadowInstance(args
);
8358 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8359 PyObject
*resultobj
= 0;
8360 wxWindow
*arg1
= (wxWindow
*) 0 ;
8361 int arg2
= (int) -1 ;
8362 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8363 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8364 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8365 wxStatusBar
*result
= 0 ;
8372 bool temp4
= false ;
8373 PyObject
* obj0
= 0 ;
8374 PyObject
* obj1
= 0 ;
8375 PyObject
* obj2
= 0 ;
8376 PyObject
* obj3
= 0 ;
8377 char * kwnames
[] = {
8378 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8383 if (!SWIG_IsOK(res1
)) {
8384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8386 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8389 if (!SWIG_IsOK(ecode2
)) {
8390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8392 arg2
= static_cast< int >(val2
);
8395 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8396 if (!SWIG_IsOK(ecode3
)) {
8397 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8399 arg3
= static_cast< long >(val3
);
8403 arg4
= wxString_in_helper(obj3
);
8404 if (arg4
== NULL
) SWIG_fail
;
8409 if (!wxPyCheckForApp()) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8412 wxPyEndAllowThreads(__tstate
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8430 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8431 PyObject
*resultobj
= 0;
8432 wxStatusBar
*result
= 0 ;
8434 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8436 if (!wxPyCheckForApp()) SWIG_fail
;
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (wxStatusBar
*)new wxStatusBar();
8439 wxPyEndAllowThreads(__tstate
);
8440 if (PyErr_Occurred()) SWIG_fail
;
8442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8449 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8450 PyObject
*resultobj
= 0;
8451 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8452 wxWindow
*arg2
= (wxWindow
*) 0 ;
8453 int arg3
= (int) -1 ;
8454 long arg4
= (long) wxST_SIZEGRIP
;
8455 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8456 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8466 bool temp5
= false ;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8469 PyObject
* obj2
= 0 ;
8470 PyObject
* obj3
= 0 ;
8471 PyObject
* obj4
= 0 ;
8472 char * kwnames
[] = {
8473 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8476 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8477 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8478 if (!SWIG_IsOK(res1
)) {
8479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8481 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8482 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8483 if (!SWIG_IsOK(res2
)) {
8484 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8486 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8488 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8489 if (!SWIG_IsOK(ecode3
)) {
8490 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8492 arg3
= static_cast< int >(val3
);
8495 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8496 if (!SWIG_IsOK(ecode4
)) {
8497 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8499 arg4
= static_cast< long >(val4
);
8503 arg5
= wxString_in_helper(obj4
);
8504 if (arg5
== NULL
) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8511 wxPyEndAllowThreads(__tstate
);
8512 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8531 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8532 PyObject
*resultobj
= 0;
8533 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8534 int arg2
= (int) 1 ;
8539 PyObject
* obj0
= 0 ;
8540 PyObject
* obj1
= 0 ;
8541 char * kwnames
[] = {
8542 (char *) "self",(char *) "number", NULL
8545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8547 if (!SWIG_IsOK(res1
)) {
8548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8550 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8553 if (!SWIG_IsOK(ecode2
)) {
8554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8556 arg2
= static_cast< int >(val2
);
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 (arg1
)->SetFieldsCount(arg2
);
8561 wxPyEndAllowThreads(__tstate
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8564 resultobj
= SWIG_Py_Void();
8571 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8572 PyObject
*resultobj
= 0;
8573 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8577 PyObject
*swig_obj
[1] ;
8579 if (!args
) SWIG_fail
;
8581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8582 if (!SWIG_IsOK(res1
)) {
8583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8585 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8589 wxPyEndAllowThreads(__tstate
);
8590 if (PyErr_Occurred()) SWIG_fail
;
8592 resultobj
= SWIG_From_int(static_cast< int >(result
));
8599 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8600 PyObject
*resultobj
= 0;
8601 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8602 wxString
*arg2
= 0 ;
8603 int arg3
= (int) 0 ;
8606 bool temp2
= false ;
8609 PyObject
* obj0
= 0 ;
8610 PyObject
* obj1
= 0 ;
8611 PyObject
* obj2
= 0 ;
8612 char * kwnames
[] = {
8613 (char *) "self",(char *) "text",(char *) "number", NULL
8616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8618 if (!SWIG_IsOK(res1
)) {
8619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8621 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8623 arg2
= wxString_in_helper(obj1
);
8624 if (arg2
== NULL
) SWIG_fail
;
8628 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8629 if (!SWIG_IsOK(ecode3
)) {
8630 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8632 arg3
= static_cast< int >(val3
);
8635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8636 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8637 wxPyEndAllowThreads(__tstate
);
8638 if (PyErr_Occurred()) SWIG_fail
;
8640 resultobj
= SWIG_Py_Void();
8655 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
= 0;
8657 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8658 int arg2
= (int) 0 ;
8664 PyObject
* obj0
= 0 ;
8665 PyObject
* obj1
= 0 ;
8666 char * kwnames
[] = {
8667 (char *) "self",(char *) "number", NULL
8670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8672 if (!SWIG_IsOK(res1
)) {
8673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8675 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8677 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8678 if (!SWIG_IsOK(ecode2
)) {
8679 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8681 arg2
= static_cast< int >(val2
);
8684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8685 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8691 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8693 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8702 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8703 PyObject
*resultobj
= 0;
8704 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8705 wxString
*arg2
= 0 ;
8706 int arg3
= (int) 0 ;
8709 bool temp2
= false ;
8712 PyObject
* obj0
= 0 ;
8713 PyObject
* obj1
= 0 ;
8714 PyObject
* obj2
= 0 ;
8715 char * kwnames
[] = {
8716 (char *) "self",(char *) "text",(char *) "number", NULL
8719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8721 if (!SWIG_IsOK(res1
)) {
8722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8724 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8726 arg2
= wxString_in_helper(obj1
);
8727 if (arg2
== NULL
) SWIG_fail
;
8731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8732 if (!SWIG_IsOK(ecode3
)) {
8733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8735 arg3
= static_cast< int >(val3
);
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8740 wxPyEndAllowThreads(__tstate
);
8741 if (PyErr_Occurred()) SWIG_fail
;
8743 resultobj
= SWIG_Py_Void();
8758 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
= 0;
8760 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8761 int arg2
= (int) 0 ;
8766 PyObject
* obj0
= 0 ;
8767 PyObject
* obj1
= 0 ;
8768 char * kwnames
[] = {
8769 (char *) "self",(char *) "number", NULL
8772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8774 if (!SWIG_IsOK(res1
)) {
8775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8777 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8780 if (!SWIG_IsOK(ecode2
)) {
8781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8783 arg2
= static_cast< int >(val2
);
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 (arg1
)->PopStatusText(arg2
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 resultobj
= SWIG_Py_Void();
8798 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
= 0;
8800 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8802 int *arg3
= (int *) 0 ;
8805 PyObject
* obj0
= 0 ;
8806 PyObject
* obj1
= 0 ;
8807 char * kwnames
[] = {
8808 (char *) "self",(char *) "widths", NULL
8811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8813 if (!SWIG_IsOK(res1
)) {
8814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8816 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8818 arg2
= PyList_Size(obj1
);
8819 arg3
= int_LIST_helper(obj1
);
8820 if (arg3
== NULL
) SWIG_fail
;
8823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8824 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8825 wxPyEndAllowThreads(__tstate
);
8826 if (PyErr_Occurred()) SWIG_fail
;
8828 resultobj
= SWIG_Py_Void();
8830 if (arg3
) delete [] arg3
;
8835 if (arg3
) delete [] arg3
;
8841 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8842 PyObject
*resultobj
= 0;
8843 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8845 int *arg3
= (int *) 0 ;
8848 PyObject
* obj0
= 0 ;
8849 PyObject
* obj1
= 0 ;
8850 char * kwnames
[] = {
8851 (char *) "self",(char *) "styles", NULL
8854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8856 if (!SWIG_IsOK(res1
)) {
8857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8859 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8861 arg2
= PyList_Size(obj1
);
8862 arg3
= int_LIST_helper(obj1
);
8863 if (arg3
== NULL
) SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 resultobj
= SWIG_Py_Void();
8873 if (arg3
) delete [] arg3
;
8878 if (arg3
) delete [] arg3
;
8884 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8885 PyObject
*resultobj
= 0;
8886 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8893 PyObject
* obj0
= 0 ;
8894 PyObject
* obj1
= 0 ;
8895 char * kwnames
[] = {
8896 (char *) "self",(char *) "i", NULL
8899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8901 if (!SWIG_IsOK(res1
)) {
8902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8904 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8905 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8906 if (!SWIG_IsOK(ecode2
)) {
8907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8909 arg2
= static_cast< int >(val2
);
8911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8912 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8923 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
= 0;
8925 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8931 PyObject
* obj0
= 0 ;
8932 PyObject
* obj1
= 0 ;
8933 char * kwnames
[] = {
8934 (char *) "self",(char *) "height", NULL
8937 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8938 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8939 if (!SWIG_IsOK(res1
)) {
8940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8942 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8944 if (!SWIG_IsOK(ecode2
)) {
8945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
8947 arg2
= static_cast< int >(val2
);
8949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8950 (arg1
)->SetMinHeight(arg2
);
8951 wxPyEndAllowThreads(__tstate
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8954 resultobj
= SWIG_Py_Void();
8961 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8962 PyObject
*resultobj
= 0;
8963 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8967 PyObject
*swig_obj
[1] ;
8969 if (!args
) SWIG_fail
;
8971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8972 if (!SWIG_IsOK(res1
)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8975 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8978 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
8979 wxPyEndAllowThreads(__tstate
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 resultobj
= SWIG_From_int(static_cast< int >(result
));
8989 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8990 PyObject
*resultobj
= 0;
8991 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8995 PyObject
*swig_obj
[1] ;
8997 if (!args
) SWIG_fail
;
8999 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9000 if (!SWIG_IsOK(res1
)) {
9001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9003 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 resultobj
= SWIG_From_int(static_cast< int >(result
));
9017 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
= 0;
9019 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9020 SwigValueWrapper
<wxVisualAttributes
> result
;
9023 PyObject
* obj0
= 0 ;
9024 char * kwnames
[] = {
9025 (char *) "variant", NULL
9028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9031 if (!SWIG_IsOK(ecode1
)) {
9032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9034 arg1
= static_cast< wxWindowVariant
>(val1
);
9037 if (!wxPyCheckForApp()) SWIG_fail
;
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9043 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9050 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9052 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9053 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9054 return SWIG_Py_Void();
9057 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9058 return SWIG_Python_InitShadowInstance(args
);
9061 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9062 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9067 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9068 PyObject
*pyobj
= 0;
9072 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9074 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9081 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
= 0;
9083 wxWindow
*arg1
= (wxWindow
*) 0 ;
9084 int arg2
= (int) -1 ;
9085 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9086 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9087 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9088 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9089 long arg5
= (long) wxSP_3D
;
9090 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9091 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9092 wxSplitterWindow
*result
= 0 ;
9101 bool temp6
= false ;
9102 PyObject
* obj0
= 0 ;
9103 PyObject
* obj1
= 0 ;
9104 PyObject
* obj2
= 0 ;
9105 PyObject
* obj3
= 0 ;
9106 PyObject
* obj4
= 0 ;
9107 PyObject
* obj5
= 0 ;
9108 char * kwnames
[] = {
9109 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9114 if (!SWIG_IsOK(res1
)) {
9115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9117 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9119 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9120 if (!SWIG_IsOK(ecode2
)) {
9121 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9123 arg2
= static_cast< int >(val2
);
9128 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9134 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9138 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9139 if (!SWIG_IsOK(ecode5
)) {
9140 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9142 arg5
= static_cast< long >(val5
);
9146 arg6
= wxString_in_helper(obj5
);
9147 if (arg6
== NULL
) SWIG_fail
;
9152 if (!wxPyCheckForApp()) SWIG_fail
;
9153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9154 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9173 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9174 PyObject
*resultobj
= 0;
9175 wxSplitterWindow
*result
= 0 ;
9177 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9179 if (!wxPyCheckForApp()) SWIG_fail
;
9180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9181 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9182 wxPyEndAllowThreads(__tstate
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9192 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9193 PyObject
*resultobj
= 0;
9194 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9195 wxWindow
*arg2
= (wxWindow
*) 0 ;
9196 int arg3
= (int) -1 ;
9197 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9198 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9199 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9200 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9201 long arg6
= (long) wxSP_3D
;
9202 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9203 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9215 bool temp7
= false ;
9216 PyObject
* obj0
= 0 ;
9217 PyObject
* obj1
= 0 ;
9218 PyObject
* obj2
= 0 ;
9219 PyObject
* obj3
= 0 ;
9220 PyObject
* obj4
= 0 ;
9221 PyObject
* obj5
= 0 ;
9222 PyObject
* obj6
= 0 ;
9223 char * kwnames
[] = {
9224 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9229 if (!SWIG_IsOK(res1
)) {
9230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9232 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9234 if (!SWIG_IsOK(res2
)) {
9235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9237 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9240 if (!SWIG_IsOK(ecode3
)) {
9241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9243 arg3
= static_cast< int >(val3
);
9248 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9254 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9258 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9259 if (!SWIG_IsOK(ecode6
)) {
9260 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9262 arg6
= static_cast< long >(val6
);
9266 arg7
= wxString_in_helper(obj6
);
9267 if (arg7
== NULL
) SWIG_fail
;
9272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9273 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9274 wxPyEndAllowThreads(__tstate
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9294 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9295 PyObject
*resultobj
= 0;
9296 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9297 wxWindow
*result
= 0 ;
9300 PyObject
*swig_obj
[1] ;
9302 if (!args
) SWIG_fail
;
9304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9305 if (!SWIG_IsOK(res1
)) {
9306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9308 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9311 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9312 wxPyEndAllowThreads(__tstate
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9316 resultobj
= wxPyMake_wxObject(result
, 0);
9324 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9325 PyObject
*resultobj
= 0;
9326 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9327 wxWindow
*result
= 0 ;
9330 PyObject
*swig_obj
[1] ;
9332 if (!args
) SWIG_fail
;
9334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9335 if (!SWIG_IsOK(res1
)) {
9336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9338 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9341 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9342 wxPyEndAllowThreads(__tstate
);
9343 if (PyErr_Occurred()) SWIG_fail
;
9346 resultobj
= wxPyMake_wxObject(result
, 0);
9354 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9355 PyObject
*resultobj
= 0;
9356 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9362 PyObject
* obj0
= 0 ;
9363 PyObject
* obj1
= 0 ;
9364 char * kwnames
[] = {
9365 (char *) "self",(char *) "mode", NULL
9368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9370 if (!SWIG_IsOK(res1
)) {
9371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9373 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9375 if (!SWIG_IsOK(ecode2
)) {
9376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9378 arg2
= static_cast< int >(val2
);
9380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9381 (arg1
)->SetSplitMode(arg2
);
9382 wxPyEndAllowThreads(__tstate
);
9383 if (PyErr_Occurred()) SWIG_fail
;
9385 resultobj
= SWIG_Py_Void();
9392 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9393 PyObject
*resultobj
= 0;
9394 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9398 PyObject
*swig_obj
[1] ;
9400 if (!args
) SWIG_fail
;
9402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9403 if (!SWIG_IsOK(res1
)) {
9404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9406 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 resultobj
= SWIG_From_int(static_cast< int >(result
));
9420 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
= 0;
9422 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9423 wxWindow
*arg2
= (wxWindow
*) 0 ;
9428 PyObject
* obj0
= 0 ;
9429 PyObject
* obj1
= 0 ;
9430 char * kwnames
[] = {
9431 (char *) "self",(char *) "window", NULL
9434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9436 if (!SWIG_IsOK(res1
)) {
9437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9439 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9440 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9441 if (!SWIG_IsOK(res2
)) {
9442 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9444 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 (arg1
)->Initialize(arg2
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9451 resultobj
= SWIG_Py_Void();
9458 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9459 PyObject
*resultobj
= 0;
9460 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9461 wxWindow
*arg2
= (wxWindow
*) 0 ;
9462 wxWindow
*arg3
= (wxWindow
*) 0 ;
9463 int arg4
= (int) 0 ;
9473 PyObject
* obj0
= 0 ;
9474 PyObject
* obj1
= 0 ;
9475 PyObject
* obj2
= 0 ;
9476 PyObject
* obj3
= 0 ;
9477 char * kwnames
[] = {
9478 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9481 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9482 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9483 if (!SWIG_IsOK(res1
)) {
9484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9486 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9487 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9488 if (!SWIG_IsOK(res2
)) {
9489 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9491 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9492 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9493 if (!SWIG_IsOK(res3
)) {
9494 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9496 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9498 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9499 if (!SWIG_IsOK(ecode4
)) {
9500 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9502 arg4
= static_cast< int >(val4
);
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9507 wxPyEndAllowThreads(__tstate
);
9508 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9519 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9520 PyObject
*resultobj
= 0;
9521 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9522 wxWindow
*arg2
= (wxWindow
*) 0 ;
9523 wxWindow
*arg3
= (wxWindow
*) 0 ;
9524 int arg4
= (int) 0 ;
9534 PyObject
* obj0
= 0 ;
9535 PyObject
* obj1
= 0 ;
9536 PyObject
* obj2
= 0 ;
9537 PyObject
* obj3
= 0 ;
9538 char * kwnames
[] = {
9539 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9544 if (!SWIG_IsOK(res1
)) {
9545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9547 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9548 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9549 if (!SWIG_IsOK(res2
)) {
9550 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9552 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9553 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9554 if (!SWIG_IsOK(res3
)) {
9555 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9557 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9559 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9560 if (!SWIG_IsOK(ecode4
)) {
9561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9563 arg4
= static_cast< int >(val4
);
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9568 wxPyEndAllowThreads(__tstate
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9580 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9581 PyObject
*resultobj
= 0;
9582 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9583 wxWindow
*arg2
= (wxWindow
*) NULL
;
9589 PyObject
* obj0
= 0 ;
9590 PyObject
* obj1
= 0 ;
9591 char * kwnames
[] = {
9592 (char *) "self",(char *) "toRemove", NULL
9595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9597 if (!SWIG_IsOK(res1
)) {
9598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9600 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9602 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9603 if (!SWIG_IsOK(res2
)) {
9604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9606 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9610 result
= (bool)(arg1
)->Unsplit(arg2
);
9611 wxPyEndAllowThreads(__tstate
);
9612 if (PyErr_Occurred()) SWIG_fail
;
9615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9623 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9624 PyObject
*resultobj
= 0;
9625 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9626 wxWindow
*arg2
= (wxWindow
*) 0 ;
9627 wxWindow
*arg3
= (wxWindow
*) 0 ;
9635 PyObject
* obj0
= 0 ;
9636 PyObject
* obj1
= 0 ;
9637 PyObject
* obj2
= 0 ;
9638 char * kwnames
[] = {
9639 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9644 if (!SWIG_IsOK(res1
)) {
9645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9647 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9648 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9649 if (!SWIG_IsOK(res2
)) {
9650 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9652 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9653 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9654 if (!SWIG_IsOK(res3
)) {
9655 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9657 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9660 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9661 wxPyEndAllowThreads(__tstate
);
9662 if (PyErr_Occurred()) SWIG_fail
;
9665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9673 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9674 PyObject
*resultobj
= 0;
9675 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9678 PyObject
*swig_obj
[1] ;
9680 if (!args
) SWIG_fail
;
9682 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9683 if (!SWIG_IsOK(res1
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9686 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9689 (arg1
)->UpdateSize();
9690 wxPyEndAllowThreads(__tstate
);
9691 if (PyErr_Occurred()) SWIG_fail
;
9693 resultobj
= SWIG_Py_Void();
9700 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9701 PyObject
*resultobj
= 0;
9702 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9706 PyObject
*swig_obj
[1] ;
9708 if (!args
) SWIG_fail
;
9710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9711 if (!SWIG_IsOK(res1
)) {
9712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9714 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9717 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9730 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
*resultobj
= 0;
9732 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9738 PyObject
* obj0
= 0 ;
9739 PyObject
* obj1
= 0 ;
9740 char * kwnames
[] = {
9741 (char *) "self",(char *) "width", NULL
9744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9746 if (!SWIG_IsOK(res1
)) {
9747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9749 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9750 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9751 if (!SWIG_IsOK(ecode2
)) {
9752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9754 arg2
= static_cast< int >(val2
);
9756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9757 (arg1
)->SetSashSize(arg2
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9761 resultobj
= SWIG_Py_Void();
9768 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9769 PyObject
*resultobj
= 0;
9770 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9777 PyObject
* obj1
= 0 ;
9778 char * kwnames
[] = {
9779 (char *) "self",(char *) "width", NULL
9782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9784 if (!SWIG_IsOK(res1
)) {
9785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9787 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9788 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9789 if (!SWIG_IsOK(ecode2
)) {
9790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9792 arg2
= static_cast< int >(val2
);
9794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9795 (arg1
)->SetBorderSize(arg2
);
9796 wxPyEndAllowThreads(__tstate
);
9797 if (PyErr_Occurred()) SWIG_fail
;
9799 resultobj
= SWIG_Py_Void();
9806 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9807 PyObject
*resultobj
= 0;
9808 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9812 PyObject
*swig_obj
[1] ;
9814 if (!args
) SWIG_fail
;
9816 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9817 if (!SWIG_IsOK(res1
)) {
9818 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9820 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9823 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9824 wxPyEndAllowThreads(__tstate
);
9825 if (PyErr_Occurred()) SWIG_fail
;
9827 resultobj
= SWIG_From_int(static_cast< int >(result
));
9834 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9835 PyObject
*resultobj
= 0;
9836 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9840 PyObject
*swig_obj
[1] ;
9842 if (!args
) SWIG_fail
;
9844 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9845 if (!SWIG_IsOK(res1
)) {
9846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9848 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9851 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9852 wxPyEndAllowThreads(__tstate
);
9853 if (PyErr_Occurred()) SWIG_fail
;
9855 resultobj
= SWIG_From_int(static_cast< int >(result
));
9862 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
= 0;
9864 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9866 bool arg3
= (bool) true ;
9873 PyObject
* obj0
= 0 ;
9874 PyObject
* obj1
= 0 ;
9875 PyObject
* obj2
= 0 ;
9876 char * kwnames
[] = {
9877 (char *) "self",(char *) "position",(char *) "redraw", NULL
9880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9882 if (!SWIG_IsOK(res1
)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9885 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9887 if (!SWIG_IsOK(ecode2
)) {
9888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9890 arg2
= static_cast< int >(val2
);
9892 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9893 if (!SWIG_IsOK(ecode3
)) {
9894 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9896 arg3
= static_cast< bool >(val3
);
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 (arg1
)->SetSashPosition(arg2
,arg3
);
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= SWIG_Py_Void();
9911 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9912 PyObject
*resultobj
= 0;
9913 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9917 PyObject
*swig_obj
[1] ;
9919 if (!args
) SWIG_fail
;
9921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9922 if (!SWIG_IsOK(res1
)) {
9923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9925 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9928 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
9929 wxPyEndAllowThreads(__tstate
);
9930 if (PyErr_Occurred()) SWIG_fail
;
9932 resultobj
= SWIG_From_int(static_cast< int >(result
));
9939 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
= 0;
9941 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9947 PyObject
* obj0
= 0 ;
9948 PyObject
* obj1
= 0 ;
9949 char * kwnames
[] = {
9950 (char *) "self",(char *) "gravity", NULL
9953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9955 if (!SWIG_IsOK(res1
)) {
9956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9958 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9959 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
9960 if (!SWIG_IsOK(ecode2
)) {
9961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
9963 arg2
= static_cast< double >(val2
);
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 (arg1
)->SetSashGravity(arg2
);
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= SWIG_Py_Void();
9977 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9978 PyObject
*resultobj
= 0;
9979 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9983 PyObject
*swig_obj
[1] ;
9985 if (!args
) SWIG_fail
;
9987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9988 if (!SWIG_IsOK(res1
)) {
9989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9991 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= SWIG_From_double(static_cast< double >(result
));
10005 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
= 0;
10007 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10013 PyObject
* obj0
= 0 ;
10014 PyObject
* obj1
= 0 ;
10015 char * kwnames
[] = {
10016 (char *) "self",(char *) "min", NULL
10019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10021 if (!SWIG_IsOK(res1
)) {
10022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10024 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10025 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10026 if (!SWIG_IsOK(ecode2
)) {
10027 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10029 arg2
= static_cast< int >(val2
);
10031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10032 (arg1
)->SetMinimumPaneSize(arg2
);
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= SWIG_Py_Void();
10043 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10044 PyObject
*resultobj
= 0;
10045 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10049 PyObject
*swig_obj
[1] ;
10051 if (!args
) SWIG_fail
;
10052 swig_obj
[0] = args
;
10053 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10054 if (!SWIG_IsOK(res1
)) {
10055 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10057 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10064 resultobj
= SWIG_From_int(static_cast< int >(result
));
10071 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
*resultobj
= 0;
10073 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10076 int arg4
= (int) 5 ;
10086 PyObject
* obj0
= 0 ;
10087 PyObject
* obj1
= 0 ;
10088 PyObject
* obj2
= 0 ;
10089 PyObject
* obj3
= 0 ;
10090 char * kwnames
[] = {
10091 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10096 if (!SWIG_IsOK(res1
)) {
10097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10099 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10101 if (!SWIG_IsOK(ecode2
)) {
10102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10104 arg2
= static_cast< int >(val2
);
10105 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10106 if (!SWIG_IsOK(ecode3
)) {
10107 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10109 arg3
= static_cast< int >(val3
);
10111 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10112 if (!SWIG_IsOK(ecode4
)) {
10113 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10115 arg4
= static_cast< int >(val4
);
10118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10119 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10120 wxPyEndAllowThreads(__tstate
);
10121 if (PyErr_Occurred()) SWIG_fail
;
10124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10132 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10133 PyObject
*resultobj
= 0;
10134 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10137 PyObject
*swig_obj
[1] ;
10139 if (!args
) SWIG_fail
;
10140 swig_obj
[0] = args
;
10141 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10142 if (!SWIG_IsOK(res1
)) {
10143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10145 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10148 (arg1
)->SizeWindows();
10149 wxPyEndAllowThreads(__tstate
);
10150 if (PyErr_Occurred()) SWIG_fail
;
10152 resultobj
= SWIG_Py_Void();
10159 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10160 PyObject
*resultobj
= 0;
10161 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10167 PyObject
* obj0
= 0 ;
10168 PyObject
* obj1
= 0 ;
10169 char * kwnames
[] = {
10170 (char *) "self",(char *) "needUpdating", NULL
10173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10175 if (!SWIG_IsOK(res1
)) {
10176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10178 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10179 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10180 if (!SWIG_IsOK(ecode2
)) {
10181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10183 arg2
= static_cast< bool >(val2
);
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 (arg1
)->SetNeedUpdating(arg2
);
10187 wxPyEndAllowThreads(__tstate
);
10188 if (PyErr_Occurred()) SWIG_fail
;
10190 resultobj
= SWIG_Py_Void();
10197 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10198 PyObject
*resultobj
= 0;
10199 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10203 PyObject
*swig_obj
[1] ;
10205 if (!args
) SWIG_fail
;
10206 swig_obj
[0] = args
;
10207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10208 if (!SWIG_IsOK(res1
)) {
10209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10211 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10227 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10228 PyObject
*resultobj
= 0;
10229 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10230 SwigValueWrapper
<wxVisualAttributes
> result
;
10233 PyObject
* obj0
= 0 ;
10234 char * kwnames
[] = {
10235 (char *) "variant", NULL
10238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10240 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10241 if (!SWIG_IsOK(ecode1
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10244 arg1
= static_cast< wxWindowVariant
>(val1
);
10247 if (!wxPyCheckForApp()) SWIG_fail
;
10248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10249 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10250 wxPyEndAllowThreads(__tstate
);
10251 if (PyErr_Occurred()) SWIG_fail
;
10253 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10260 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10262 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10263 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10264 return SWIG_Py_Void();
10267 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10268 return SWIG_Python_InitShadowInstance(args
);
10271 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10272 PyObject
*resultobj
= 0;
10273 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10274 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10275 wxSplitterEvent
*result
= 0 ;
10280 PyObject
* obj0
= 0 ;
10281 PyObject
* obj1
= 0 ;
10282 char * kwnames
[] = {
10283 (char *) "type",(char *) "splitter", NULL
10286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10288 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10289 if (!SWIG_IsOK(ecode1
)) {
10290 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10292 arg1
= static_cast< wxEventType
>(val1
);
10295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10296 if (!SWIG_IsOK(res2
)) {
10297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10299 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10303 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10307 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10314 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
*resultobj
= 0;
10316 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10322 PyObject
* obj0
= 0 ;
10323 PyObject
* obj1
= 0 ;
10324 char * kwnames
[] = {
10325 (char *) "self",(char *) "pos", NULL
10328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10330 if (!SWIG_IsOK(res1
)) {
10331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10333 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10335 if (!SWIG_IsOK(ecode2
)) {
10336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10338 arg2
= static_cast< int >(val2
);
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 (arg1
)->SetSashPosition(arg2
);
10342 wxPyEndAllowThreads(__tstate
);
10343 if (PyErr_Occurred()) SWIG_fail
;
10345 resultobj
= SWIG_Py_Void();
10352 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10353 PyObject
*resultobj
= 0;
10354 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10358 PyObject
*swig_obj
[1] ;
10360 if (!args
) SWIG_fail
;
10361 swig_obj
[0] = args
;
10362 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10363 if (!SWIG_IsOK(res1
)) {
10364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10366 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10369 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10370 wxPyEndAllowThreads(__tstate
);
10371 if (PyErr_Occurred()) SWIG_fail
;
10373 resultobj
= SWIG_From_int(static_cast< int >(result
));
10380 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10381 PyObject
*resultobj
= 0;
10382 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10383 wxWindow
*result
= 0 ;
10386 PyObject
*swig_obj
[1] ;
10388 if (!args
) SWIG_fail
;
10389 swig_obj
[0] = args
;
10390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10391 if (!SWIG_IsOK(res1
)) {
10392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10394 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10397 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10402 resultobj
= wxPyMake_wxObject(result
, 0);
10410 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10411 PyObject
*resultobj
= 0;
10412 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10416 PyObject
*swig_obj
[1] ;
10418 if (!args
) SWIG_fail
;
10419 swig_obj
[0] = args
;
10420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10421 if (!SWIG_IsOK(res1
)) {
10422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10424 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10427 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10431 resultobj
= SWIG_From_int(static_cast< int >(result
));
10438 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10439 PyObject
*resultobj
= 0;
10440 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10444 PyObject
*swig_obj
[1] ;
10446 if (!args
) SWIG_fail
;
10447 swig_obj
[0] = args
;
10448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10449 if (!SWIG_IsOK(res1
)) {
10450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10452 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10455 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10456 wxPyEndAllowThreads(__tstate
);
10457 if (PyErr_Occurred()) SWIG_fail
;
10459 resultobj
= SWIG_From_int(static_cast< int >(result
));
10466 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10468 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10469 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10470 return SWIG_Py_Void();
10473 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10474 return SWIG_Python_InitShadowInstance(args
);
10477 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10478 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10483 SWIGINTERN PyObject
*SashNameStr_get(void) {
10484 PyObject
*pyobj
= 0;
10488 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10490 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10497 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10498 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10503 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10504 PyObject
*pyobj
= 0;
10508 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10510 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10517 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10518 PyObject
*resultobj
= 0;
10519 wxWindow
*arg1
= (wxWindow
*) 0 ;
10520 int arg2
= (int) -1 ;
10521 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10522 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10523 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10524 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10525 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10526 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10527 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10528 wxSashWindow
*result
= 0 ;
10537 bool temp6
= false ;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj1
= 0 ;
10540 PyObject
* obj2
= 0 ;
10541 PyObject
* obj3
= 0 ;
10542 PyObject
* obj4
= 0 ;
10543 PyObject
* obj5
= 0 ;
10544 char * kwnames
[] = {
10545 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10550 if (!SWIG_IsOK(res1
)) {
10551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10553 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10555 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10556 if (!SWIG_IsOK(ecode2
)) {
10557 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10559 arg2
= static_cast< int >(val2
);
10564 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10570 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10574 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10575 if (!SWIG_IsOK(ecode5
)) {
10576 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10578 arg5
= static_cast< long >(val5
);
10582 arg6
= wxString_in_helper(obj5
);
10583 if (arg6
== NULL
) SWIG_fail
;
10588 if (!wxPyCheckForApp()) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10591 wxPyEndAllowThreads(__tstate
);
10592 if (PyErr_Occurred()) SWIG_fail
;
10594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10609 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10610 PyObject
*resultobj
= 0;
10611 wxSashWindow
*result
= 0 ;
10613 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10615 if (!wxPyCheckForApp()) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= (wxSashWindow
*)new wxSashWindow();
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10621 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10628 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10629 PyObject
*resultobj
= 0;
10630 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10631 wxWindow
*arg2
= (wxWindow
*) 0 ;
10632 int arg3
= (int) -1 ;
10633 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10634 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10635 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10636 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10637 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10638 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10639 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10651 bool temp7
= false ;
10652 PyObject
* obj0
= 0 ;
10653 PyObject
* obj1
= 0 ;
10654 PyObject
* obj2
= 0 ;
10655 PyObject
* obj3
= 0 ;
10656 PyObject
* obj4
= 0 ;
10657 PyObject
* obj5
= 0 ;
10658 PyObject
* obj6
= 0 ;
10659 char * kwnames
[] = {
10660 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10665 if (!SWIG_IsOK(res1
)) {
10666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10668 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10670 if (!SWIG_IsOK(res2
)) {
10671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10673 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10675 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10676 if (!SWIG_IsOK(ecode3
)) {
10677 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10679 arg3
= static_cast< int >(val3
);
10684 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10690 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10694 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10695 if (!SWIG_IsOK(ecode6
)) {
10696 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10698 arg6
= static_cast< long >(val6
);
10702 arg7
= wxString_in_helper(obj6
);
10703 if (arg7
== NULL
) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10730 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10731 PyObject
*resultobj
= 0;
10732 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10733 wxSashEdgePosition arg2
;
10741 PyObject
* obj0
= 0 ;
10742 PyObject
* obj1
= 0 ;
10743 PyObject
* obj2
= 0 ;
10744 char * kwnames
[] = {
10745 (char *) "self",(char *) "edge",(char *) "sash", NULL
10748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10750 if (!SWIG_IsOK(res1
)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10753 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10755 if (!SWIG_IsOK(ecode2
)) {
10756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10758 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10759 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10760 if (!SWIG_IsOK(ecode3
)) {
10761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10763 arg3
= static_cast< bool >(val3
);
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 (arg1
)->SetSashVisible(arg2
,arg3
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= SWIG_Py_Void();
10777 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
= 0;
10779 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10780 wxSashEdgePosition arg2
;
10786 PyObject
* obj0
= 0 ;
10787 PyObject
* obj1
= 0 ;
10788 char * kwnames
[] = {
10789 (char *) "self",(char *) "edge", NULL
10792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10794 if (!SWIG_IsOK(res1
)) {
10795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10797 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10799 if (!SWIG_IsOK(ecode2
)) {
10800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10802 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10805 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10806 wxPyEndAllowThreads(__tstate
);
10807 if (PyErr_Occurred()) SWIG_fail
;
10810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10818 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10819 PyObject
*resultobj
= 0;
10820 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10821 wxSashEdgePosition arg2
;
10829 PyObject
* obj0
= 0 ;
10830 PyObject
* obj1
= 0 ;
10831 PyObject
* obj2
= 0 ;
10832 char * kwnames
[] = {
10833 (char *) "self",(char *) "edge",(char *) "border", NULL
10836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10838 if (!SWIG_IsOK(res1
)) {
10839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10841 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10842 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10843 if (!SWIG_IsOK(ecode2
)) {
10844 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10846 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10847 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10848 if (!SWIG_IsOK(ecode3
)) {
10849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10851 arg3
= static_cast< bool >(val3
);
10853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10854 (arg1
)->SetSashBorder(arg2
,arg3
);
10855 wxPyEndAllowThreads(__tstate
);
10856 if (PyErr_Occurred()) SWIG_fail
;
10858 resultobj
= SWIG_Py_Void();
10865 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10866 PyObject
*resultobj
= 0;
10867 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10868 wxSashEdgePosition arg2
;
10874 PyObject
* obj0
= 0 ;
10875 PyObject
* obj1
= 0 ;
10876 char * kwnames
[] = {
10877 (char *) "self",(char *) "edge", NULL
10880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10882 if (!SWIG_IsOK(res1
)) {
10883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10885 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10887 if (!SWIG_IsOK(ecode2
)) {
10888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10890 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
10894 wxPyEndAllowThreads(__tstate
);
10895 if (PyErr_Occurred()) SWIG_fail
;
10898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10906 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
= 0;
10908 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10909 wxSashEdgePosition arg2
;
10915 PyObject
* obj0
= 0 ;
10916 PyObject
* obj1
= 0 ;
10917 char * kwnames
[] = {
10918 (char *) "self",(char *) "edge", NULL
10921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10923 if (!SWIG_IsOK(res1
)) {
10924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10926 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10928 if (!SWIG_IsOK(ecode2
)) {
10929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10931 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 resultobj
= SWIG_From_int(static_cast< int >(result
));
10945 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
= 0;
10947 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10953 PyObject
* obj0
= 0 ;
10954 PyObject
* obj1
= 0 ;
10955 char * kwnames
[] = {
10956 (char *) "self",(char *) "width", NULL
10959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10961 if (!SWIG_IsOK(res1
)) {
10962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10964 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10966 if (!SWIG_IsOK(ecode2
)) {
10967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
10969 arg2
= static_cast< int >(val2
);
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 (arg1
)->SetDefaultBorderSize(arg2
);
10973 wxPyEndAllowThreads(__tstate
);
10974 if (PyErr_Occurred()) SWIG_fail
;
10976 resultobj
= SWIG_Py_Void();
10983 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10984 PyObject
*resultobj
= 0;
10985 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10989 PyObject
*swig_obj
[1] ;
10991 if (!args
) SWIG_fail
;
10992 swig_obj
[0] = args
;
10993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10994 if (!SWIG_IsOK(res1
)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10997 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11001 wxPyEndAllowThreads(__tstate
);
11002 if (PyErr_Occurred()) SWIG_fail
;
11004 resultobj
= SWIG_From_int(static_cast< int >(result
));
11011 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11012 PyObject
*resultobj
= 0;
11013 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11019 PyObject
* obj0
= 0 ;
11020 PyObject
* obj1
= 0 ;
11021 char * kwnames
[] = {
11022 (char *) "self",(char *) "width", NULL
11025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11027 if (!SWIG_IsOK(res1
)) {
11028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11030 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11032 if (!SWIG_IsOK(ecode2
)) {
11033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11035 arg2
= static_cast< int >(val2
);
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 (arg1
)->SetExtraBorderSize(arg2
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11042 resultobj
= SWIG_Py_Void();
11049 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11050 PyObject
*resultobj
= 0;
11051 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11055 PyObject
*swig_obj
[1] ;
11057 if (!args
) SWIG_fail
;
11058 swig_obj
[0] = args
;
11059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11060 if (!SWIG_IsOK(res1
)) {
11061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11063 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11066 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 resultobj
= SWIG_From_int(static_cast< int >(result
));
11077 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
= 0;
11079 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11085 PyObject
* obj0
= 0 ;
11086 PyObject
* obj1
= 0 ;
11087 char * kwnames
[] = {
11088 (char *) "self",(char *) "min", NULL
11091 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11092 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11093 if (!SWIG_IsOK(res1
)) {
11094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11096 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11097 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11098 if (!SWIG_IsOK(ecode2
)) {
11099 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11101 arg2
= static_cast< int >(val2
);
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 (arg1
)->SetMinimumSizeX(arg2
);
11105 wxPyEndAllowThreads(__tstate
);
11106 if (PyErr_Occurred()) SWIG_fail
;
11108 resultobj
= SWIG_Py_Void();
11115 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11116 PyObject
*resultobj
= 0;
11117 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11123 PyObject
* obj0
= 0 ;
11124 PyObject
* obj1
= 0 ;
11125 char * kwnames
[] = {
11126 (char *) "self",(char *) "min", NULL
11129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11131 if (!SWIG_IsOK(res1
)) {
11132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11134 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11136 if (!SWIG_IsOK(ecode2
)) {
11137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11139 arg2
= static_cast< int >(val2
);
11141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11142 (arg1
)->SetMinimumSizeY(arg2
);
11143 wxPyEndAllowThreads(__tstate
);
11144 if (PyErr_Occurred()) SWIG_fail
;
11146 resultobj
= SWIG_Py_Void();
11153 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11154 PyObject
*resultobj
= 0;
11155 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11159 PyObject
*swig_obj
[1] ;
11161 if (!args
) SWIG_fail
;
11162 swig_obj
[0] = args
;
11163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11164 if (!SWIG_IsOK(res1
)) {
11165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11167 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11170 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11171 wxPyEndAllowThreads(__tstate
);
11172 if (PyErr_Occurred()) SWIG_fail
;
11174 resultobj
= SWIG_From_int(static_cast< int >(result
));
11181 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11182 PyObject
*resultobj
= 0;
11183 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11187 PyObject
*swig_obj
[1] ;
11189 if (!args
) SWIG_fail
;
11190 swig_obj
[0] = args
;
11191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11192 if (!SWIG_IsOK(res1
)) {
11193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11195 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11198 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11199 wxPyEndAllowThreads(__tstate
);
11200 if (PyErr_Occurred()) SWIG_fail
;
11202 resultobj
= SWIG_From_int(static_cast< int >(result
));
11209 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11210 PyObject
*resultobj
= 0;
11211 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11217 PyObject
* obj0
= 0 ;
11218 PyObject
* obj1
= 0 ;
11219 char * kwnames
[] = {
11220 (char *) "self",(char *) "max", NULL
11223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11225 if (!SWIG_IsOK(res1
)) {
11226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11228 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11229 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11230 if (!SWIG_IsOK(ecode2
)) {
11231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11233 arg2
= static_cast< int >(val2
);
11235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11236 (arg1
)->SetMaximumSizeX(arg2
);
11237 wxPyEndAllowThreads(__tstate
);
11238 if (PyErr_Occurred()) SWIG_fail
;
11240 resultobj
= SWIG_Py_Void();
11247 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11248 PyObject
*resultobj
= 0;
11249 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11255 PyObject
* obj0
= 0 ;
11256 PyObject
* obj1
= 0 ;
11257 char * kwnames
[] = {
11258 (char *) "self",(char *) "max", NULL
11261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11263 if (!SWIG_IsOK(res1
)) {
11264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11266 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11268 if (!SWIG_IsOK(ecode2
)) {
11269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11271 arg2
= static_cast< int >(val2
);
11273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11274 (arg1
)->SetMaximumSizeY(arg2
);
11275 wxPyEndAllowThreads(__tstate
);
11276 if (PyErr_Occurred()) SWIG_fail
;
11278 resultobj
= SWIG_Py_Void();
11285 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11286 PyObject
*resultobj
= 0;
11287 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11291 PyObject
*swig_obj
[1] ;
11293 if (!args
) SWIG_fail
;
11294 swig_obj
[0] = args
;
11295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11296 if (!SWIG_IsOK(res1
)) {
11297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11299 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11302 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11303 wxPyEndAllowThreads(__tstate
);
11304 if (PyErr_Occurred()) SWIG_fail
;
11306 resultobj
= SWIG_From_int(static_cast< int >(result
));
11313 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11314 PyObject
*resultobj
= 0;
11315 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11319 PyObject
*swig_obj
[1] ;
11321 if (!args
) SWIG_fail
;
11322 swig_obj
[0] = args
;
11323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11324 if (!SWIG_IsOK(res1
)) {
11325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11327 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11330 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11331 wxPyEndAllowThreads(__tstate
);
11332 if (PyErr_Occurred()) SWIG_fail
;
11334 resultobj
= SWIG_From_int(static_cast< int >(result
));
11341 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11342 PyObject
*resultobj
= 0;
11343 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11346 int arg4
= (int) 2 ;
11347 wxSashEdgePosition result
;
11356 PyObject
* obj0
= 0 ;
11357 PyObject
* obj1
= 0 ;
11358 PyObject
* obj2
= 0 ;
11359 PyObject
* obj3
= 0 ;
11360 char * kwnames
[] = {
11361 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11366 if (!SWIG_IsOK(res1
)) {
11367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11369 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11371 if (!SWIG_IsOK(ecode2
)) {
11372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11374 arg2
= static_cast< int >(val2
);
11375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11376 if (!SWIG_IsOK(ecode3
)) {
11377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11379 arg3
= static_cast< int >(val3
);
11381 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11382 if (!SWIG_IsOK(ecode4
)) {
11383 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11385 arg4
= static_cast< int >(val4
);
11388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11389 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= SWIG_From_int(static_cast< int >(result
));
11400 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11401 PyObject
*resultobj
= 0;
11402 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11405 PyObject
*swig_obj
[1] ;
11407 if (!args
) SWIG_fail
;
11408 swig_obj
[0] = args
;
11409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11410 if (!SWIG_IsOK(res1
)) {
11411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11413 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11416 (arg1
)->SizeWindows();
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 resultobj
= SWIG_Py_Void();
11427 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11430 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11431 return SWIG_Py_Void();
11434 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11435 return SWIG_Python_InitShadowInstance(args
);
11438 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11439 PyObject
*resultobj
= 0;
11440 int arg1
= (int) 0 ;
11441 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11442 wxSashEvent
*result
= 0 ;
11447 PyObject
* obj0
= 0 ;
11448 PyObject
* obj1
= 0 ;
11449 char * kwnames
[] = {
11450 (char *) "id",(char *) "edge", NULL
11453 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11455 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11456 if (!SWIG_IsOK(ecode1
)) {
11457 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11459 arg1
= static_cast< int >(val1
);
11462 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11463 if (!SWIG_IsOK(ecode2
)) {
11464 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11466 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11470 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11481 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
= 0;
11483 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11484 wxSashEdgePosition arg2
;
11489 PyObject
* obj0
= 0 ;
11490 PyObject
* obj1
= 0 ;
11491 char * kwnames
[] = {
11492 (char *) "self",(char *) "edge", NULL
11495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11497 if (!SWIG_IsOK(res1
)) {
11498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11500 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11502 if (!SWIG_IsOK(ecode2
)) {
11503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11505 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11508 (arg1
)->SetEdge(arg2
);
11509 wxPyEndAllowThreads(__tstate
);
11510 if (PyErr_Occurred()) SWIG_fail
;
11512 resultobj
= SWIG_Py_Void();
11519 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11520 PyObject
*resultobj
= 0;
11521 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11522 wxSashEdgePosition result
;
11525 PyObject
*swig_obj
[1] ;
11527 if (!args
) SWIG_fail
;
11528 swig_obj
[0] = args
;
11529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11530 if (!SWIG_IsOK(res1
)) {
11531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11533 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11536 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= SWIG_From_int(static_cast< int >(result
));
11547 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11548 PyObject
*resultobj
= 0;
11549 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11554 PyObject
* obj0
= 0 ;
11555 PyObject
* obj1
= 0 ;
11556 char * kwnames
[] = {
11557 (char *) "self",(char *) "rect", NULL
11560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11562 if (!SWIG_IsOK(res1
)) {
11563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11565 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11568 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11572 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11576 resultobj
= SWIG_Py_Void();
11583 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11584 PyObject
*resultobj
= 0;
11585 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11589 PyObject
*swig_obj
[1] ;
11591 if (!args
) SWIG_fail
;
11592 swig_obj
[0] = args
;
11593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11594 if (!SWIG_IsOK(res1
)) {
11595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11597 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11611 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
= 0;
11613 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11614 wxSashDragStatus arg2
;
11619 PyObject
* obj0
= 0 ;
11620 PyObject
* obj1
= 0 ;
11621 char * kwnames
[] = {
11622 (char *) "self",(char *) "status", NULL
11625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11627 if (!SWIG_IsOK(res1
)) {
11628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11630 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11632 if (!SWIG_IsOK(ecode2
)) {
11633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11635 arg2
= static_cast< wxSashDragStatus
>(val2
);
11637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11638 (arg1
)->SetDragStatus(arg2
);
11639 wxPyEndAllowThreads(__tstate
);
11640 if (PyErr_Occurred()) SWIG_fail
;
11642 resultobj
= SWIG_Py_Void();
11649 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11650 PyObject
*resultobj
= 0;
11651 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11652 wxSashDragStatus result
;
11655 PyObject
*swig_obj
[1] ;
11657 if (!args
) SWIG_fail
;
11658 swig_obj
[0] = args
;
11659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11660 if (!SWIG_IsOK(res1
)) {
11661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11663 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11666 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11667 wxPyEndAllowThreads(__tstate
);
11668 if (PyErr_Occurred()) SWIG_fail
;
11670 resultobj
= SWIG_From_int(static_cast< int >(result
));
11677 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11680 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11681 return SWIG_Py_Void();
11684 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11685 return SWIG_Python_InitShadowInstance(args
);
11688 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11689 PyObject
*resultobj
= 0;
11690 int arg1
= (int) 0 ;
11691 wxQueryLayoutInfoEvent
*result
= 0 ;
11694 PyObject
* obj0
= 0 ;
11695 char * kwnames
[] = {
11696 (char *) "id", NULL
11699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11701 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11702 if (!SWIG_IsOK(ecode1
)) {
11703 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11705 arg1
= static_cast< int >(val1
);
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11710 wxPyEndAllowThreads(__tstate
);
11711 if (PyErr_Occurred()) SWIG_fail
;
11713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11720 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11721 PyObject
*resultobj
= 0;
11722 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11728 PyObject
* obj0
= 0 ;
11729 PyObject
* obj1
= 0 ;
11730 char * kwnames
[] = {
11731 (char *) "self",(char *) "length", NULL
11734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11736 if (!SWIG_IsOK(res1
)) {
11737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11739 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11741 if (!SWIG_IsOK(ecode2
)) {
11742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11744 arg2
= static_cast< int >(val2
);
11746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11747 (arg1
)->SetRequestedLength(arg2
);
11748 wxPyEndAllowThreads(__tstate
);
11749 if (PyErr_Occurred()) SWIG_fail
;
11751 resultobj
= SWIG_Py_Void();
11758 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11759 PyObject
*resultobj
= 0;
11760 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11764 PyObject
*swig_obj
[1] ;
11766 if (!args
) SWIG_fail
;
11767 swig_obj
[0] = args
;
11768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11769 if (!SWIG_IsOK(res1
)) {
11770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11772 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11776 wxPyEndAllowThreads(__tstate
);
11777 if (PyErr_Occurred()) SWIG_fail
;
11779 resultobj
= SWIG_From_int(static_cast< int >(result
));
11786 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
= 0;
11788 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11794 PyObject
* obj0
= 0 ;
11795 PyObject
* obj1
= 0 ;
11796 char * kwnames
[] = {
11797 (char *) "self",(char *) "flags", NULL
11800 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11801 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11802 if (!SWIG_IsOK(res1
)) {
11803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11805 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11806 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11807 if (!SWIG_IsOK(ecode2
)) {
11808 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11810 arg2
= static_cast< int >(val2
);
11812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11813 (arg1
)->SetFlags(arg2
);
11814 wxPyEndAllowThreads(__tstate
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11817 resultobj
= SWIG_Py_Void();
11824 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11825 PyObject
*resultobj
= 0;
11826 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11830 PyObject
*swig_obj
[1] ;
11832 if (!args
) SWIG_fail
;
11833 swig_obj
[0] = args
;
11834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11835 if (!SWIG_IsOK(res1
)) {
11836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11838 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11841 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11842 wxPyEndAllowThreads(__tstate
);
11843 if (PyErr_Occurred()) SWIG_fail
;
11845 resultobj
= SWIG_From_int(static_cast< int >(result
));
11852 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11853 PyObject
*resultobj
= 0;
11854 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11859 PyObject
* obj0
= 0 ;
11860 PyObject
* obj1
= 0 ;
11861 char * kwnames
[] = {
11862 (char *) "self",(char *) "size", NULL
11865 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11866 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11867 if (!SWIG_IsOK(res1
)) {
11868 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11870 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11873 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 (arg1
)->SetSize((wxSize
const &)*arg2
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= SWIG_Py_Void();
11888 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11889 PyObject
*resultobj
= 0;
11890 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11894 PyObject
*swig_obj
[1] ;
11896 if (!args
) SWIG_fail
;
11897 swig_obj
[0] = args
;
11898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11899 if (!SWIG_IsOK(res1
)) {
11900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11902 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11916 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
= 0;
11918 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11919 wxLayoutOrientation arg2
;
11924 PyObject
* obj0
= 0 ;
11925 PyObject
* obj1
= 0 ;
11926 char * kwnames
[] = {
11927 (char *) "self",(char *) "orient", NULL
11930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11932 if (!SWIG_IsOK(res1
)) {
11933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11935 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11937 if (!SWIG_IsOK(ecode2
)) {
11938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
11940 arg2
= static_cast< wxLayoutOrientation
>(val2
);
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 (arg1
)->SetOrientation(arg2
);
11944 wxPyEndAllowThreads(__tstate
);
11945 if (PyErr_Occurred()) SWIG_fail
;
11947 resultobj
= SWIG_Py_Void();
11954 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11955 PyObject
*resultobj
= 0;
11956 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11957 wxLayoutOrientation result
;
11960 PyObject
*swig_obj
[1] ;
11962 if (!args
) SWIG_fail
;
11963 swig_obj
[0] = args
;
11964 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11965 if (!SWIG_IsOK(res1
)) {
11966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11968 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
11972 wxPyEndAllowThreads(__tstate
);
11973 if (PyErr_Occurred()) SWIG_fail
;
11975 resultobj
= SWIG_From_int(static_cast< int >(result
));
11982 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
= 0;
11984 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11985 wxLayoutAlignment arg2
;
11990 PyObject
* obj0
= 0 ;
11991 PyObject
* obj1
= 0 ;
11992 char * kwnames
[] = {
11993 (char *) "self",(char *) "align", NULL
11996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11998 if (!SWIG_IsOK(res1
)) {
11999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12001 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12003 if (!SWIG_IsOK(ecode2
)) {
12004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12006 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12009 (arg1
)->SetAlignment(arg2
);
12010 wxPyEndAllowThreads(__tstate
);
12011 if (PyErr_Occurred()) SWIG_fail
;
12013 resultobj
= SWIG_Py_Void();
12020 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12021 PyObject
*resultobj
= 0;
12022 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12023 wxLayoutAlignment result
;
12026 PyObject
*swig_obj
[1] ;
12028 if (!args
) SWIG_fail
;
12029 swig_obj
[0] = args
;
12030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12031 if (!SWIG_IsOK(res1
)) {
12032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12034 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12038 wxPyEndAllowThreads(__tstate
);
12039 if (PyErr_Occurred()) SWIG_fail
;
12041 resultobj
= SWIG_From_int(static_cast< int >(result
));
12048 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12050 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12051 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12052 return SWIG_Py_Void();
12055 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12056 return SWIG_Python_InitShadowInstance(args
);
12059 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
= 0;
12061 int arg1
= (int) 0 ;
12062 wxCalculateLayoutEvent
*result
= 0 ;
12065 PyObject
* obj0
= 0 ;
12066 char * kwnames
[] = {
12067 (char *) "id", NULL
12070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12072 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12073 if (!SWIG_IsOK(ecode1
)) {
12074 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12076 arg1
= static_cast< int >(val1
);
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12081 wxPyEndAllowThreads(__tstate
);
12082 if (PyErr_Occurred()) SWIG_fail
;
12084 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12091 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12092 PyObject
*resultobj
= 0;
12093 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12099 PyObject
* obj0
= 0 ;
12100 PyObject
* obj1
= 0 ;
12101 char * kwnames
[] = {
12102 (char *) "self",(char *) "flags", NULL
12105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12107 if (!SWIG_IsOK(res1
)) {
12108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12110 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12112 if (!SWIG_IsOK(ecode2
)) {
12113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12115 arg2
= static_cast< int >(val2
);
12117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12118 (arg1
)->SetFlags(arg2
);
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= SWIG_Py_Void();
12129 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12130 PyObject
*resultobj
= 0;
12131 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12135 PyObject
*swig_obj
[1] ;
12137 if (!args
) SWIG_fail
;
12138 swig_obj
[0] = args
;
12139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12140 if (!SWIG_IsOK(res1
)) {
12141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12143 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12147 wxPyEndAllowThreads(__tstate
);
12148 if (PyErr_Occurred()) SWIG_fail
;
12150 resultobj
= SWIG_From_int(static_cast< int >(result
));
12157 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12158 PyObject
*resultobj
= 0;
12159 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12164 PyObject
* obj0
= 0 ;
12165 PyObject
* obj1
= 0 ;
12166 char * kwnames
[] = {
12167 (char *) "self",(char *) "rect", NULL
12170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12172 if (!SWIG_IsOK(res1
)) {
12173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12175 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12178 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 (arg1
)->SetRect((wxRect
const &)*arg2
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= SWIG_Py_Void();
12193 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12194 PyObject
*resultobj
= 0;
12195 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12199 PyObject
*swig_obj
[1] ;
12201 if (!args
) SWIG_fail
;
12202 swig_obj
[0] = args
;
12203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12204 if (!SWIG_IsOK(res1
)) {
12205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12207 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12221 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12223 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12224 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12225 return SWIG_Py_Void();
12228 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12229 return SWIG_Python_InitShadowInstance(args
);
12232 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12233 PyObject
*resultobj
= 0;
12234 wxWindow
*arg1
= (wxWindow
*) 0 ;
12235 int arg2
= (int) -1 ;
12236 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12237 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12238 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12239 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12240 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12241 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12242 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12243 wxSashLayoutWindow
*result
= 0 ;
12252 bool temp6
= false ;
12253 PyObject
* obj0
= 0 ;
12254 PyObject
* obj1
= 0 ;
12255 PyObject
* obj2
= 0 ;
12256 PyObject
* obj3
= 0 ;
12257 PyObject
* obj4
= 0 ;
12258 PyObject
* obj5
= 0 ;
12259 char * kwnames
[] = {
12260 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12265 if (!SWIG_IsOK(res1
)) {
12266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12268 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12270 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12271 if (!SWIG_IsOK(ecode2
)) {
12272 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12274 arg2
= static_cast< int >(val2
);
12279 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12285 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12289 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12290 if (!SWIG_IsOK(ecode5
)) {
12291 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12293 arg5
= static_cast< long >(val5
);
12297 arg6
= wxString_in_helper(obj5
);
12298 if (arg6
== NULL
) SWIG_fail
;
12303 if (!wxPyCheckForApp()) SWIG_fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12306 wxPyEndAllowThreads(__tstate
);
12307 if (PyErr_Occurred()) SWIG_fail
;
12309 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12324 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12325 PyObject
*resultobj
= 0;
12326 wxSashLayoutWindow
*result
= 0 ;
12328 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12330 if (!wxPyCheckForApp()) SWIG_fail
;
12331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12332 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12333 wxPyEndAllowThreads(__tstate
);
12334 if (PyErr_Occurred()) SWIG_fail
;
12336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12343 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12344 PyObject
*resultobj
= 0;
12345 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12346 wxWindow
*arg2
= (wxWindow
*) 0 ;
12347 int arg3
= (int) -1 ;
12348 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12349 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12350 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12351 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12352 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12353 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12354 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12366 bool temp7
= false ;
12367 PyObject
* obj0
= 0 ;
12368 PyObject
* obj1
= 0 ;
12369 PyObject
* obj2
= 0 ;
12370 PyObject
* obj3
= 0 ;
12371 PyObject
* obj4
= 0 ;
12372 PyObject
* obj5
= 0 ;
12373 PyObject
* obj6
= 0 ;
12374 char * kwnames
[] = {
12375 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12380 if (!SWIG_IsOK(res1
)) {
12381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12383 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12384 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12385 if (!SWIG_IsOK(res2
)) {
12386 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12388 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12391 if (!SWIG_IsOK(ecode3
)) {
12392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12394 arg3
= static_cast< int >(val3
);
12399 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12405 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12409 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12410 if (!SWIG_IsOK(ecode6
)) {
12411 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12413 arg6
= static_cast< long >(val6
);
12417 arg7
= wxString_in_helper(obj6
);
12418 if (arg7
== NULL
) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12445 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12446 PyObject
*resultobj
= 0;
12447 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12448 wxLayoutAlignment result
;
12451 PyObject
*swig_obj
[1] ;
12453 if (!args
) SWIG_fail
;
12454 swig_obj
[0] = args
;
12455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12456 if (!SWIG_IsOK(res1
)) {
12457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12459 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12462 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12463 wxPyEndAllowThreads(__tstate
);
12464 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= SWIG_From_int(static_cast< int >(result
));
12473 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12474 PyObject
*resultobj
= 0;
12475 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12476 wxLayoutOrientation result
;
12479 PyObject
*swig_obj
[1] ;
12481 if (!args
) SWIG_fail
;
12482 swig_obj
[0] = args
;
12483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12484 if (!SWIG_IsOK(res1
)) {
12485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12487 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12490 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12491 wxPyEndAllowThreads(__tstate
);
12492 if (PyErr_Occurred()) SWIG_fail
;
12494 resultobj
= SWIG_From_int(static_cast< int >(result
));
12501 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12502 PyObject
*resultobj
= 0;
12503 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12504 wxLayoutAlignment arg2
;
12509 PyObject
* obj0
= 0 ;
12510 PyObject
* obj1
= 0 ;
12511 char * kwnames
[] = {
12512 (char *) "self",(char *) "alignment", NULL
12515 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12516 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12517 if (!SWIG_IsOK(res1
)) {
12518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12520 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12521 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12522 if (!SWIG_IsOK(ecode2
)) {
12523 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12525 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12528 (arg1
)->SetAlignment(arg2
);
12529 wxPyEndAllowThreads(__tstate
);
12530 if (PyErr_Occurred()) SWIG_fail
;
12532 resultobj
= SWIG_Py_Void();
12539 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12540 PyObject
*resultobj
= 0;
12541 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12546 PyObject
* obj0
= 0 ;
12547 PyObject
* obj1
= 0 ;
12548 char * kwnames
[] = {
12549 (char *) "self",(char *) "size", NULL
12552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12554 if (!SWIG_IsOK(res1
)) {
12555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12557 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12560 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12564 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 resultobj
= SWIG_Py_Void();
12575 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12576 PyObject
*resultobj
= 0;
12577 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12578 wxLayoutOrientation arg2
;
12583 PyObject
* obj0
= 0 ;
12584 PyObject
* obj1
= 0 ;
12585 char * kwnames
[] = {
12586 (char *) "self",(char *) "orientation", NULL
12589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12591 if (!SWIG_IsOK(res1
)) {
12592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12594 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12595 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12596 if (!SWIG_IsOK(ecode2
)) {
12597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12599 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 (arg1
)->SetOrientation(arg2
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 resultobj
= SWIG_Py_Void();
12613 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12615 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12616 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12617 return SWIG_Py_Void();
12620 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12621 return SWIG_Python_InitShadowInstance(args
);
12624 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12625 PyObject
*resultobj
= 0;
12626 wxLayoutAlgorithm
*result
= 0 ;
12628 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12631 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12642 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12643 PyObject
*resultobj
= 0;
12644 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12647 PyObject
*swig_obj
[1] ;
12649 if (!args
) SWIG_fail
;
12650 swig_obj
[0] = args
;
12651 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12652 if (!SWIG_IsOK(res1
)) {
12653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12655 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12660 wxPyEndAllowThreads(__tstate
);
12661 if (PyErr_Occurred()) SWIG_fail
;
12663 resultobj
= SWIG_Py_Void();
12670 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
= 0;
12672 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12673 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12674 wxRect
*arg3
= (wxRect
*) NULL
;
12682 PyObject
* obj0
= 0 ;
12683 PyObject
* obj1
= 0 ;
12684 PyObject
* obj2
= 0 ;
12685 char * kwnames
[] = {
12686 (char *) "self",(char *) "frame",(char *) "rect", NULL
12689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12691 if (!SWIG_IsOK(res1
)) {
12692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12694 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12695 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12696 if (!SWIG_IsOK(res2
)) {
12697 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12699 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12701 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12702 if (!SWIG_IsOK(res3
)) {
12703 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12705 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12709 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12710 wxPyEndAllowThreads(__tstate
);
12711 if (PyErr_Occurred()) SWIG_fail
;
12714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12722 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12723 PyObject
*resultobj
= 0;
12724 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12725 wxFrame
*arg2
= (wxFrame
*) 0 ;
12726 wxWindow
*arg3
= (wxWindow
*) NULL
;
12734 PyObject
* obj0
= 0 ;
12735 PyObject
* obj1
= 0 ;
12736 PyObject
* obj2
= 0 ;
12737 char * kwnames
[] = {
12738 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12743 if (!SWIG_IsOK(res1
)) {
12744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12746 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12747 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12748 if (!SWIG_IsOK(res2
)) {
12749 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12751 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12753 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12754 if (!SWIG_IsOK(res3
)) {
12755 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12757 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12761 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12762 wxPyEndAllowThreads(__tstate
);
12763 if (PyErr_Occurred()) SWIG_fail
;
12766 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12774 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12775 PyObject
*resultobj
= 0;
12776 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12777 wxWindow
*arg2
= (wxWindow
*) 0 ;
12778 wxWindow
*arg3
= (wxWindow
*) NULL
;
12786 PyObject
* obj0
= 0 ;
12787 PyObject
* obj1
= 0 ;
12788 PyObject
* obj2
= 0 ;
12789 char * kwnames
[] = {
12790 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12793 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12794 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12795 if (!SWIG_IsOK(res1
)) {
12796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12798 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12799 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12800 if (!SWIG_IsOK(res2
)) {
12801 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12803 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12805 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12806 if (!SWIG_IsOK(res3
)) {
12807 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12809 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12813 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12814 wxPyEndAllowThreads(__tstate
);
12815 if (PyErr_Occurred()) SWIG_fail
;
12818 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12826 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12829 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12830 return SWIG_Py_Void();
12833 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12834 return SWIG_Python_InitShadowInstance(args
);
12837 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12838 PyObject
*resultobj
= 0;
12839 wxWindow
*arg1
= (wxWindow
*) 0 ;
12840 int arg2
= (int) wxBORDER_NONE
;
12841 wxPopupWindow
*result
= 0 ;
12846 PyObject
* obj0
= 0 ;
12847 PyObject
* obj1
= 0 ;
12848 char * kwnames
[] = {
12849 (char *) "parent",(char *) "flags", NULL
12852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12854 if (!SWIG_IsOK(res1
)) {
12855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12857 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12860 if (!SWIG_IsOK(ecode2
)) {
12861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12863 arg2
= static_cast< int >(val2
);
12866 if (!wxPyCheckForApp()) SWIG_fail
;
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
12879 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12880 PyObject
*resultobj
= 0;
12881 wxPopupWindow
*result
= 0 ;
12883 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
12885 if (!wxPyCheckForApp()) SWIG_fail
;
12886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12887 result
= (wxPopupWindow
*)new wxPopupWindow();
12888 wxPyEndAllowThreads(__tstate
);
12889 if (PyErr_Occurred()) SWIG_fail
;
12891 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
12898 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12899 PyObject
*resultobj
= 0;
12900 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
12901 wxWindow
*arg2
= (wxWindow
*) 0 ;
12902 int arg3
= (int) wxBORDER_NONE
;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 PyObject
* obj2
= 0 ;
12913 char * kwnames
[] = {
12914 (char *) "self",(char *) "parent",(char *) "flags", NULL
12917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
12919 if (!SWIG_IsOK(res1
)) {
12920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12922 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
12923 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12924 if (!SWIG_IsOK(res2
)) {
12925 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12927 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12930 if (!SWIG_IsOK(ecode3
)) {
12931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
12933 arg3
= static_cast< int >(val3
);
12936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12937 result
= (bool)(arg1
)->Create(arg2
,arg3
);
12938 wxPyEndAllowThreads(__tstate
);
12939 if (PyErr_Occurred()) SWIG_fail
;
12942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12950 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12951 PyObject
*resultobj
= 0;
12952 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
12953 wxPoint
*arg2
= 0 ;
12959 PyObject
* obj0
= 0 ;
12960 PyObject
* obj1
= 0 ;
12961 PyObject
* obj2
= 0 ;
12962 char * kwnames
[] = {
12963 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
12966 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12967 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
12968 if (!SWIG_IsOK(res1
)) {
12969 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12971 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
12974 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
12978 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
12981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12982 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
12983 wxPyEndAllowThreads(__tstate
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12986 resultobj
= SWIG_Py_Void();
12993 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12995 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12996 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
12997 return SWIG_Py_Void();
13000 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13001 return SWIG_Python_InitShadowInstance(args
);
13004 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13005 PyObject
*resultobj
= 0;
13006 wxWindow
*arg1
= (wxWindow
*) 0 ;
13007 int arg2
= (int) wxBORDER_NONE
;
13008 wxPyPopupTransientWindow
*result
= 0 ;
13013 PyObject
* obj0
= 0 ;
13014 PyObject
* obj1
= 0 ;
13015 char * kwnames
[] = {
13016 (char *) "parent",(char *) "style", NULL
13019 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13020 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13021 if (!SWIG_IsOK(res1
)) {
13022 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13024 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13026 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13027 if (!SWIG_IsOK(ecode2
)) {
13028 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13030 arg2
= static_cast< int >(val2
);
13033 if (!wxPyCheckForApp()) SWIG_fail
;
13034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13035 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13036 wxPyEndAllowThreads(__tstate
);
13037 if (PyErr_Occurred()) SWIG_fail
;
13039 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13046 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13047 PyObject
*resultobj
= 0;
13048 wxPyPopupTransientWindow
*result
= 0 ;
13050 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13052 if (!wxPyCheckForApp()) SWIG_fail
;
13053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13054 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13055 wxPyEndAllowThreads(__tstate
);
13056 if (PyErr_Occurred()) SWIG_fail
;
13058 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13065 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13066 PyObject
*resultobj
= 0;
13067 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13068 PyObject
*arg2
= (PyObject
*) 0 ;
13069 PyObject
*arg3
= (PyObject
*) 0 ;
13072 PyObject
* obj0
= 0 ;
13073 PyObject
* obj1
= 0 ;
13074 PyObject
* obj2
= 0 ;
13075 char * kwnames
[] = {
13076 (char *) "self",(char *) "self",(char *) "_class", NULL
13079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13081 if (!SWIG_IsOK(res1
)) {
13082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13084 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13089 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13090 wxPyEndAllowThreads(__tstate
);
13091 if (PyErr_Occurred()) SWIG_fail
;
13093 resultobj
= SWIG_Py_Void();
13100 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13101 PyObject
*resultobj
= 0;
13102 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13103 wxWindow
*arg2
= (wxWindow
*) NULL
;
13108 PyObject
* obj0
= 0 ;
13109 PyObject
* obj1
= 0 ;
13110 char * kwnames
[] = {
13111 (char *) "self",(char *) "focus", NULL
13114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13116 if (!SWIG_IsOK(res1
)) {
13117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13119 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13121 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13122 if (!SWIG_IsOK(res2
)) {
13123 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13125 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13129 (arg1
)->Popup(arg2
);
13130 wxPyEndAllowThreads(__tstate
);
13131 if (PyErr_Occurred()) SWIG_fail
;
13133 resultobj
= SWIG_Py_Void();
13140 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13141 PyObject
*resultobj
= 0;
13142 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13145 PyObject
*swig_obj
[1] ;
13147 if (!args
) SWIG_fail
;
13148 swig_obj
[0] = args
;
13149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13150 if (!SWIG_IsOK(res1
)) {
13151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13153 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13157 wxPyEndAllowThreads(__tstate
);
13158 if (PyErr_Occurred()) SWIG_fail
;
13160 resultobj
= SWIG_Py_Void();
13167 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13169 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13170 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13171 return SWIG_Py_Void();
13174 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13175 return SWIG_Python_InitShadowInstance(args
);
13178 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13179 PyObject
*resultobj
= 0;
13180 wxWindow
*arg1
= (wxWindow
*) 0 ;
13181 wxString
*arg2
= 0 ;
13182 int arg3
= (int) 100 ;
13183 wxRect
*arg4
= (wxRect
*) NULL
;
13184 wxTipWindow
*result
= 0 ;
13187 bool temp2
= false ;
13192 PyObject
* obj0
= 0 ;
13193 PyObject
* obj1
= 0 ;
13194 PyObject
* obj2
= 0 ;
13195 PyObject
* obj3
= 0 ;
13196 char * kwnames
[] = {
13197 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13202 if (!SWIG_IsOK(res1
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13205 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13207 arg2
= wxString_in_helper(obj1
);
13208 if (arg2
== NULL
) SWIG_fail
;
13212 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13213 if (!SWIG_IsOK(ecode3
)) {
13214 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13216 arg3
= static_cast< int >(val3
);
13219 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13220 if (!SWIG_IsOK(res4
)) {
13221 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13223 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13226 if (!wxPyCheckForApp()) SWIG_fail
;
13227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13228 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13229 wxPyEndAllowThreads(__tstate
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13247 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
= 0;
13249 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13254 PyObject
* obj0
= 0 ;
13255 PyObject
* obj1
= 0 ;
13256 char * kwnames
[] = {
13257 (char *) "self",(char *) "rectBound", NULL
13260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13262 if (!SWIG_IsOK(res1
)) {
13263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13265 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13268 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 resultobj
= SWIG_Py_Void();
13283 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13284 PyObject
*resultobj
= 0;
13285 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13288 PyObject
*swig_obj
[1] ;
13290 if (!args
) SWIG_fail
;
13291 swig_obj
[0] = args
;
13292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13293 if (!SWIG_IsOK(res1
)) {
13294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13296 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= SWIG_Py_Void();
13310 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13313 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13314 return SWIG_Py_Void();
13317 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13318 return SWIG_Python_InitShadowInstance(args
);
13321 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
= 0;
13323 wxWindow
*arg1
= (wxWindow
*) 0 ;
13324 int arg2
= (int) wxID_ANY
;
13325 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13326 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13327 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13328 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13329 long arg5
= (long) 0 ;
13330 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13331 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13332 wxPyVScrolledWindow
*result
= 0 ;
13341 bool temp6
= false ;
13342 PyObject
* obj0
= 0 ;
13343 PyObject
* obj1
= 0 ;
13344 PyObject
* obj2
= 0 ;
13345 PyObject
* obj3
= 0 ;
13346 PyObject
* obj4
= 0 ;
13347 PyObject
* obj5
= 0 ;
13348 char * kwnames
[] = {
13349 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13354 if (!SWIG_IsOK(res1
)) {
13355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13360 if (!SWIG_IsOK(ecode2
)) {
13361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13363 arg2
= static_cast< int >(val2
);
13368 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13374 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13378 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13379 if (!SWIG_IsOK(ecode5
)) {
13380 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13382 arg5
= static_cast< long >(val5
);
13386 arg6
= wxString_in_helper(obj5
);
13387 if (arg6
== NULL
) SWIG_fail
;
13392 if (!wxPyCheckForApp()) SWIG_fail
;
13393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13394 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13395 wxPyEndAllowThreads(__tstate
);
13396 if (PyErr_Occurred()) SWIG_fail
;
13398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13413 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13414 PyObject
*resultobj
= 0;
13415 wxPyVScrolledWindow
*result
= 0 ;
13417 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13419 if (!wxPyCheckForApp()) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13432 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
= 0;
13434 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13435 PyObject
*arg2
= (PyObject
*) 0 ;
13436 PyObject
*arg3
= (PyObject
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 PyObject
* obj1
= 0 ;
13441 PyObject
* obj2
= 0 ;
13442 char * kwnames
[] = {
13443 (char *) "self",(char *) "self",(char *) "_class", NULL
13446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13448 if (!SWIG_IsOK(res1
)) {
13449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13451 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13456 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13457 wxPyEndAllowThreads(__tstate
);
13458 if (PyErr_Occurred()) SWIG_fail
;
13460 resultobj
= SWIG_Py_Void();
13467 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13468 PyObject
*resultobj
= 0;
13469 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13470 wxWindow
*arg2
= (wxWindow
*) 0 ;
13471 int arg3
= (int) wxID_ANY
;
13472 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13473 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13474 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13475 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13476 long arg6
= (long) 0 ;
13477 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13478 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13490 bool temp7
= false ;
13491 PyObject
* obj0
= 0 ;
13492 PyObject
* obj1
= 0 ;
13493 PyObject
* obj2
= 0 ;
13494 PyObject
* obj3
= 0 ;
13495 PyObject
* obj4
= 0 ;
13496 PyObject
* obj5
= 0 ;
13497 PyObject
* obj6
= 0 ;
13498 char * kwnames
[] = {
13499 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13504 if (!SWIG_IsOK(res1
)) {
13505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13507 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13508 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13509 if (!SWIG_IsOK(res2
)) {
13510 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13512 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13514 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13515 if (!SWIG_IsOK(ecode3
)) {
13516 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13518 arg3
= static_cast< int >(val3
);
13523 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13529 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13533 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13534 if (!SWIG_IsOK(ecode6
)) {
13535 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13537 arg6
= static_cast< long >(val6
);
13541 arg7
= wxString_in_helper(obj6
);
13542 if (arg7
== NULL
) SWIG_fail
;
13547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13548 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13549 wxPyEndAllowThreads(__tstate
);
13550 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13569 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13570 PyObject
*resultobj
= 0;
13571 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13577 PyObject
* obj0
= 0 ;
13578 PyObject
* obj1
= 0 ;
13579 char * kwnames
[] = {
13580 (char *) "self",(char *) "count", NULL
13583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13585 if (!SWIG_IsOK(res1
)) {
13586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13588 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13589 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13590 if (!SWIG_IsOK(ecode2
)) {
13591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13593 arg2
= static_cast< size_t >(val2
);
13595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13596 (arg1
)->SetLineCount(arg2
);
13597 wxPyEndAllowThreads(__tstate
);
13598 if (PyErr_Occurred()) SWIG_fail
;
13600 resultobj
= SWIG_Py_Void();
13607 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13608 PyObject
*resultobj
= 0;
13609 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13616 PyObject
* obj0
= 0 ;
13617 PyObject
* obj1
= 0 ;
13618 char * kwnames
[] = {
13619 (char *) "self",(char *) "line", NULL
13622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13624 if (!SWIG_IsOK(res1
)) {
13625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13627 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13628 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13629 if (!SWIG_IsOK(ecode2
)) {
13630 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13632 arg2
= static_cast< size_t >(val2
);
13634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13635 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13636 wxPyEndAllowThreads(__tstate
);
13637 if (PyErr_Occurred()) SWIG_fail
;
13640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13648 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
= 0;
13650 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char * kwnames
[] = {
13659 (char *) "self",(char *) "line", NULL
13662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13664 if (!SWIG_IsOK(res1
)) {
13665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13667 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13668 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13669 if (!SWIG_IsOK(ecode2
)) {
13670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13672 arg2
= static_cast< size_t >(val2
);
13674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13675 (arg1
)->RefreshLine(arg2
);
13676 wxPyEndAllowThreads(__tstate
);
13677 if (PyErr_Occurred()) SWIG_fail
;
13679 resultobj
= SWIG_Py_Void();
13686 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13687 PyObject
*resultobj
= 0;
13688 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13697 PyObject
* obj0
= 0 ;
13698 PyObject
* obj1
= 0 ;
13699 PyObject
* obj2
= 0 ;
13700 char * kwnames
[] = {
13701 (char *) "self",(char *) "_from",(char *) "to", NULL
13704 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13705 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13706 if (!SWIG_IsOK(res1
)) {
13707 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13709 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13710 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13711 if (!SWIG_IsOK(ecode2
)) {
13712 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13714 arg2
= static_cast< size_t >(val2
);
13715 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13716 if (!SWIG_IsOK(ecode3
)) {
13717 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13719 arg3
= static_cast< size_t >(val3
);
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 (arg1
)->RefreshLines(arg2
,arg3
);
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 resultobj
= SWIG_Py_Void();
13733 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
= 0;
13735 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13745 PyObject
* obj0
= 0 ;
13746 PyObject
* obj1
= 0 ;
13747 PyObject
* obj2
= 0 ;
13748 char * kwnames
[] = {
13749 (char *) "self",(char *) "x",(char *) "y", NULL
13752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13754 if (!SWIG_IsOK(res1
)) {
13755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13757 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13759 if (!SWIG_IsOK(ecode2
)) {
13760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13762 arg2
= static_cast< int >(val2
);
13763 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13764 if (!SWIG_IsOK(ecode3
)) {
13765 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13767 arg3
= static_cast< int >(val3
);
13769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13770 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13774 resultobj
= SWIG_From_int(static_cast< int >(result
));
13781 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
= 0;
13783 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13784 wxPoint
*arg2
= 0 ;
13789 PyObject
* obj0
= 0 ;
13790 PyObject
* obj1
= 0 ;
13791 char * kwnames
[] = {
13792 (char *) "self",(char *) "pt", NULL
13795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13797 if (!SWIG_IsOK(res1
)) {
13798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13800 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13803 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= SWIG_From_int(static_cast< int >(result
));
13818 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13819 PyObject
*resultobj
= 0;
13820 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13823 PyObject
*swig_obj
[1] ;
13825 if (!args
) SWIG_fail
;
13826 swig_obj
[0] = args
;
13827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13828 if (!SWIG_IsOK(res1
)) {
13829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13831 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 (arg1
)->RefreshAll();
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 resultobj
= SWIG_Py_Void();
13845 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13846 PyObject
*resultobj
= 0;
13847 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13851 PyObject
*swig_obj
[1] ;
13853 if (!args
) SWIG_fail
;
13854 swig_obj
[0] = args
;
13855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13856 if (!SWIG_IsOK(res1
)) {
13857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13859 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13862 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13873 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13874 PyObject
*resultobj
= 0;
13875 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13879 PyObject
*swig_obj
[1] ;
13881 if (!args
) SWIG_fail
;
13882 swig_obj
[0] = args
;
13883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13884 if (!SWIG_IsOK(res1
)) {
13885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13887 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13890 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13891 wxPyEndAllowThreads(__tstate
);
13892 if (PyErr_Occurred()) SWIG_fail
;
13894 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13901 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13902 PyObject
*resultobj
= 0;
13903 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13907 PyObject
*swig_obj
[1] ;
13909 if (!args
) SWIG_fail
;
13910 swig_obj
[0] = args
;
13911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13912 if (!SWIG_IsOK(res1
)) {
13913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13915 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13918 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13919 wxPyEndAllowThreads(__tstate
);
13920 if (PyErr_Occurred()) SWIG_fail
;
13922 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13929 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
= 0;
13931 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13938 PyObject
* obj0
= 0 ;
13939 PyObject
* obj1
= 0 ;
13940 char * kwnames
[] = {
13941 (char *) "self",(char *) "line", NULL
13944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13946 if (!SWIG_IsOK(res1
)) {
13947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13949 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13950 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13951 if (!SWIG_IsOK(ecode2
)) {
13952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13954 arg2
= static_cast< size_t >(val2
);
13956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13957 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
13958 wxPyEndAllowThreads(__tstate
);
13959 if (PyErr_Occurred()) SWIG_fail
;
13962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13970 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13971 PyObject
*resultobj
= 0;
13972 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13976 PyObject
*swig_obj
[1] ;
13978 if (!args
) SWIG_fail
;
13979 swig_obj
[0] = args
;
13980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13981 if (!SWIG_IsOK(res1
)) {
13982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13984 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13987 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
13988 wxPyEndAllowThreads(__tstate
);
13989 if (PyErr_Occurred()) SWIG_fail
;
13991 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13998 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13999 PyObject
*resultobj
= 0;
14000 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14004 PyObject
*swig_obj
[1] ;
14006 if (!args
) SWIG_fail
;
14007 swig_obj
[0] = args
;
14008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14009 if (!SWIG_IsOK(res1
)) {
14010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14012 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14015 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14016 wxPyEndAllowThreads(__tstate
);
14017 if (PyErr_Occurred()) SWIG_fail
;
14019 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14026 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14027 PyObject
*resultobj
= 0;
14028 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14030 bool arg3
= (bool) false ;
14038 PyObject
* obj0
= 0 ;
14039 PyObject
* obj1
= 0 ;
14040 PyObject
* obj2
= 0 ;
14041 char * kwnames
[] = {
14042 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14047 if (!SWIG_IsOK(res1
)) {
14048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14050 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14051 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14052 if (!SWIG_IsOK(ecode2
)) {
14053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14055 arg2
= static_cast< size_t >(val2
);
14057 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14058 if (!SWIG_IsOK(ecode3
)) {
14059 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14061 arg3
= static_cast< bool >(val3
);
14064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14065 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14066 wxPyEndAllowThreads(__tstate
);
14067 if (PyErr_Occurred()) SWIG_fail
;
14069 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14076 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
= 0;
14078 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14088 PyObject
* obj0
= 0 ;
14089 PyObject
* obj1
= 0 ;
14090 PyObject
* obj2
= 0 ;
14091 char * kwnames
[] = {
14092 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14097 if (!SWIG_IsOK(res1
)) {
14098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14100 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14101 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14102 if (!SWIG_IsOK(ecode2
)) {
14103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14105 arg2
= static_cast< size_t >(val2
);
14106 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14107 if (!SWIG_IsOK(ecode3
)) {
14108 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14110 arg3
= static_cast< size_t >(val3
);
14112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14113 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14114 wxPyEndAllowThreads(__tstate
);
14115 if (PyErr_Occurred()) SWIG_fail
;
14117 resultobj
= SWIG_From_int(static_cast< int >(result
));
14124 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14126 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14127 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14128 return SWIG_Py_Void();
14131 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14132 return SWIG_Python_InitShadowInstance(args
);
14135 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14136 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14141 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14142 PyObject
*pyobj
= 0;
14146 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14148 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14155 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14156 PyObject
*resultobj
= 0;
14157 wxWindow
*arg1
= (wxWindow
*) 0 ;
14158 int arg2
= (int) wxID_ANY
;
14159 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14160 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14161 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14162 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14163 long arg5
= (long) 0 ;
14164 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14165 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14166 wxPyVListBox
*result
= 0 ;
14175 bool temp6
= false ;
14176 PyObject
* obj0
= 0 ;
14177 PyObject
* obj1
= 0 ;
14178 PyObject
* obj2
= 0 ;
14179 PyObject
* obj3
= 0 ;
14180 PyObject
* obj4
= 0 ;
14181 PyObject
* obj5
= 0 ;
14182 char * kwnames
[] = {
14183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14188 if (!SWIG_IsOK(res1
)) {
14189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14191 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14194 if (!SWIG_IsOK(ecode2
)) {
14195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14197 arg2
= static_cast< int >(val2
);
14202 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14208 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14212 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14213 if (!SWIG_IsOK(ecode5
)) {
14214 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14216 arg5
= static_cast< long >(val5
);
14220 arg6
= wxString_in_helper(obj5
);
14221 if (arg6
== NULL
) SWIG_fail
;
14226 if (!wxPyCheckForApp()) SWIG_fail
;
14227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14228 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14232 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14247 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14248 PyObject
*resultobj
= 0;
14249 wxPyVListBox
*result
= 0 ;
14251 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14253 if (!wxPyCheckForApp()) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (wxPyVListBox
*)new wxPyVListBox();
14256 wxPyEndAllowThreads(__tstate
);
14257 if (PyErr_Occurred()) SWIG_fail
;
14259 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14266 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14267 PyObject
*resultobj
= 0;
14268 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14269 PyObject
*arg2
= (PyObject
*) 0 ;
14270 PyObject
*arg3
= (PyObject
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 PyObject
* obj1
= 0 ;
14275 PyObject
* obj2
= 0 ;
14276 char * kwnames
[] = {
14277 (char *) "self",(char *) "self",(char *) "_class", NULL
14280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14282 if (!SWIG_IsOK(res1
)) {
14283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14285 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14291 wxPyEndAllowThreads(__tstate
);
14292 if (PyErr_Occurred()) SWIG_fail
;
14294 resultobj
= SWIG_Py_Void();
14301 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14302 PyObject
*resultobj
= 0;
14303 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14304 wxWindow
*arg2
= (wxWindow
*) 0 ;
14305 int arg3
= (int) wxID_ANY
;
14306 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14307 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14308 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14309 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14310 long arg6
= (long) 0 ;
14311 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14312 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14324 bool temp7
= false ;
14325 PyObject
* obj0
= 0 ;
14326 PyObject
* obj1
= 0 ;
14327 PyObject
* obj2
= 0 ;
14328 PyObject
* obj3
= 0 ;
14329 PyObject
* obj4
= 0 ;
14330 PyObject
* obj5
= 0 ;
14331 PyObject
* obj6
= 0 ;
14332 char * kwnames
[] = {
14333 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14338 if (!SWIG_IsOK(res1
)) {
14339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14341 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14342 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14343 if (!SWIG_IsOK(res2
)) {
14344 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14346 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14348 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14349 if (!SWIG_IsOK(ecode3
)) {
14350 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14352 arg3
= static_cast< int >(val3
);
14357 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14363 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14367 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14368 if (!SWIG_IsOK(ecode6
)) {
14369 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14371 arg6
= static_cast< long >(val6
);
14375 arg7
= wxString_in_helper(obj6
);
14376 if (arg7
== NULL
) SWIG_fail
;
14381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14382 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14403 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14404 PyObject
*resultobj
= 0;
14405 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14409 PyObject
*swig_obj
[1] ;
14411 if (!args
) SWIG_fail
;
14412 swig_obj
[0] = args
;
14413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14414 if (!SWIG_IsOK(res1
)) {
14415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14417 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14420 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14424 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14431 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14432 PyObject
*resultobj
= 0;
14433 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14437 PyObject
*swig_obj
[1] ;
14439 if (!args
) SWIG_fail
;
14440 swig_obj
[0] = args
;
14441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14442 if (!SWIG_IsOK(res1
)) {
14443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14445 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14448 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14461 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14462 PyObject
*resultobj
= 0;
14463 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14467 PyObject
*swig_obj
[1] ;
14469 if (!args
) SWIG_fail
;
14470 swig_obj
[0] = args
;
14471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14472 if (!SWIG_IsOK(res1
)) {
14473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14475 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14479 wxPyEndAllowThreads(__tstate
);
14480 if (PyErr_Occurred()) SWIG_fail
;
14482 resultobj
= SWIG_From_int(static_cast< int >(result
));
14489 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
= 0;
14491 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 PyObject
* obj1
= 0 ;
14500 char * kwnames
[] = {
14501 (char *) "self",(char *) "item", NULL
14504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14506 if (!SWIG_IsOK(res1
)) {
14507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14509 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14510 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14511 if (!SWIG_IsOK(ecode2
)) {
14512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14514 arg2
= static_cast< size_t >(val2
);
14516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14517 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14518 wxPyEndAllowThreads(__tstate
);
14519 if (PyErr_Occurred()) SWIG_fail
;
14522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14530 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
= 0;
14532 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 PyObject
* obj1
= 0 ;
14541 char * kwnames
[] = {
14542 (char *) "self",(char *) "item", NULL
14545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14547 if (!SWIG_IsOK(res1
)) {
14548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14550 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14551 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14552 if (!SWIG_IsOK(ecode2
)) {
14553 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14555 arg2
= static_cast< size_t >(val2
);
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14571 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14572 PyObject
*resultobj
= 0;
14573 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14577 PyObject
*swig_obj
[1] ;
14579 if (!args
) SWIG_fail
;
14580 swig_obj
[0] = args
;
14581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14582 if (!SWIG_IsOK(res1
)) {
14583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14585 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14589 wxPyEndAllowThreads(__tstate
);
14590 if (PyErr_Occurred()) SWIG_fail
;
14592 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14599 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14600 PyObject
*resultobj
= 0;
14601 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14602 PyObject
*result
= 0 ;
14605 PyObject
*swig_obj
[1] ;
14607 if (!args
) SWIG_fail
;
14608 swig_obj
[0] = args
;
14609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14610 if (!SWIG_IsOK(res1
)) {
14611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14613 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14616 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= result
;
14627 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
= 0;
14629 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14630 unsigned long arg2
;
14631 PyObject
*result
= 0 ;
14634 unsigned long val2
;
14636 PyObject
* obj0
= 0 ;
14637 PyObject
* obj1
= 0 ;
14638 char * kwnames
[] = {
14639 (char *) "self",(char *) "cookie", NULL
14642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14644 if (!SWIG_IsOK(res1
)) {
14645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14647 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14648 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14649 if (!SWIG_IsOK(ecode2
)) {
14650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14652 arg2
= static_cast< unsigned long >(val2
);
14654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14655 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14656 wxPyEndAllowThreads(__tstate
);
14657 if (PyErr_Occurred()) SWIG_fail
;
14659 resultobj
= result
;
14666 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14667 PyObject
*resultobj
= 0;
14668 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14672 PyObject
*swig_obj
[1] ;
14674 if (!args
) SWIG_fail
;
14675 swig_obj
[0] = args
;
14676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14677 if (!SWIG_IsOK(res1
)) {
14678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14680 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14683 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14684 wxPyEndAllowThreads(__tstate
);
14685 if (PyErr_Occurred()) SWIG_fail
;
14687 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14694 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14695 PyObject
*resultobj
= 0;
14696 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14697 wxColour
*result
= 0 ;
14700 PyObject
*swig_obj
[1] ;
14702 if (!args
) SWIG_fail
;
14703 swig_obj
[0] = args
;
14704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14705 if (!SWIG_IsOK(res1
)) {
14706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14708 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14712 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14713 result
= (wxColour
*) &_result_ref
;
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14725 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
= 0;
14727 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 PyObject
* obj1
= 0 ;
14735 char * kwnames
[] = {
14736 (char *) "self",(char *) "count", NULL
14739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14741 if (!SWIG_IsOK(res1
)) {
14742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14744 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14745 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14746 if (!SWIG_IsOK(ecode2
)) {
14747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14749 arg2
= static_cast< size_t >(val2
);
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 (arg1
)->SetItemCount(arg2
);
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 resultobj
= SWIG_Py_Void();
14763 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14764 PyObject
*resultobj
= 0;
14765 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14768 PyObject
*swig_obj
[1] ;
14770 if (!args
) SWIG_fail
;
14771 swig_obj
[0] = args
;
14772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14773 if (!SWIG_IsOK(res1
)) {
14774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14776 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= SWIG_Py_Void();
14790 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
= 0;
14792 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14798 PyObject
* obj0
= 0 ;
14799 PyObject
* obj1
= 0 ;
14800 char * kwnames
[] = {
14801 (char *) "self",(char *) "selection", NULL
14804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14806 if (!SWIG_IsOK(res1
)) {
14807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14809 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14811 if (!SWIG_IsOK(ecode2
)) {
14812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14814 arg2
= static_cast< int >(val2
);
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 (arg1
)->SetSelection(arg2
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= SWIG_Py_Void();
14828 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
= 0;
14830 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14832 bool arg3
= (bool) true ;
14840 PyObject
* obj0
= 0 ;
14841 PyObject
* obj1
= 0 ;
14842 PyObject
* obj2
= 0 ;
14843 char * kwnames
[] = {
14844 (char *) "self",(char *) "item",(char *) "select", NULL
14847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14849 if (!SWIG_IsOK(res1
)) {
14850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14852 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14853 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14854 if (!SWIG_IsOK(ecode2
)) {
14855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14857 arg2
= static_cast< size_t >(val2
);
14859 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14860 if (!SWIG_IsOK(ecode3
)) {
14861 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14863 arg3
= static_cast< bool >(val3
);
14866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14867 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14868 wxPyEndAllowThreads(__tstate
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14880 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14881 PyObject
*resultobj
= 0;
14882 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 PyObject
* obj1
= 0 ;
14894 PyObject
* obj2
= 0 ;
14895 char * kwnames
[] = {
14896 (char *) "self",(char *) "_from",(char *) "to", NULL
14899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14901 if (!SWIG_IsOK(res1
)) {
14902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14904 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14905 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14906 if (!SWIG_IsOK(ecode2
)) {
14907 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14909 arg2
= static_cast< size_t >(val2
);
14910 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14911 if (!SWIG_IsOK(ecode3
)) {
14912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14914 arg3
= static_cast< size_t >(val3
);
14916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14917 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14918 wxPyEndAllowThreads(__tstate
);
14919 if (PyErr_Occurred()) SWIG_fail
;
14922 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14930 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14931 PyObject
*resultobj
= 0;
14932 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14938 PyObject
* obj0
= 0 ;
14939 PyObject
* obj1
= 0 ;
14940 char * kwnames
[] = {
14941 (char *) "self",(char *) "item", NULL
14944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14946 if (!SWIG_IsOK(res1
)) {
14947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14949 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14950 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14951 if (!SWIG_IsOK(ecode2
)) {
14952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14954 arg2
= static_cast< size_t >(val2
);
14956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14957 (arg1
)->Toggle(arg2
);
14958 wxPyEndAllowThreads(__tstate
);
14959 if (PyErr_Occurred()) SWIG_fail
;
14961 resultobj
= SWIG_Py_Void();
14968 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14969 PyObject
*resultobj
= 0;
14970 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14974 PyObject
*swig_obj
[1] ;
14976 if (!args
) SWIG_fail
;
14977 swig_obj
[0] = args
;
14978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14979 if (!SWIG_IsOK(res1
)) {
14980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14982 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= (bool)(arg1
)->SelectAll();
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14998 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14999 PyObject
*resultobj
= 0;
15000 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15004 PyObject
*swig_obj
[1] ;
15006 if (!args
) SWIG_fail
;
15007 swig_obj
[0] = args
;
15008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15009 if (!SWIG_IsOK(res1
)) {
15010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15012 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15015 result
= (bool)(arg1
)->DeselectAll();
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15028 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15029 PyObject
*resultobj
= 0;
15030 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15031 wxPoint
*arg2
= 0 ;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 char * kwnames
[] = {
15038 (char *) "self",(char *) "pt", NULL
15041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15043 if (!SWIG_IsOK(res1
)) {
15044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15046 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15049 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15053 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15054 wxPyEndAllowThreads(__tstate
);
15055 if (PyErr_Occurred()) SWIG_fail
;
15057 resultobj
= SWIG_Py_Void();
15064 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15065 PyObject
*resultobj
= 0;
15066 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15075 PyObject
* obj0
= 0 ;
15076 PyObject
* obj1
= 0 ;
15077 PyObject
* obj2
= 0 ;
15078 char * kwnames
[] = {
15079 (char *) "self",(char *) "x",(char *) "y", NULL
15082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15084 if (!SWIG_IsOK(res1
)) {
15085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15087 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15088 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15089 if (!SWIG_IsOK(ecode2
)) {
15090 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15092 arg2
= static_cast< int >(val2
);
15093 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15094 if (!SWIG_IsOK(ecode3
)) {
15095 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15097 arg3
= static_cast< int >(val3
);
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 (arg1
)->SetMargins(arg2
,arg3
);
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= SWIG_Py_Void();
15111 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
= 0;
15113 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15114 wxColour
*arg2
= 0 ;
15118 PyObject
* obj0
= 0 ;
15119 PyObject
* obj1
= 0 ;
15120 char * kwnames
[] = {
15121 (char *) "self",(char *) "col", NULL
15124 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15125 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15126 if (!SWIG_IsOK(res1
)) {
15127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15129 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15132 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15136 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15137 wxPyEndAllowThreads(__tstate
);
15138 if (PyErr_Occurred()) SWIG_fail
;
15140 resultobj
= SWIG_Py_Void();
15147 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15149 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15150 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15151 return SWIG_Py_Void();
15154 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15155 return SWIG_Python_InitShadowInstance(args
);
15158 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15159 PyObject
*resultobj
= 0;
15160 wxWindow
*arg1
= (wxWindow
*) 0 ;
15161 int arg2
= (int) wxID_ANY
;
15162 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15163 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15164 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15165 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15166 long arg5
= (long) 0 ;
15167 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15168 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15169 wxPyHtmlListBox
*result
= 0 ;
15178 bool temp6
= false ;
15179 PyObject
* obj0
= 0 ;
15180 PyObject
* obj1
= 0 ;
15181 PyObject
* obj2
= 0 ;
15182 PyObject
* obj3
= 0 ;
15183 PyObject
* obj4
= 0 ;
15184 PyObject
* obj5
= 0 ;
15185 char * kwnames
[] = {
15186 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15191 if (!SWIG_IsOK(res1
)) {
15192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15194 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15197 if (!SWIG_IsOK(ecode2
)) {
15198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15200 arg2
= static_cast< int >(val2
);
15205 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15211 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15215 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15216 if (!SWIG_IsOK(ecode5
)) {
15217 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15219 arg5
= static_cast< long >(val5
);
15223 arg6
= wxString_in_helper(obj5
);
15224 if (arg6
== NULL
) SWIG_fail
;
15229 if (!wxPyCheckForApp()) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15232 wxPyEndAllowThreads(__tstate
);
15233 if (PyErr_Occurred()) SWIG_fail
;
15235 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15250 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15251 PyObject
*resultobj
= 0;
15252 wxPyHtmlListBox
*result
= 0 ;
15254 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15256 if (!wxPyCheckForApp()) SWIG_fail
;
15257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15258 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15269 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
= 0;
15271 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15272 PyObject
*arg2
= (PyObject
*) 0 ;
15273 PyObject
*arg3
= (PyObject
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 PyObject
* obj1
= 0 ;
15278 PyObject
* obj2
= 0 ;
15279 char * kwnames
[] = {
15280 (char *) "self",(char *) "self",(char *) "_class", NULL
15283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15285 if (!SWIG_IsOK(res1
)) {
15286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15288 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15294 wxPyEndAllowThreads(__tstate
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15297 resultobj
= SWIG_Py_Void();
15304 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15305 PyObject
*resultobj
= 0;
15306 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15307 wxWindow
*arg2
= (wxWindow
*) 0 ;
15308 int arg3
= (int) wxID_ANY
;
15309 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15310 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15311 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15312 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15313 long arg6
= (long) 0 ;
15314 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15315 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15327 bool temp7
= false ;
15328 PyObject
* obj0
= 0 ;
15329 PyObject
* obj1
= 0 ;
15330 PyObject
* obj2
= 0 ;
15331 PyObject
* obj3
= 0 ;
15332 PyObject
* obj4
= 0 ;
15333 PyObject
* obj5
= 0 ;
15334 PyObject
* obj6
= 0 ;
15335 char * kwnames
[] = {
15336 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15341 if (!SWIG_IsOK(res1
)) {
15342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15344 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15346 if (!SWIG_IsOK(res2
)) {
15347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15349 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15351 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15352 if (!SWIG_IsOK(ecode3
)) {
15353 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15355 arg3
= static_cast< int >(val3
);
15360 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15366 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15370 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15371 if (!SWIG_IsOK(ecode6
)) {
15372 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15374 arg6
= static_cast< long >(val6
);
15378 arg7
= wxString_in_helper(obj6
);
15379 if (arg7
== NULL
) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15386 wxPyEndAllowThreads(__tstate
);
15387 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15406 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
= 0;
15408 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15414 PyObject
* obj0
= 0 ;
15415 PyObject
* obj1
= 0 ;
15416 char * kwnames
[] = {
15417 (char *) "self",(char *) "count", NULL
15420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15422 if (!SWIG_IsOK(res1
)) {
15423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15425 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15426 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15427 if (!SWIG_IsOK(ecode2
)) {
15428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15430 arg2
= static_cast< size_t >(val2
);
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 (arg1
)->SetItemCount(arg2
);
15434 wxPyEndAllowThreads(__tstate
);
15435 if (PyErr_Occurred()) SWIG_fail
;
15437 resultobj
= SWIG_Py_Void();
15444 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15445 PyObject
*resultobj
= 0;
15446 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15447 wxFileSystem
*result
= 0 ;
15450 PyObject
*swig_obj
[1] ;
15452 if (!args
) SWIG_fail
;
15453 swig_obj
[0] = args
;
15454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15455 if (!SWIG_IsOK(res1
)) {
15456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15458 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15462 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15463 result
= (wxFileSystem
*) &_result_ref
;
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15475 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15477 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15478 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15479 return SWIG_Py_Void();
15482 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15483 return SWIG_Python_InitShadowInstance(args
);
15486 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15487 PyObject
*resultobj
= 0;
15488 wxPyTaskBarIcon
*result
= 0 ;
15490 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15492 if (!wxPyCheckForApp()) SWIG_fail
;
15493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15494 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15495 wxPyEndAllowThreads(__tstate
);
15496 if (PyErr_Occurred()) SWIG_fail
;
15498 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15505 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15506 PyObject
*resultobj
= 0;
15507 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15510 PyObject
*swig_obj
[1] ;
15512 if (!args
) SWIG_fail
;
15513 swig_obj
[0] = args
;
15514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15515 if (!SWIG_IsOK(res1
)) {
15516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15518 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 wxPyEndAllowThreads(__tstate
);
15524 if (PyErr_Occurred()) SWIG_fail
;
15526 resultobj
= SWIG_Py_Void();
15533 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15534 PyObject
*resultobj
= 0;
15535 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15536 PyObject
*arg2
= (PyObject
*) 0 ;
15537 PyObject
*arg3
= (PyObject
*) 0 ;
15543 PyObject
* obj0
= 0 ;
15544 PyObject
* obj1
= 0 ;
15545 PyObject
* obj2
= 0 ;
15546 PyObject
* obj3
= 0 ;
15547 char * kwnames
[] = {
15548 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15553 if (!SWIG_IsOK(res1
)) {
15554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15556 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15559 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15560 if (!SWIG_IsOK(ecode4
)) {
15561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15563 arg4
= static_cast< int >(val4
);
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= SWIG_Py_Void();
15577 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15578 PyObject
*resultobj
= 0;
15579 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15582 PyObject
*swig_obj
[1] ;
15584 if (!args
) SWIG_fail
;
15585 swig_obj
[0] = args
;
15586 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15587 if (!SWIG_IsOK(res1
)) {
15588 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15590 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 wxPyTaskBarIcon_Destroy(arg1
);
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= SWIG_Py_Void();
15604 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15605 PyObject
*resultobj
= 0;
15606 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15610 PyObject
*swig_obj
[1] ;
15612 if (!args
) SWIG_fail
;
15613 swig_obj
[0] = args
;
15614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15615 if (!SWIG_IsOK(res1
)) {
15616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15618 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15621 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15626 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15634 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15635 PyObject
*resultobj
= 0;
15636 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15640 PyObject
*swig_obj
[1] ;
15642 if (!args
) SWIG_fail
;
15643 swig_obj
[0] = args
;
15644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15645 if (!SWIG_IsOK(res1
)) {
15646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15648 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15652 wxPyEndAllowThreads(__tstate
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15664 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15665 PyObject
*resultobj
= 0;
15666 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15668 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15669 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15675 bool temp3
= false ;
15676 PyObject
* obj0
= 0 ;
15677 PyObject
* obj1
= 0 ;
15678 PyObject
* obj2
= 0 ;
15679 char * kwnames
[] = {
15680 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15685 if (!SWIG_IsOK(res1
)) {
15686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15688 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15689 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15690 if (!SWIG_IsOK(res2
)) {
15691 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15694 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15696 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15699 arg3
= wxString_in_helper(obj2
);
15700 if (arg3
== NULL
) SWIG_fail
;
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15727 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15728 PyObject
*resultobj
= 0;
15729 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15733 PyObject
*swig_obj
[1] ;
15735 if (!args
) SWIG_fail
;
15736 swig_obj
[0] = args
;
15737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15738 if (!SWIG_IsOK(res1
)) {
15739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15741 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15744 result
= (bool)(arg1
)->RemoveIcon();
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15757 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
= 0;
15759 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15760 wxMenu
*arg2
= (wxMenu
*) 0 ;
15766 PyObject
* obj0
= 0 ;
15767 PyObject
* obj1
= 0 ;
15768 char * kwnames
[] = {
15769 (char *) "self",(char *) "menu", NULL
15772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15774 if (!SWIG_IsOK(res1
)) {
15775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15777 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15778 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
15779 if (!SWIG_IsOK(res2
)) {
15780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15782 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
15784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15785 result
= (bool)(arg1
)->PopupMenu(arg2
);
15786 wxPyEndAllowThreads(__tstate
);
15787 if (PyErr_Occurred()) SWIG_fail
;
15790 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15798 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15801 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
15802 return SWIG_Py_Void();
15805 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15806 return SWIG_Python_InitShadowInstance(args
);
15809 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15810 PyObject
*resultobj
= 0;
15812 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
15813 wxTaskBarIconEvent
*result
= 0 ;
15818 PyObject
* obj0
= 0 ;
15819 PyObject
* obj1
= 0 ;
15820 char * kwnames
[] = {
15821 (char *) "evtType",(char *) "tbIcon", NULL
15824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15825 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15826 if (!SWIG_IsOK(ecode1
)) {
15827 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15829 arg1
= static_cast< wxEventType
>(val1
);
15830 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
15831 if (!SWIG_IsOK(res2
)) {
15832 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15834 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
15848 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15850 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15851 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
15852 return SWIG_Py_Void();
15855 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15856 return SWIG_Python_InitShadowInstance(args
);
15859 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
15860 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
15865 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
15866 PyObject
*pyobj
= 0;
15870 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15872 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15879 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
15880 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
15885 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
15886 PyObject
*pyobj
= 0;
15890 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
15892 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
15899 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
15900 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
15905 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
15906 PyObject
*pyobj
= 0;
15910 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
15912 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
15919 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
15920 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
15925 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
15926 PyObject
*pyobj
= 0;
15930 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
15932 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
15939 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
15940 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
15945 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
15946 PyObject
*pyobj
= 0;
15950 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
15952 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
15959 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
15960 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
15965 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
15966 PyObject
*pyobj
= 0;
15970 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
15972 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
15979 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15980 PyObject
*resultobj
= 0;
15981 wxColourData
*result
= 0 ;
15983 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
15985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15986 result
= (wxColourData
*)new wxColourData();
15987 wxPyEndAllowThreads(__tstate
);
15988 if (PyErr_Occurred()) SWIG_fail
;
15990 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
15997 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15998 PyObject
*resultobj
= 0;
15999 wxColourData
*arg1
= (wxColourData
*) 0 ;
16002 PyObject
*swig_obj
[1] ;
16004 if (!args
) SWIG_fail
;
16005 swig_obj
[0] = args
;
16006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16007 if (!SWIG_IsOK(res1
)) {
16008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16010 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16015 wxPyEndAllowThreads(__tstate
);
16016 if (PyErr_Occurred()) SWIG_fail
;
16018 resultobj
= SWIG_Py_Void();
16025 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16026 PyObject
*resultobj
= 0;
16027 wxColourData
*arg1
= (wxColourData
*) 0 ;
16031 PyObject
*swig_obj
[1] ;
16033 if (!args
) SWIG_fail
;
16034 swig_obj
[0] = args
;
16035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16036 if (!SWIG_IsOK(res1
)) {
16037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16039 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16042 result
= (bool)(arg1
)->GetChooseFull();
16043 wxPyEndAllowThreads(__tstate
);
16044 if (PyErr_Occurred()) SWIG_fail
;
16047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16055 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16056 PyObject
*resultobj
= 0;
16057 wxColourData
*arg1
= (wxColourData
*) 0 ;
16061 PyObject
*swig_obj
[1] ;
16063 if (!args
) SWIG_fail
;
16064 swig_obj
[0] = args
;
16065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16066 if (!SWIG_IsOK(res1
)) {
16067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16069 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16072 result
= (arg1
)->GetColour();
16073 wxPyEndAllowThreads(__tstate
);
16074 if (PyErr_Occurred()) SWIG_fail
;
16076 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16083 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16084 PyObject
*resultobj
= 0;
16085 wxColourData
*arg1
= (wxColourData
*) 0 ;
16092 PyObject
* obj0
= 0 ;
16093 PyObject
* obj1
= 0 ;
16094 char * kwnames
[] = {
16095 (char *) "self",(char *) "i", NULL
16098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16100 if (!SWIG_IsOK(res1
)) {
16101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16103 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16105 if (!SWIG_IsOK(ecode2
)) {
16106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16108 arg2
= static_cast< int >(val2
);
16110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 result
= (arg1
)->GetCustomColour(arg2
);
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16122 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16123 PyObject
*resultobj
= 0;
16124 wxColourData
*arg1
= (wxColourData
*) 0 ;
16130 PyObject
* obj0
= 0 ;
16131 PyObject
* obj1
= 0 ;
16132 char * kwnames
[] = {
16133 (char *) "self",(char *) "flag", NULL
16136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16138 if (!SWIG_IsOK(res1
)) {
16139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16141 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16143 if (!SWIG_IsOK(ecode2
)) {
16144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16146 arg2
= static_cast< int >(val2
);
16148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16149 (arg1
)->SetChooseFull(arg2
);
16150 wxPyEndAllowThreads(__tstate
);
16151 if (PyErr_Occurred()) SWIG_fail
;
16153 resultobj
= SWIG_Py_Void();
16160 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16161 PyObject
*resultobj
= 0;
16162 wxColourData
*arg1
= (wxColourData
*) 0 ;
16163 wxColour
*arg2
= 0 ;
16167 PyObject
* obj0
= 0 ;
16168 PyObject
* obj1
= 0 ;
16169 char * kwnames
[] = {
16170 (char *) "self",(char *) "colour", NULL
16173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16175 if (!SWIG_IsOK(res1
)) {
16176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16178 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16181 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16185 (arg1
)->SetColour((wxColour
const &)*arg2
);
16186 wxPyEndAllowThreads(__tstate
);
16187 if (PyErr_Occurred()) SWIG_fail
;
16189 resultobj
= SWIG_Py_Void();
16196 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
= 0;
16198 wxColourData
*arg1
= (wxColourData
*) 0 ;
16200 wxColour
*arg3
= 0 ;
16206 PyObject
* obj0
= 0 ;
16207 PyObject
* obj1
= 0 ;
16208 PyObject
* obj2
= 0 ;
16209 char * kwnames
[] = {
16210 (char *) "self",(char *) "i",(char *) "colour", NULL
16213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16214 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16215 if (!SWIG_IsOK(res1
)) {
16216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16218 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16219 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16220 if (!SWIG_IsOK(ecode2
)) {
16221 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16223 arg2
= static_cast< int >(val2
);
16226 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= SWIG_Py_Void();
16241 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16243 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16244 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16245 return SWIG_Py_Void();
16248 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16249 return SWIG_Python_InitShadowInstance(args
);
16252 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16253 PyObject
*resultobj
= 0;
16254 wxWindow
*arg1
= (wxWindow
*) 0 ;
16255 wxColourData
*arg2
= (wxColourData
*) NULL
;
16256 wxColourDialog
*result
= 0 ;
16261 PyObject
* obj0
= 0 ;
16262 PyObject
* obj1
= 0 ;
16263 char * kwnames
[] = {
16264 (char *) "parent",(char *) "data", NULL
16267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16269 if (!SWIG_IsOK(res1
)) {
16270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16272 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16274 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16275 if (!SWIG_IsOK(res2
)) {
16276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16278 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16281 if (!wxPyCheckForApp()) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16284 wxPyEndAllowThreads(__tstate
);
16285 if (PyErr_Occurred()) SWIG_fail
;
16287 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16294 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16295 PyObject
*resultobj
= 0;
16296 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16297 wxColourData
*result
= 0 ;
16300 PyObject
*swig_obj
[1] ;
16302 if (!args
) SWIG_fail
;
16303 swig_obj
[0] = args
;
16304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16305 if (!SWIG_IsOK(res1
)) {
16306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16308 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16312 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16313 result
= (wxColourData
*) &_result_ref
;
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16318 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16325 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16328 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16329 return SWIG_Py_Void();
16332 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16333 return SWIG_Python_InitShadowInstance(args
);
16336 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16337 PyObject
*resultobj
= 0;
16338 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16339 wxColour
const &arg2_defvalue
= wxNullColour
;
16340 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16341 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16342 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16347 bool temp3
= false ;
16348 PyObject
* obj0
= 0 ;
16349 PyObject
* obj1
= 0 ;
16350 PyObject
* obj2
= 0 ;
16351 char * kwnames
[] = {
16352 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16358 if (!SWIG_IsOK(res1
)) {
16359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16361 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16366 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16371 arg3
= wxString_in_helper(obj2
);
16372 if (arg3
== NULL
) SWIG_fail
;
16377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16378 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16382 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16397 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16398 PyObject
*resultobj
= 0;
16399 wxWindow
*arg1
= (wxWindow
*) 0 ;
16400 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16401 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16402 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16403 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16404 long arg4
= (long) 0 ;
16405 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16406 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16407 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16408 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16409 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16410 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16411 wxDirDialog
*result
= 0 ;
16414 bool temp2
= false ;
16415 bool temp3
= false ;
16420 bool temp7
= false ;
16421 PyObject
* obj0
= 0 ;
16422 PyObject
* obj1
= 0 ;
16423 PyObject
* obj2
= 0 ;
16424 PyObject
* obj3
= 0 ;
16425 PyObject
* obj4
= 0 ;
16426 PyObject
* obj5
= 0 ;
16427 PyObject
* obj6
= 0 ;
16428 char * kwnames
[] = {
16429 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16434 if (!SWIG_IsOK(res1
)) {
16435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16437 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16440 arg2
= wxString_in_helper(obj1
);
16441 if (arg2
== NULL
) SWIG_fail
;
16447 arg3
= wxString_in_helper(obj2
);
16448 if (arg3
== NULL
) SWIG_fail
;
16453 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16454 if (!SWIG_IsOK(ecode4
)) {
16455 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16457 arg4
= static_cast< long >(val4
);
16462 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16468 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16473 arg7
= wxString_in_helper(obj6
);
16474 if (arg7
== NULL
) SWIG_fail
;
16479 if (!wxPyCheckForApp()) SWIG_fail
;
16480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16481 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16516 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16517 PyObject
*resultobj
= 0;
16518 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16522 PyObject
*swig_obj
[1] ;
16524 if (!args
) SWIG_fail
;
16525 swig_obj
[0] = args
;
16526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16527 if (!SWIG_IsOK(res1
)) {
16528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16530 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16533 result
= (arg1
)->GetPath();
16534 wxPyEndAllowThreads(__tstate
);
16535 if (PyErr_Occurred()) SWIG_fail
;
16539 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16541 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16550 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16551 PyObject
*resultobj
= 0;
16552 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16556 PyObject
*swig_obj
[1] ;
16558 if (!args
) SWIG_fail
;
16559 swig_obj
[0] = args
;
16560 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16561 if (!SWIG_IsOK(res1
)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16564 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16567 result
= (arg1
)->GetMessage();
16568 wxPyEndAllowThreads(__tstate
);
16569 if (PyErr_Occurred()) SWIG_fail
;
16573 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16575 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16584 SWIGINTERN PyObject
*_wrap_DirDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16585 PyObject
*resultobj
= 0;
16586 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16590 PyObject
*swig_obj
[1] ;
16592 if (!args
) SWIG_fail
;
16593 swig_obj
[0] = args
;
16594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16595 if (!SWIG_IsOK(res1
)) {
16596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16598 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16601 result
= (long)(arg1
)->GetStyle();
16602 wxPyEndAllowThreads(__tstate
);
16603 if (PyErr_Occurred()) SWIG_fail
;
16605 resultobj
= SWIG_From_long(static_cast< long >(result
));
16612 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16613 PyObject
*resultobj
= 0;
16614 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16615 wxString
*arg2
= 0 ;
16618 bool temp2
= false ;
16619 PyObject
* obj0
= 0 ;
16620 PyObject
* obj1
= 0 ;
16621 char * kwnames
[] = {
16622 (char *) "self",(char *) "message", NULL
16625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16627 if (!SWIG_IsOK(res1
)) {
16628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16630 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16632 arg2
= wxString_in_helper(obj1
);
16633 if (arg2
== NULL
) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 (arg1
)->SetMessage((wxString
const &)*arg2
);
16639 wxPyEndAllowThreads(__tstate
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16642 resultobj
= SWIG_Py_Void();
16657 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
= 0;
16659 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16660 wxString
*arg2
= 0 ;
16663 bool temp2
= false ;
16664 PyObject
* obj0
= 0 ;
16665 PyObject
* obj1
= 0 ;
16666 char * kwnames
[] = {
16667 (char *) "self",(char *) "path", NULL
16670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16672 if (!SWIG_IsOK(res1
)) {
16673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16675 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16677 arg2
= wxString_in_helper(obj1
);
16678 if (arg2
== NULL
) SWIG_fail
;
16682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16683 (arg1
)->SetPath((wxString
const &)*arg2
);
16684 wxPyEndAllowThreads(__tstate
);
16685 if (PyErr_Occurred()) SWIG_fail
;
16687 resultobj
= SWIG_Py_Void();
16702 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16704 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16705 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16706 return SWIG_Py_Void();
16709 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16710 return SWIG_Python_InitShadowInstance(args
);
16713 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16714 PyObject
*resultobj
= 0;
16715 wxWindow
*arg1
= (wxWindow
*) 0 ;
16716 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16717 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16718 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16719 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16720 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16721 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16722 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16723 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16724 long arg6
= (long) 0 ;
16725 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16726 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16727 wxFileDialog
*result
= 0 ;
16730 bool temp2
= false ;
16731 bool temp3
= false ;
16732 bool temp4
= false ;
16733 bool temp5
= false ;
16737 PyObject
* obj0
= 0 ;
16738 PyObject
* obj1
= 0 ;
16739 PyObject
* obj2
= 0 ;
16740 PyObject
* obj3
= 0 ;
16741 PyObject
* obj4
= 0 ;
16742 PyObject
* obj5
= 0 ;
16743 PyObject
* obj6
= 0 ;
16744 char * kwnames
[] = {
16745 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16750 if (!SWIG_IsOK(res1
)) {
16751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16753 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16756 arg2
= wxString_in_helper(obj1
);
16757 if (arg2
== NULL
) SWIG_fail
;
16763 arg3
= wxString_in_helper(obj2
);
16764 if (arg3
== NULL
) SWIG_fail
;
16770 arg4
= wxString_in_helper(obj3
);
16771 if (arg4
== NULL
) SWIG_fail
;
16777 arg5
= wxString_in_helper(obj4
);
16778 if (arg5
== NULL
) SWIG_fail
;
16783 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16784 if (!SWIG_IsOK(ecode6
)) {
16785 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16787 arg6
= static_cast< long >(val6
);
16792 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
16796 if (!wxPyCheckForApp()) SWIG_fail
;
16797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16798 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
16799 wxPyEndAllowThreads(__tstate
);
16800 if (PyErr_Occurred()) SWIG_fail
;
16802 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
16841 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16842 PyObject
*resultobj
= 0;
16843 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16844 wxString
*arg2
= 0 ;
16847 bool temp2
= false ;
16848 PyObject
* obj0
= 0 ;
16849 PyObject
* obj1
= 0 ;
16850 char * kwnames
[] = {
16851 (char *) "self",(char *) "message", NULL
16854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16856 if (!SWIG_IsOK(res1
)) {
16857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16859 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16861 arg2
= wxString_in_helper(obj1
);
16862 if (arg2
== NULL
) SWIG_fail
;
16866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16867 (arg1
)->SetMessage((wxString
const &)*arg2
);
16868 wxPyEndAllowThreads(__tstate
);
16869 if (PyErr_Occurred()) SWIG_fail
;
16871 resultobj
= SWIG_Py_Void();
16886 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
= 0;
16888 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16889 wxString
*arg2
= 0 ;
16892 bool temp2
= false ;
16893 PyObject
* obj0
= 0 ;
16894 PyObject
* obj1
= 0 ;
16895 char * kwnames
[] = {
16896 (char *) "self",(char *) "path", NULL
16899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16901 if (!SWIG_IsOK(res1
)) {
16902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16904 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16906 arg2
= wxString_in_helper(obj1
);
16907 if (arg2
== NULL
) SWIG_fail
;
16911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16912 (arg1
)->SetPath((wxString
const &)*arg2
);
16913 wxPyEndAllowThreads(__tstate
);
16914 if (PyErr_Occurred()) SWIG_fail
;
16916 resultobj
= SWIG_Py_Void();
16931 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16932 PyObject
*resultobj
= 0;
16933 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16934 wxString
*arg2
= 0 ;
16937 bool temp2
= false ;
16938 PyObject
* obj0
= 0 ;
16939 PyObject
* obj1
= 0 ;
16940 char * kwnames
[] = {
16941 (char *) "self",(char *) "dir", NULL
16944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16946 if (!SWIG_IsOK(res1
)) {
16947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16949 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16951 arg2
= wxString_in_helper(obj1
);
16952 if (arg2
== NULL
) SWIG_fail
;
16956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16957 (arg1
)->SetDirectory((wxString
const &)*arg2
);
16958 wxPyEndAllowThreads(__tstate
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16961 resultobj
= SWIG_Py_Void();
16976 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16977 PyObject
*resultobj
= 0;
16978 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16979 wxString
*arg2
= 0 ;
16982 bool temp2
= false ;
16983 PyObject
* obj0
= 0 ;
16984 PyObject
* obj1
= 0 ;
16985 char * kwnames
[] = {
16986 (char *) "self",(char *) "name", NULL
16989 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16990 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16991 if (!SWIG_IsOK(res1
)) {
16992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16994 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16996 arg2
= wxString_in_helper(obj1
);
16997 if (arg2
== NULL
) SWIG_fail
;
17001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17002 (arg1
)->SetFilename((wxString
const &)*arg2
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= SWIG_Py_Void();
17021 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17022 PyObject
*resultobj
= 0;
17023 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17024 wxString
*arg2
= 0 ;
17027 bool temp2
= false ;
17028 PyObject
* obj0
= 0 ;
17029 PyObject
* obj1
= 0 ;
17030 char * kwnames
[] = {
17031 (char *) "self",(char *) "wildCard", NULL
17034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17036 if (!SWIG_IsOK(res1
)) {
17037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17039 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17041 arg2
= wxString_in_helper(obj1
);
17042 if (arg2
== NULL
) SWIG_fail
;
17046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17047 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17048 wxPyEndAllowThreads(__tstate
);
17049 if (PyErr_Occurred()) SWIG_fail
;
17051 resultobj
= SWIG_Py_Void();
17066 SWIGINTERN PyObject
*_wrap_FileDialog_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17067 PyObject
*resultobj
= 0;
17068 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17074 PyObject
* obj0
= 0 ;
17075 PyObject
* obj1
= 0 ;
17076 char * kwnames
[] = {
17077 (char *) "self",(char *) "style", NULL
17080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17082 if (!SWIG_IsOK(res1
)) {
17083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17085 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17086 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
17087 if (!SWIG_IsOK(ecode2
)) {
17088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17090 arg2
= static_cast< long >(val2
);
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 (arg1
)->SetStyle(arg2
);
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17097 resultobj
= SWIG_Py_Void();
17104 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
= 0;
17106 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 char * kwnames
[] = {
17115 (char *) "self",(char *) "filterIndex", NULL
17118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17120 if (!SWIG_IsOK(res1
)) {
17121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17123 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17124 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17125 if (!SWIG_IsOK(ecode2
)) {
17126 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17128 arg2
= static_cast< int >(val2
);
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 (arg1
)->SetFilterIndex(arg2
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= SWIG_Py_Void();
17142 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17143 PyObject
*resultobj
= 0;
17144 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17148 PyObject
*swig_obj
[1] ;
17150 if (!args
) SWIG_fail
;
17151 swig_obj
[0] = args
;
17152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17153 if (!SWIG_IsOK(res1
)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17156 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17159 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17160 wxPyEndAllowThreads(__tstate
);
17161 if (PyErr_Occurred()) SWIG_fail
;
17165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17176 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17177 PyObject
*resultobj
= 0;
17178 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17182 PyObject
*swig_obj
[1] ;
17184 if (!args
) SWIG_fail
;
17185 swig_obj
[0] = args
;
17186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17187 if (!SWIG_IsOK(res1
)) {
17188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17190 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17193 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17194 wxPyEndAllowThreads(__tstate
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17201 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17210 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17211 PyObject
*resultobj
= 0;
17212 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17216 PyObject
*swig_obj
[1] ;
17218 if (!args
) SWIG_fail
;
17219 swig_obj
[0] = args
;
17220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17221 if (!SWIG_IsOK(res1
)) {
17222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17224 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17228 wxPyEndAllowThreads(__tstate
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17233 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17235 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17244 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17245 PyObject
*resultobj
= 0;
17246 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17250 PyObject
*swig_obj
[1] ;
17252 if (!args
) SWIG_fail
;
17253 swig_obj
[0] = args
;
17254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17255 if (!SWIG_IsOK(res1
)) {
17256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17258 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17261 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17262 wxPyEndAllowThreads(__tstate
);
17263 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17278 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17279 PyObject
*resultobj
= 0;
17280 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17284 PyObject
*swig_obj
[1] ;
17286 if (!args
) SWIG_fail
;
17287 swig_obj
[0] = args
;
17288 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17289 if (!SWIG_IsOK(res1
)) {
17290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17292 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17295 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17312 SWIGINTERN PyObject
*_wrap_FileDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17313 PyObject
*resultobj
= 0;
17314 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17318 PyObject
*swig_obj
[1] ;
17320 if (!args
) SWIG_fail
;
17321 swig_obj
[0] = args
;
17322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17323 if (!SWIG_IsOK(res1
)) {
17324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17326 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
17330 wxPyEndAllowThreads(__tstate
);
17331 if (PyErr_Occurred()) SWIG_fail
;
17333 resultobj
= SWIG_From_long(static_cast< long >(result
));
17340 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17341 PyObject
*resultobj
= 0;
17342 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17346 PyObject
*swig_obj
[1] ;
17348 if (!args
) SWIG_fail
;
17349 swig_obj
[0] = args
;
17350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17351 if (!SWIG_IsOK(res1
)) {
17352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17354 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17361 resultobj
= SWIG_From_int(static_cast< int >(result
));
17368 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17369 PyObject
*resultobj
= 0;
17370 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17371 PyObject
*result
= 0 ;
17374 PyObject
*swig_obj
[1] ;
17376 if (!args
) SWIG_fail
;
17377 swig_obj
[0] = args
;
17378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17379 if (!SWIG_IsOK(res1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17382 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17389 resultobj
= result
;
17396 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17397 PyObject
*resultobj
= 0;
17398 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17399 PyObject
*result
= 0 ;
17402 PyObject
*swig_obj
[1] ;
17404 if (!args
) SWIG_fail
;
17405 swig_obj
[0] = args
;
17406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17407 if (!SWIG_IsOK(res1
)) {
17408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17410 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17413 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17417 resultobj
= result
;
17424 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17427 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17428 return SWIG_Py_Void();
17431 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17432 return SWIG_Python_InitShadowInstance(args
);
17435 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17436 PyObject
*resultobj
= 0;
17437 wxWindow
*arg1
= (wxWindow
*) 0 ;
17438 wxString
*arg2
= 0 ;
17439 wxString
*arg3
= 0 ;
17440 int arg4
= (int) 0 ;
17441 wxString
*arg5
= (wxString
*) NULL
;
17442 long arg6
= (long) wxCHOICEDLG_STYLE
;
17443 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17444 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17445 wxMultiChoiceDialog
*result
= 0 ;
17448 bool temp2
= false ;
17449 bool temp3
= false ;
17453 PyObject
* obj0
= 0 ;
17454 PyObject
* obj1
= 0 ;
17455 PyObject
* obj2
= 0 ;
17456 PyObject
* obj3
= 0 ;
17457 PyObject
* obj4
= 0 ;
17458 PyObject
* obj5
= 0 ;
17459 char * kwnames
[] = {
17460 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17465 if (!SWIG_IsOK(res1
)) {
17466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17468 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17470 arg2
= wxString_in_helper(obj1
);
17471 if (arg2
== NULL
) SWIG_fail
;
17475 arg3
= wxString_in_helper(obj2
);
17476 if (arg3
== NULL
) SWIG_fail
;
17481 arg4
= PyList_Size(obj3
);
17482 arg5
= wxString_LIST_helper(obj3
);
17483 if (arg5
== NULL
) SWIG_fail
;
17487 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17488 if (!SWIG_IsOK(ecode6
)) {
17489 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17491 arg6
= static_cast< long >(val6
);
17496 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17500 if (!wxPyCheckForApp()) SWIG_fail
;
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17516 if (arg5
) delete [] arg5
;
17529 if (arg5
) delete [] arg5
;
17535 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
= 0;
17537 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17538 wxArrayInt
*arg2
= 0 ;
17541 bool temp2
= false ;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 char * kwnames
[] = {
17545 (char *) "self",(char *) "selections", NULL
17548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17550 if (!SWIG_IsOK(res1
)) {
17551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17553 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17555 if (! PySequence_Check(obj1
)) {
17556 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17559 arg2
= new wxArrayInt
;
17561 int i
, len
=PySequence_Length(obj1
);
17562 for (i
=0; i
<len
; i
++) {
17563 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17564 PyObject
* number
= PyNumber_Int(item
);
17565 arg2
->Add(PyInt_AS_LONG(number
));
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17573 wxPyEndAllowThreads(__tstate
);
17574 if (PyErr_Occurred()) SWIG_fail
;
17576 resultobj
= SWIG_Py_Void();
17578 if (temp2
) delete arg2
;
17583 if (temp2
) delete arg2
;
17589 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17590 PyObject
*resultobj
= 0;
17591 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17592 PyObject
*result
= 0 ;
17595 PyObject
*swig_obj
[1] ;
17597 if (!args
) SWIG_fail
;
17598 swig_obj
[0] = args
;
17599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17600 if (!SWIG_IsOK(res1
)) {
17601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17603 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17606 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17607 wxPyEndAllowThreads(__tstate
);
17608 if (PyErr_Occurred()) SWIG_fail
;
17610 resultobj
= result
;
17617 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17620 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17621 return SWIG_Py_Void();
17624 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17625 return SWIG_Python_InitShadowInstance(args
);
17628 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
= 0;
17630 wxWindow
*arg1
= (wxWindow
*) 0 ;
17631 wxString
*arg2
= 0 ;
17632 wxString
*arg3
= 0 ;
17634 wxString
*arg5
= (wxString
*) 0 ;
17635 long arg6
= (long) wxCHOICEDLG_STYLE
;
17636 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17637 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17638 wxSingleChoiceDialog
*result
= 0 ;
17641 bool temp2
= false ;
17642 bool temp3
= false ;
17646 PyObject
* obj0
= 0 ;
17647 PyObject
* obj1
= 0 ;
17648 PyObject
* obj2
= 0 ;
17649 PyObject
* obj3
= 0 ;
17650 PyObject
* obj4
= 0 ;
17651 PyObject
* obj5
= 0 ;
17652 char * kwnames
[] = {
17653 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17658 if (!SWIG_IsOK(res1
)) {
17659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17661 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17663 arg2
= wxString_in_helper(obj1
);
17664 if (arg2
== NULL
) SWIG_fail
;
17668 arg3
= wxString_in_helper(obj2
);
17669 if (arg3
== NULL
) SWIG_fail
;
17673 arg4
= PyList_Size(obj3
);
17674 arg5
= wxString_LIST_helper(obj3
);
17675 if (arg5
== NULL
) SWIG_fail
;
17678 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17679 if (!SWIG_IsOK(ecode6
)) {
17680 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17682 arg6
= static_cast< long >(val6
);
17687 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17691 if (!wxPyCheckForApp()) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17694 wxPyEndAllowThreads(__tstate
);
17695 if (PyErr_Occurred()) SWIG_fail
;
17697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17707 if (arg5
) delete [] arg5
;
17720 if (arg5
) delete [] arg5
;
17726 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17727 PyObject
*resultobj
= 0;
17728 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17732 PyObject
*swig_obj
[1] ;
17734 if (!args
) SWIG_fail
;
17735 swig_obj
[0] = args
;
17736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17737 if (!SWIG_IsOK(res1
)) {
17738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17740 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= (int)(arg1
)->GetSelection();
17744 wxPyEndAllowThreads(__tstate
);
17745 if (PyErr_Occurred()) SWIG_fail
;
17747 resultobj
= SWIG_From_int(static_cast< int >(result
));
17754 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17755 PyObject
*resultobj
= 0;
17756 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17760 PyObject
*swig_obj
[1] ;
17762 if (!args
) SWIG_fail
;
17763 swig_obj
[0] = args
;
17764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17765 if (!SWIG_IsOK(res1
)) {
17766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17768 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= (arg1
)->GetStringSelection();
17772 wxPyEndAllowThreads(__tstate
);
17773 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17788 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17789 PyObject
*resultobj
= 0;
17790 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17796 PyObject
* obj0
= 0 ;
17797 PyObject
* obj1
= 0 ;
17798 char * kwnames
[] = {
17799 (char *) "self",(char *) "sel", NULL
17802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17804 if (!SWIG_IsOK(res1
)) {
17805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17807 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17809 if (!SWIG_IsOK(ecode2
)) {
17810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17812 arg2
= static_cast< int >(val2
);
17814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17815 (arg1
)->SetSelection(arg2
);
17816 wxPyEndAllowThreads(__tstate
);
17817 if (PyErr_Occurred()) SWIG_fail
;
17819 resultobj
= SWIG_Py_Void();
17826 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17828 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17829 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17830 return SWIG_Py_Void();
17833 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17834 return SWIG_Python_InitShadowInstance(args
);
17837 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17838 PyObject
*resultobj
= 0;
17839 wxWindow
*arg1
= (wxWindow
*) 0 ;
17840 wxString
*arg2
= 0 ;
17841 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17842 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17843 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17844 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17845 long arg5
= (long) wxTextEntryDialogStyle
;
17846 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17847 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17848 wxTextEntryDialog
*result
= 0 ;
17851 bool temp2
= false ;
17852 bool temp3
= false ;
17853 bool temp4
= false ;
17857 PyObject
* obj0
= 0 ;
17858 PyObject
* obj1
= 0 ;
17859 PyObject
* obj2
= 0 ;
17860 PyObject
* obj3
= 0 ;
17861 PyObject
* obj4
= 0 ;
17862 PyObject
* obj5
= 0 ;
17863 char * kwnames
[] = {
17864 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17869 if (!SWIG_IsOK(res1
)) {
17870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17872 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17874 arg2
= wxString_in_helper(obj1
);
17875 if (arg2
== NULL
) SWIG_fail
;
17880 arg3
= wxString_in_helper(obj2
);
17881 if (arg3
== NULL
) SWIG_fail
;
17887 arg4
= wxString_in_helper(obj3
);
17888 if (arg4
== NULL
) SWIG_fail
;
17893 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17894 if (!SWIG_IsOK(ecode5
)) {
17895 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17897 arg5
= static_cast< long >(val5
);
17902 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17906 if (!wxPyCheckForApp()) SWIG_fail
;
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
17909 wxPyEndAllowThreads(__tstate
);
17910 if (PyErr_Occurred()) SWIG_fail
;
17912 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
17943 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17944 PyObject
*resultobj
= 0;
17945 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
17949 PyObject
*swig_obj
[1] ;
17951 if (!args
) SWIG_fail
;
17952 swig_obj
[0] = args
;
17953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
17954 if (!SWIG_IsOK(res1
)) {
17955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17957 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 result
= (arg1
)->GetValue();
17961 wxPyEndAllowThreads(__tstate
);
17962 if (PyErr_Occurred()) SWIG_fail
;
17966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17977 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
= 0;
17979 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
17980 wxString
*arg2
= 0 ;
17983 bool temp2
= false ;
17984 PyObject
* obj0
= 0 ;
17985 PyObject
* obj1
= 0 ;
17986 char * kwnames
[] = {
17987 (char *) "self",(char *) "value", NULL
17990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
17992 if (!SWIG_IsOK(res1
)) {
17993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
17995 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
17997 arg2
= wxString_in_helper(obj1
);
17998 if (arg2
== NULL
) SWIG_fail
;
18002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18003 (arg1
)->SetValue((wxString
const &)*arg2
);
18004 wxPyEndAllowThreads(__tstate
);
18005 if (PyErr_Occurred()) SWIG_fail
;
18007 resultobj
= SWIG_Py_Void();
18022 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18025 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18026 return SWIG_Py_Void();
18029 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18030 return SWIG_Python_InitShadowInstance(args
);
18033 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18034 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18039 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18040 PyObject
*pyobj
= 0;
18044 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18046 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18053 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18054 PyObject
*resultobj
= 0;
18055 wxWindow
*arg1
= (wxWindow
*) 0 ;
18056 wxString
*arg2
= 0 ;
18057 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18058 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18059 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18060 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18061 long arg5
= (long) wxTextEntryDialogStyle
;
18062 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18063 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18064 wxPasswordEntryDialog
*result
= 0 ;
18067 bool temp2
= false ;
18068 bool temp3
= false ;
18069 bool temp4
= false ;
18073 PyObject
* obj0
= 0 ;
18074 PyObject
* obj1
= 0 ;
18075 PyObject
* obj2
= 0 ;
18076 PyObject
* obj3
= 0 ;
18077 PyObject
* obj4
= 0 ;
18078 PyObject
* obj5
= 0 ;
18079 char * kwnames
[] = {
18080 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18085 if (!SWIG_IsOK(res1
)) {
18086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18088 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18090 arg2
= wxString_in_helper(obj1
);
18091 if (arg2
== NULL
) SWIG_fail
;
18096 arg3
= wxString_in_helper(obj2
);
18097 if (arg3
== NULL
) SWIG_fail
;
18103 arg4
= wxString_in_helper(obj3
);
18104 if (arg4
== NULL
) SWIG_fail
;
18109 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18110 if (!SWIG_IsOK(ecode5
)) {
18111 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18113 arg5
= static_cast< long >(val5
);
18118 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18158 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18161 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18162 return SWIG_Py_Void();
18165 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18166 return SWIG_Python_InitShadowInstance(args
);
18169 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18170 PyObject
*resultobj
= 0;
18171 wxFontData
*result
= 0 ;
18173 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18176 result
= (wxFontData
*)new wxFontData();
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18187 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18188 PyObject
*resultobj
= 0;
18189 wxFontData
*arg1
= (wxFontData
*) 0 ;
18192 PyObject
*swig_obj
[1] ;
18194 if (!args
) SWIG_fail
;
18195 swig_obj
[0] = args
;
18196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18197 if (!SWIG_IsOK(res1
)) {
18198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18200 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18205 wxPyEndAllowThreads(__tstate
);
18206 if (PyErr_Occurred()) SWIG_fail
;
18208 resultobj
= SWIG_Py_Void();
18215 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18216 PyObject
*resultobj
= 0;
18217 wxFontData
*arg1
= (wxFontData
*) 0 ;
18223 PyObject
* obj0
= 0 ;
18224 PyObject
* obj1
= 0 ;
18225 char * kwnames
[] = {
18226 (char *) "self",(char *) "enable", NULL
18229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18231 if (!SWIG_IsOK(res1
)) {
18232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18234 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18235 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18236 if (!SWIG_IsOK(ecode2
)) {
18237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18239 arg2
= static_cast< bool >(val2
);
18241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18242 (arg1
)->EnableEffects(arg2
);
18243 wxPyEndAllowThreads(__tstate
);
18244 if (PyErr_Occurred()) SWIG_fail
;
18246 resultobj
= SWIG_Py_Void();
18253 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18254 PyObject
*resultobj
= 0;
18255 wxFontData
*arg1
= (wxFontData
*) 0 ;
18259 PyObject
*swig_obj
[1] ;
18261 if (!args
) SWIG_fail
;
18262 swig_obj
[0] = args
;
18263 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18264 if (!SWIG_IsOK(res1
)) {
18265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18267 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18270 result
= (bool)(arg1
)->GetAllowSymbols();
18271 wxPyEndAllowThreads(__tstate
);
18272 if (PyErr_Occurred()) SWIG_fail
;
18275 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18283 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18284 PyObject
*resultobj
= 0;
18285 wxFontData
*arg1
= (wxFontData
*) 0 ;
18289 PyObject
*swig_obj
[1] ;
18291 if (!args
) SWIG_fail
;
18292 swig_obj
[0] = args
;
18293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18294 if (!SWIG_IsOK(res1
)) {
18295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18297 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 result
= (arg1
)->GetColour();
18301 wxPyEndAllowThreads(__tstate
);
18302 if (PyErr_Occurred()) SWIG_fail
;
18304 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18311 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18312 PyObject
*resultobj
= 0;
18313 wxFontData
*arg1
= (wxFontData
*) 0 ;
18317 PyObject
*swig_obj
[1] ;
18319 if (!args
) SWIG_fail
;
18320 swig_obj
[0] = args
;
18321 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18322 if (!SWIG_IsOK(res1
)) {
18323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18325 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18328 result
= (arg1
)->GetChosenFont();
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18332 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18339 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18340 PyObject
*resultobj
= 0;
18341 wxFontData
*arg1
= (wxFontData
*) 0 ;
18345 PyObject
*swig_obj
[1] ;
18347 if (!args
) SWIG_fail
;
18348 swig_obj
[0] = args
;
18349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18350 if (!SWIG_IsOK(res1
)) {
18351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18353 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18356 result
= (bool)(arg1
)->GetEnableEffects();
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18369 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18370 PyObject
*resultobj
= 0;
18371 wxFontData
*arg1
= (wxFontData
*) 0 ;
18375 PyObject
*swig_obj
[1] ;
18377 if (!args
) SWIG_fail
;
18378 swig_obj
[0] = args
;
18379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18380 if (!SWIG_IsOK(res1
)) {
18381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18383 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18386 result
= (arg1
)->GetInitialFont();
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18397 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18398 PyObject
*resultobj
= 0;
18399 wxFontData
*arg1
= (wxFontData
*) 0 ;
18403 PyObject
*swig_obj
[1] ;
18405 if (!args
) SWIG_fail
;
18406 swig_obj
[0] = args
;
18407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18408 if (!SWIG_IsOK(res1
)) {
18409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18411 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 result
= (bool)(arg1
)->GetShowHelp();
18415 wxPyEndAllowThreads(__tstate
);
18416 if (PyErr_Occurred()) SWIG_fail
;
18419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18427 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18428 PyObject
*resultobj
= 0;
18429 wxFontData
*arg1
= (wxFontData
*) 0 ;
18435 PyObject
* obj0
= 0 ;
18436 PyObject
* obj1
= 0 ;
18437 char * kwnames
[] = {
18438 (char *) "self",(char *) "allowSymbols", NULL
18441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18443 if (!SWIG_IsOK(res1
)) {
18444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18446 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18447 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18448 if (!SWIG_IsOK(ecode2
)) {
18449 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18451 arg2
= static_cast< bool >(val2
);
18453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18454 (arg1
)->SetAllowSymbols(arg2
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 resultobj
= SWIG_Py_Void();
18465 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
= 0;
18467 wxFontData
*arg1
= (wxFontData
*) 0 ;
18473 PyObject
* obj0
= 0 ;
18474 PyObject
* obj1
= 0 ;
18475 char * kwnames
[] = {
18476 (char *) "self",(char *) "font", NULL
18479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18481 if (!SWIG_IsOK(res1
)) {
18482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18484 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18485 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18486 if (!SWIG_IsOK(res2
)) {
18487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18490 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18492 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18495 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18496 wxPyEndAllowThreads(__tstate
);
18497 if (PyErr_Occurred()) SWIG_fail
;
18499 resultobj
= SWIG_Py_Void();
18506 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18507 PyObject
*resultobj
= 0;
18508 wxFontData
*arg1
= (wxFontData
*) 0 ;
18509 wxColour
*arg2
= 0 ;
18513 PyObject
* obj0
= 0 ;
18514 PyObject
* obj1
= 0 ;
18515 char * kwnames
[] = {
18516 (char *) "self",(char *) "colour", NULL
18519 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18520 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18521 if (!SWIG_IsOK(res1
)) {
18522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18524 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18527 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 (arg1
)->SetColour((wxColour
const &)*arg2
);
18532 wxPyEndAllowThreads(__tstate
);
18533 if (PyErr_Occurred()) SWIG_fail
;
18535 resultobj
= SWIG_Py_Void();
18542 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18543 PyObject
*resultobj
= 0;
18544 wxFontData
*arg1
= (wxFontData
*) 0 ;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj1
= 0 ;
18552 char * kwnames
[] = {
18553 (char *) "self",(char *) "font", NULL
18556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18558 if (!SWIG_IsOK(res1
)) {
18559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18561 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18562 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18563 if (!SWIG_IsOK(res2
)) {
18564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18567 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18569 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18572 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18573 wxPyEndAllowThreads(__tstate
);
18574 if (PyErr_Occurred()) SWIG_fail
;
18576 resultobj
= SWIG_Py_Void();
18583 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18584 PyObject
*resultobj
= 0;
18585 wxFontData
*arg1
= (wxFontData
*) 0 ;
18594 PyObject
* obj0
= 0 ;
18595 PyObject
* obj1
= 0 ;
18596 PyObject
* obj2
= 0 ;
18597 char * kwnames
[] = {
18598 (char *) "self",(char *) "min",(char *) "max", NULL
18601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18603 if (!SWIG_IsOK(res1
)) {
18604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18606 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18608 if (!SWIG_IsOK(ecode2
)) {
18609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18611 arg2
= static_cast< int >(val2
);
18612 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18613 if (!SWIG_IsOK(ecode3
)) {
18614 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18616 arg3
= static_cast< int >(val3
);
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 (arg1
)->SetRange(arg2
,arg3
);
18620 wxPyEndAllowThreads(__tstate
);
18621 if (PyErr_Occurred()) SWIG_fail
;
18623 resultobj
= SWIG_Py_Void();
18630 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18631 PyObject
*resultobj
= 0;
18632 wxFontData
*arg1
= (wxFontData
*) 0 ;
18638 PyObject
* obj0
= 0 ;
18639 PyObject
* obj1
= 0 ;
18640 char * kwnames
[] = {
18641 (char *) "self",(char *) "showHelp", NULL
18644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18646 if (!SWIG_IsOK(res1
)) {
18647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18649 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18650 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18651 if (!SWIG_IsOK(ecode2
)) {
18652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18654 arg2
= static_cast< bool >(val2
);
18656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18657 (arg1
)->SetShowHelp(arg2
);
18658 wxPyEndAllowThreads(__tstate
);
18659 if (PyErr_Occurred()) SWIG_fail
;
18661 resultobj
= SWIG_Py_Void();
18668 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18670 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18671 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18672 return SWIG_Py_Void();
18675 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18676 return SWIG_Python_InitShadowInstance(args
);
18679 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18680 PyObject
*resultobj
= 0;
18681 wxWindow
*arg1
= (wxWindow
*) 0 ;
18682 wxFontData
*arg2
= 0 ;
18683 wxFontDialog
*result
= 0 ;
18688 PyObject
* obj0
= 0 ;
18689 PyObject
* obj1
= 0 ;
18690 char * kwnames
[] = {
18691 (char *) "parent",(char *) "data", NULL
18694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18696 if (!SWIG_IsOK(res1
)) {
18697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18699 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18700 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18701 if (!SWIG_IsOK(res2
)) {
18702 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18705 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18707 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18709 if (!wxPyCheckForApp()) SWIG_fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18722 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18723 PyObject
*resultobj
= 0;
18724 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18725 wxFontData
*result
= 0 ;
18728 PyObject
*swig_obj
[1] ;
18730 if (!args
) SWIG_fail
;
18731 swig_obj
[0] = args
;
18732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18733 if (!SWIG_IsOK(res1
)) {
18734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18736 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18741 result
= (wxFontData
*) &_result_ref
;
18743 wxPyEndAllowThreads(__tstate
);
18744 if (PyErr_Occurred()) SWIG_fail
;
18746 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18753 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18755 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18756 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18757 return SWIG_Py_Void();
18760 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18761 return SWIG_Python_InitShadowInstance(args
);
18764 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
= 0;
18766 wxWindow
*arg1
= (wxWindow
*) NULL
;
18767 wxFont
const &arg2_defvalue
= wxNullFont
;
18768 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18769 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18770 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18776 bool temp3
= false ;
18777 PyObject
* obj0
= 0 ;
18778 PyObject
* obj1
= 0 ;
18779 PyObject
* obj2
= 0 ;
18780 char * kwnames
[] = {
18781 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18787 if (!SWIG_IsOK(res1
)) {
18788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18790 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18793 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18794 if (!SWIG_IsOK(res2
)) {
18795 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18798 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18800 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18804 arg3
= wxString_in_helper(obj2
);
18805 if (arg3
== NULL
) SWIG_fail
;
18810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18830 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18831 PyObject
*resultobj
= 0;
18832 wxWindow
*arg1
= (wxWindow
*) 0 ;
18833 wxString
*arg2
= 0 ;
18834 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
18835 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18836 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
18837 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18838 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18839 wxMessageDialog
*result
= 0 ;
18842 bool temp2
= false ;
18843 bool temp3
= false ;
18847 PyObject
* obj0
= 0 ;
18848 PyObject
* obj1
= 0 ;
18849 PyObject
* obj2
= 0 ;
18850 PyObject
* obj3
= 0 ;
18851 PyObject
* obj4
= 0 ;
18852 char * kwnames
[] = {
18853 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18858 if (!SWIG_IsOK(res1
)) {
18859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18861 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18863 arg2
= wxString_in_helper(obj1
);
18864 if (arg2
== NULL
) SWIG_fail
;
18869 arg3
= wxString_in_helper(obj2
);
18870 if (arg3
== NULL
) SWIG_fail
;
18875 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
18876 if (!SWIG_IsOK(ecode4
)) {
18877 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18879 arg4
= static_cast< long >(val4
);
18884 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18888 if (!wxPyCheckForApp()) SWIG_fail
;
18889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18890 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
18917 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18919 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18920 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
18921 return SWIG_Py_Void();
18924 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18925 return SWIG_Python_InitShadowInstance(args
);
18928 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18929 PyObject
*resultobj
= 0;
18930 wxString
*arg1
= 0 ;
18931 wxString
*arg2
= 0 ;
18932 int arg3
= (int) 100 ;
18933 wxWindow
*arg4
= (wxWindow
*) NULL
;
18934 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
18935 wxProgressDialog
*result
= 0 ;
18936 bool temp1
= false ;
18937 bool temp2
= false ;
18944 PyObject
* obj0
= 0 ;
18945 PyObject
* obj1
= 0 ;
18946 PyObject
* obj2
= 0 ;
18947 PyObject
* obj3
= 0 ;
18948 PyObject
* obj4
= 0 ;
18949 char * kwnames
[] = {
18950 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
18953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18955 arg1
= wxString_in_helper(obj0
);
18956 if (arg1
== NULL
) SWIG_fail
;
18960 arg2
= wxString_in_helper(obj1
);
18961 if (arg2
== NULL
) SWIG_fail
;
18965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18966 if (!SWIG_IsOK(ecode3
)) {
18967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
18969 arg3
= static_cast< int >(val3
);
18972 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18973 if (!SWIG_IsOK(res4
)) {
18974 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
18976 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
18979 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
18980 if (!SWIG_IsOK(ecode5
)) {
18981 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
18983 arg5
= static_cast< int >(val5
);
18986 if (!wxPyCheckForApp()) SWIG_fail
;
18987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18988 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19015 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
= 0;
19017 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19019 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19020 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19026 bool temp3
= false ;
19027 PyObject
* obj0
= 0 ;
19028 PyObject
* obj1
= 0 ;
19029 PyObject
* obj2
= 0 ;
19030 char * kwnames
[] = {
19031 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19036 if (!SWIG_IsOK(res1
)) {
19037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19039 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19040 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19041 if (!SWIG_IsOK(ecode2
)) {
19042 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19044 arg2
= static_cast< int >(val2
);
19047 arg3
= wxString_in_helper(obj2
);
19048 if (arg3
== NULL
) SWIG_fail
;
19053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19054 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19075 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19076 PyObject
*resultobj
= 0;
19077 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19080 PyObject
*swig_obj
[1] ;
19082 if (!args
) SWIG_fail
;
19083 swig_obj
[0] = args
;
19084 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19085 if (!SWIG_IsOK(res1
)) {
19086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19088 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19095 resultobj
= SWIG_Py_Void();
19102 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19105 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19106 return SWIG_Py_Void();
19109 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19110 return SWIG_Python_InitShadowInstance(args
);
19113 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19114 PyObject
*resultobj
= 0;
19115 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19116 int arg2
= (int) 0 ;
19117 wxFindDialogEvent
*result
= 0 ;
19122 PyObject
* obj0
= 0 ;
19123 PyObject
* obj1
= 0 ;
19124 char * kwnames
[] = {
19125 (char *) "commandType",(char *) "id", NULL
19128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19130 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19131 if (!SWIG_IsOK(ecode1
)) {
19132 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19134 arg1
= static_cast< wxEventType
>(val1
);
19137 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19138 if (!SWIG_IsOK(ecode2
)) {
19139 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19141 arg2
= static_cast< int >(val2
);
19144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19145 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19146 wxPyEndAllowThreads(__tstate
);
19147 if (PyErr_Occurred()) SWIG_fail
;
19149 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19156 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19157 PyObject
*resultobj
= 0;
19158 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19162 PyObject
*swig_obj
[1] ;
19164 if (!args
) SWIG_fail
;
19165 swig_obj
[0] = args
;
19166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19167 if (!SWIG_IsOK(res1
)) {
19168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19170 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 result
= (int)(arg1
)->GetFlags();
19174 wxPyEndAllowThreads(__tstate
);
19175 if (PyErr_Occurred()) SWIG_fail
;
19177 resultobj
= SWIG_From_int(static_cast< int >(result
));
19184 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19185 PyObject
*resultobj
= 0;
19186 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19187 wxString
*result
= 0 ;
19190 PyObject
*swig_obj
[1] ;
19192 if (!args
) SWIG_fail
;
19193 swig_obj
[0] = args
;
19194 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19195 if (!SWIG_IsOK(res1
)) {
19196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19198 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 wxString
const &_result_ref
= (arg1
)->GetFindString();
19203 result
= (wxString
*) &_result_ref
;
19205 wxPyEndAllowThreads(__tstate
);
19206 if (PyErr_Occurred()) SWIG_fail
;
19210 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19212 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19221 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19222 PyObject
*resultobj
= 0;
19223 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19224 wxString
*result
= 0 ;
19227 PyObject
*swig_obj
[1] ;
19229 if (!args
) SWIG_fail
;
19230 swig_obj
[0] = args
;
19231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19232 if (!SWIG_IsOK(res1
)) {
19233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19235 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19240 result
= (wxString
*) &_result_ref
;
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19247 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19249 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19258 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19259 PyObject
*resultobj
= 0;
19260 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19261 wxFindReplaceDialog
*result
= 0 ;
19264 PyObject
*swig_obj
[1] ;
19266 if (!args
) SWIG_fail
;
19267 swig_obj
[0] = args
;
19268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19269 if (!SWIG_IsOK(res1
)) {
19270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19272 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19275 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19286 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
= 0;
19288 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19294 PyObject
* obj0
= 0 ;
19295 PyObject
* obj1
= 0 ;
19296 char * kwnames
[] = {
19297 (char *) "self",(char *) "flags", NULL
19300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19302 if (!SWIG_IsOK(res1
)) {
19303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19305 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19306 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19307 if (!SWIG_IsOK(ecode2
)) {
19308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19310 arg2
= static_cast< int >(val2
);
19312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19313 (arg1
)->SetFlags(arg2
);
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19317 resultobj
= SWIG_Py_Void();
19324 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
= 0;
19326 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19327 wxString
*arg2
= 0 ;
19330 bool temp2
= false ;
19331 PyObject
* obj0
= 0 ;
19332 PyObject
* obj1
= 0 ;
19333 char * kwnames
[] = {
19334 (char *) "self",(char *) "str", NULL
19337 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19338 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19339 if (!SWIG_IsOK(res1
)) {
19340 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19342 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19344 arg2
= wxString_in_helper(obj1
);
19345 if (arg2
== NULL
) SWIG_fail
;
19349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19350 (arg1
)->SetFindString((wxString
const &)*arg2
);
19351 wxPyEndAllowThreads(__tstate
);
19352 if (PyErr_Occurred()) SWIG_fail
;
19354 resultobj
= SWIG_Py_Void();
19369 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19370 PyObject
*resultobj
= 0;
19371 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19372 wxString
*arg2
= 0 ;
19375 bool temp2
= false ;
19376 PyObject
* obj0
= 0 ;
19377 PyObject
* obj1
= 0 ;
19378 char * kwnames
[] = {
19379 (char *) "self",(char *) "str", NULL
19382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19384 if (!SWIG_IsOK(res1
)) {
19385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19387 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19389 arg2
= wxString_in_helper(obj1
);
19390 if (arg2
== NULL
) SWIG_fail
;
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 resultobj
= SWIG_Py_Void();
19414 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19416 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19417 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19418 return SWIG_Py_Void();
19421 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19422 return SWIG_Python_InitShadowInstance(args
);
19425 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19426 PyObject
*resultobj
= 0;
19427 int arg1
= (int) 0 ;
19428 wxFindReplaceData
*result
= 0 ;
19431 PyObject
* obj0
= 0 ;
19432 char * kwnames
[] = {
19433 (char *) "flags", NULL
19436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19438 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19439 if (!SWIG_IsOK(ecode1
)) {
19440 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19442 arg1
= static_cast< int >(val1
);
19445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19446 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19457 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19458 PyObject
*resultobj
= 0;
19459 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19462 PyObject
*swig_obj
[1] ;
19464 if (!args
) SWIG_fail
;
19465 swig_obj
[0] = args
;
19466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19467 if (!SWIG_IsOK(res1
)) {
19468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19470 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19475 wxPyEndAllowThreads(__tstate
);
19476 if (PyErr_Occurred()) SWIG_fail
;
19478 resultobj
= SWIG_Py_Void();
19485 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19486 PyObject
*resultobj
= 0;
19487 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19488 wxString
*result
= 0 ;
19491 PyObject
*swig_obj
[1] ;
19493 if (!args
) SWIG_fail
;
19494 swig_obj
[0] = args
;
19495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19496 if (!SWIG_IsOK(res1
)) {
19497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19499 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19503 wxString
const &_result_ref
= (arg1
)->GetFindString();
19504 result
= (wxString
*) &_result_ref
;
19506 wxPyEndAllowThreads(__tstate
);
19507 if (PyErr_Occurred()) SWIG_fail
;
19511 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19513 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19522 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19523 PyObject
*resultobj
= 0;
19524 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19525 wxString
*result
= 0 ;
19528 PyObject
*swig_obj
[1] ;
19530 if (!args
) SWIG_fail
;
19531 swig_obj
[0] = args
;
19532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19533 if (!SWIG_IsOK(res1
)) {
19534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19536 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19540 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19541 result
= (wxString
*) &_result_ref
;
19543 wxPyEndAllowThreads(__tstate
);
19544 if (PyErr_Occurred()) SWIG_fail
;
19548 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19550 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19559 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19560 PyObject
*resultobj
= 0;
19561 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19565 PyObject
*swig_obj
[1] ;
19567 if (!args
) SWIG_fail
;
19568 swig_obj
[0] = args
;
19569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19570 if (!SWIG_IsOK(res1
)) {
19571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19573 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19576 result
= (int)(arg1
)->GetFlags();
19577 wxPyEndAllowThreads(__tstate
);
19578 if (PyErr_Occurred()) SWIG_fail
;
19580 resultobj
= SWIG_From_int(static_cast< int >(result
));
19587 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
= 0;
19589 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19595 PyObject
* obj0
= 0 ;
19596 PyObject
* obj1
= 0 ;
19597 char * kwnames
[] = {
19598 (char *) "self",(char *) "flags", NULL
19601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19603 if (!SWIG_IsOK(res1
)) {
19604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19606 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19608 if (!SWIG_IsOK(ecode2
)) {
19609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19611 arg2
= static_cast< int >(val2
);
19613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19614 (arg1
)->SetFlags(arg2
);
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 resultobj
= SWIG_Py_Void();
19625 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
= 0;
19627 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19628 wxString
*arg2
= 0 ;
19631 bool temp2
= false ;
19632 PyObject
* obj0
= 0 ;
19633 PyObject
* obj1
= 0 ;
19634 char * kwnames
[] = {
19635 (char *) "self",(char *) "str", NULL
19638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19640 if (!SWIG_IsOK(res1
)) {
19641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19643 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19645 arg2
= wxString_in_helper(obj1
);
19646 if (arg2
== NULL
) SWIG_fail
;
19650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19651 (arg1
)->SetFindString((wxString
const &)*arg2
);
19652 wxPyEndAllowThreads(__tstate
);
19653 if (PyErr_Occurred()) SWIG_fail
;
19655 resultobj
= SWIG_Py_Void();
19670 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19671 PyObject
*resultobj
= 0;
19672 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19673 wxString
*arg2
= 0 ;
19676 bool temp2
= false ;
19677 PyObject
* obj0
= 0 ;
19678 PyObject
* obj1
= 0 ;
19679 char * kwnames
[] = {
19680 (char *) "self",(char *) "str", NULL
19683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19685 if (!SWIG_IsOK(res1
)) {
19686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19688 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19690 arg2
= wxString_in_helper(obj1
);
19691 if (arg2
== NULL
) SWIG_fail
;
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19696 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19697 wxPyEndAllowThreads(__tstate
);
19698 if (PyErr_Occurred()) SWIG_fail
;
19700 resultobj
= SWIG_Py_Void();
19715 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19717 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19718 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19719 return SWIG_Py_Void();
19722 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19723 return SWIG_Python_InitShadowInstance(args
);
19726 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19727 PyObject
*resultobj
= 0;
19728 wxWindow
*arg1
= (wxWindow
*) 0 ;
19729 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19730 wxString
*arg3
= 0 ;
19731 int arg4
= (int) 0 ;
19732 wxFindReplaceDialog
*result
= 0 ;
19737 bool temp3
= false ;
19740 PyObject
* obj0
= 0 ;
19741 PyObject
* obj1
= 0 ;
19742 PyObject
* obj2
= 0 ;
19743 PyObject
* obj3
= 0 ;
19744 char * kwnames
[] = {
19745 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19750 if (!SWIG_IsOK(res1
)) {
19751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19753 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19754 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19755 if (!SWIG_IsOK(res2
)) {
19756 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19758 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19760 arg3
= wxString_in_helper(obj2
);
19761 if (arg3
== NULL
) SWIG_fail
;
19765 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19766 if (!SWIG_IsOK(ecode4
)) {
19767 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19769 arg4
= static_cast< int >(val4
);
19772 if (!wxPyCheckForApp()) SWIG_fail
;
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19793 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19794 PyObject
*resultobj
= 0;
19795 wxFindReplaceDialog
*result
= 0 ;
19797 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19799 if (!wxPyCheckForApp()) SWIG_fail
;
19800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19801 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
19812 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
= 0;
19814 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19815 wxWindow
*arg2
= (wxWindow
*) 0 ;
19816 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
19817 wxString
*arg4
= 0 ;
19818 int arg5
= (int) 0 ;
19826 bool temp4
= false ;
19829 PyObject
* obj0
= 0 ;
19830 PyObject
* obj1
= 0 ;
19831 PyObject
* obj2
= 0 ;
19832 PyObject
* obj3
= 0 ;
19833 PyObject
* obj4
= 0 ;
19834 char * kwnames
[] = {
19835 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19838 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19839 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19840 if (!SWIG_IsOK(res1
)) {
19841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19843 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19844 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19845 if (!SWIG_IsOK(res2
)) {
19846 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19848 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19849 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19850 if (!SWIG_IsOK(res3
)) {
19851 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19853 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
19855 arg4
= wxString_in_helper(obj3
);
19856 if (arg4
== NULL
) SWIG_fail
;
19860 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19861 if (!SWIG_IsOK(ecode5
)) {
19862 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19864 arg5
= static_cast< int >(val5
);
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
19869 wxPyEndAllowThreads(__tstate
);
19870 if (PyErr_Occurred()) SWIG_fail
;
19873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19889 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19890 PyObject
*resultobj
= 0;
19891 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19892 wxFindReplaceData
*result
= 0 ;
19895 PyObject
*swig_obj
[1] ;
19897 if (!args
) SWIG_fail
;
19898 swig_obj
[0] = args
;
19899 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19900 if (!SWIG_IsOK(res1
)) {
19901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19903 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19906 result
= (wxFindReplaceData
*)(arg1
)->GetData();
19907 wxPyEndAllowThreads(__tstate
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19917 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
= 0;
19919 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19920 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19925 PyObject
* obj0
= 0 ;
19926 PyObject
* obj1
= 0 ;
19927 char * kwnames
[] = {
19928 (char *) "self",(char *) "data", NULL
19931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19933 if (!SWIG_IsOK(res1
)) {
19934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19936 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19937 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19938 if (!SWIG_IsOK(res2
)) {
19939 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19941 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19944 (arg1
)->SetData(arg2
);
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19948 resultobj
= SWIG_Py_Void();
19955 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19957 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19958 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
19959 return SWIG_Py_Void();
19962 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19963 return SWIG_Python_InitShadowInstance(args
);
19966 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
= 0;
19968 wxWindow
*arg1
= (wxWindow
*) 0 ;
19969 int arg2
= (int) (int)-1 ;
19970 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19971 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19972 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19973 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19974 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19975 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19976 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
19977 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
19978 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19979 wxMDIParentFrame
*result
= 0 ;
19984 bool temp3
= false ;
19989 bool temp7
= false ;
19990 PyObject
* obj0
= 0 ;
19991 PyObject
* obj1
= 0 ;
19992 PyObject
* obj2
= 0 ;
19993 PyObject
* obj3
= 0 ;
19994 PyObject
* obj4
= 0 ;
19995 PyObject
* obj5
= 0 ;
19996 PyObject
* obj6
= 0 ;
19997 char * kwnames
[] = {
19998 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20003 if (!SWIG_IsOK(res1
)) {
20004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20006 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20008 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20009 if (!SWIG_IsOK(ecode2
)) {
20010 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20012 arg2
= static_cast< int >(val2
);
20016 arg3
= wxString_in_helper(obj2
);
20017 if (arg3
== NULL
) SWIG_fail
;
20024 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20030 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20034 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20035 if (!SWIG_IsOK(ecode6
)) {
20036 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20038 arg6
= static_cast< long >(val6
);
20042 arg7
= wxString_in_helper(obj6
);
20043 if (arg7
== NULL
) SWIG_fail
;
20048 if (!wxPyCheckForApp()) SWIG_fail
;
20049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20050 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20077 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20078 PyObject
*resultobj
= 0;
20079 wxMDIParentFrame
*result
= 0 ;
20081 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20083 if (!wxPyCheckForApp()) SWIG_fail
;
20084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20085 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20096 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20097 PyObject
*resultobj
= 0;
20098 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20099 wxWindow
*arg2
= (wxWindow
*) 0 ;
20100 int arg3
= (int) (int)-1 ;
20101 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20102 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20103 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20104 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20105 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20106 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20107 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20108 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20109 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20117 bool temp4
= false ;
20122 bool temp8
= false ;
20123 PyObject
* obj0
= 0 ;
20124 PyObject
* obj1
= 0 ;
20125 PyObject
* obj2
= 0 ;
20126 PyObject
* obj3
= 0 ;
20127 PyObject
* obj4
= 0 ;
20128 PyObject
* obj5
= 0 ;
20129 PyObject
* obj6
= 0 ;
20130 PyObject
* obj7
= 0 ;
20131 char * kwnames
[] = {
20132 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20137 if (!SWIG_IsOK(res1
)) {
20138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20140 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20141 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20142 if (!SWIG_IsOK(res2
)) {
20143 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20145 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20148 if (!SWIG_IsOK(ecode3
)) {
20149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20151 arg3
= static_cast< int >(val3
);
20155 arg4
= wxString_in_helper(obj3
);
20156 if (arg4
== NULL
) SWIG_fail
;
20163 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20169 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20173 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20174 if (!SWIG_IsOK(ecode7
)) {
20175 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20177 arg7
= static_cast< long >(val7
);
20181 arg8
= wxString_in_helper(obj7
);
20182 if (arg8
== NULL
) SWIG_fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20189 wxPyEndAllowThreads(__tstate
);
20190 if (PyErr_Occurred()) SWIG_fail
;
20193 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20217 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20218 PyObject
*resultobj
= 0;
20219 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20222 PyObject
*swig_obj
[1] ;
20224 if (!args
) SWIG_fail
;
20225 swig_obj
[0] = args
;
20226 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20227 if (!SWIG_IsOK(res1
)) {
20228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20230 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 (arg1
)->ActivateNext();
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 resultobj
= SWIG_Py_Void();
20244 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20245 PyObject
*resultobj
= 0;
20246 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20249 PyObject
*swig_obj
[1] ;
20251 if (!args
) SWIG_fail
;
20252 swig_obj
[0] = args
;
20253 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20254 if (!SWIG_IsOK(res1
)) {
20255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20257 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 (arg1
)->ActivatePrevious();
20261 wxPyEndAllowThreads(__tstate
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20264 resultobj
= SWIG_Py_Void();
20271 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20272 PyObject
*resultobj
= 0;
20273 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20276 PyObject
*swig_obj
[1] ;
20278 if (!args
) SWIG_fail
;
20279 swig_obj
[0] = args
;
20280 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20281 if (!SWIG_IsOK(res1
)) {
20282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20284 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20287 (arg1
)->ArrangeIcons();
20288 wxPyEndAllowThreads(__tstate
);
20289 if (PyErr_Occurred()) SWIG_fail
;
20291 resultobj
= SWIG_Py_Void();
20298 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20299 PyObject
*resultobj
= 0;
20300 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20303 PyObject
*swig_obj
[1] ;
20305 if (!args
) SWIG_fail
;
20306 swig_obj
[0] = args
;
20307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20308 if (!SWIG_IsOK(res1
)) {
20309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20311 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_Py_Void();
20325 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20326 PyObject
*resultobj
= 0;
20327 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20328 wxMDIChildFrame
*result
= 0 ;
20331 PyObject
*swig_obj
[1] ;
20333 if (!args
) SWIG_fail
;
20334 swig_obj
[0] = args
;
20335 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20336 if (!SWIG_IsOK(res1
)) {
20337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20339 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20342 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20343 wxPyEndAllowThreads(__tstate
);
20344 if (PyErr_Occurred()) SWIG_fail
;
20347 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20355 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20356 PyObject
*resultobj
= 0;
20357 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20358 wxMDIClientWindow
*result
= 0 ;
20361 PyObject
*swig_obj
[1] ;
20363 if (!args
) SWIG_fail
;
20364 swig_obj
[0] = args
;
20365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20366 if (!SWIG_IsOK(res1
)) {
20367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20369 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20373 wxPyEndAllowThreads(__tstate
);
20374 if (PyErr_Occurred()) SWIG_fail
;
20377 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20385 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20386 PyObject
*resultobj
= 0;
20387 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20388 wxWindow
*result
= 0 ;
20391 PyObject
*swig_obj
[1] ;
20393 if (!args
) SWIG_fail
;
20394 swig_obj
[0] = args
;
20395 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20396 if (!SWIG_IsOK(res1
)) {
20397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20399 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 result
= (wxWindow
*)(arg1
)->GetToolBar();
20403 wxPyEndAllowThreads(__tstate
);
20404 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= wxPyMake_wxObject(result
, 0);
20415 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20416 PyObject
*resultobj
= 0;
20417 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20418 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20423 PyObject
* obj0
= 0 ;
20424 PyObject
* obj1
= 0 ;
20425 char * kwnames
[] = {
20426 (char *) "self",(char *) "orient", NULL
20429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20431 if (!SWIG_IsOK(res1
)) {
20432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20434 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20436 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20437 if (!SWIG_IsOK(ecode2
)) {
20438 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20440 arg2
= static_cast< wxOrientation
>(val2
);
20443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20444 (arg1
)->Tile(arg2
);
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20448 resultobj
= SWIG_Py_Void();
20455 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20457 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20458 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20459 return SWIG_Py_Void();
20462 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20463 return SWIG_Python_InitShadowInstance(args
);
20466 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20467 PyObject
*resultobj
= 0;
20468 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20469 int arg2
= (int) (int)-1 ;
20470 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20471 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20472 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20473 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20474 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20475 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20476 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20477 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20478 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20479 wxMDIChildFrame
*result
= 0 ;
20484 bool temp3
= false ;
20489 bool temp7
= false ;
20490 PyObject
* obj0
= 0 ;
20491 PyObject
* obj1
= 0 ;
20492 PyObject
* obj2
= 0 ;
20493 PyObject
* obj3
= 0 ;
20494 PyObject
* obj4
= 0 ;
20495 PyObject
* obj5
= 0 ;
20496 PyObject
* obj6
= 0 ;
20497 char * kwnames
[] = {
20498 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20501 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20502 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20503 if (!SWIG_IsOK(res1
)) {
20504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20506 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20508 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20509 if (!SWIG_IsOK(ecode2
)) {
20510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20512 arg2
= static_cast< int >(val2
);
20516 arg3
= wxString_in_helper(obj2
);
20517 if (arg3
== NULL
) SWIG_fail
;
20524 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20530 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20534 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20535 if (!SWIG_IsOK(ecode6
)) {
20536 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20538 arg6
= static_cast< long >(val6
);
20542 arg7
= wxString_in_helper(obj6
);
20543 if (arg7
== NULL
) SWIG_fail
;
20548 if (!wxPyCheckForApp()) SWIG_fail
;
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20577 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20578 PyObject
*resultobj
= 0;
20579 wxMDIChildFrame
*result
= 0 ;
20581 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20583 if (!wxPyCheckForApp()) SWIG_fail
;
20584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20585 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20596 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
= 0;
20598 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20599 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20600 int arg3
= (int) (int)-1 ;
20601 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20602 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20603 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20604 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20605 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20606 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20607 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20608 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20609 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20617 bool temp4
= false ;
20622 bool temp8
= false ;
20623 PyObject
* obj0
= 0 ;
20624 PyObject
* obj1
= 0 ;
20625 PyObject
* obj2
= 0 ;
20626 PyObject
* obj3
= 0 ;
20627 PyObject
* obj4
= 0 ;
20628 PyObject
* obj5
= 0 ;
20629 PyObject
* obj6
= 0 ;
20630 PyObject
* obj7
= 0 ;
20631 char * kwnames
[] = {
20632 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20637 if (!SWIG_IsOK(res1
)) {
20638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20640 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20641 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20642 if (!SWIG_IsOK(res2
)) {
20643 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20645 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20647 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20648 if (!SWIG_IsOK(ecode3
)) {
20649 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20651 arg3
= static_cast< int >(val3
);
20655 arg4
= wxString_in_helper(obj3
);
20656 if (arg4
== NULL
) SWIG_fail
;
20663 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20669 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20673 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20674 if (!SWIG_IsOK(ecode7
)) {
20675 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20677 arg7
= static_cast< long >(val7
);
20681 arg8
= wxString_in_helper(obj7
);
20682 if (arg8
== NULL
) SWIG_fail
;
20687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20688 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20717 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20718 PyObject
*resultobj
= 0;
20719 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20722 PyObject
*swig_obj
[1] ;
20724 if (!args
) SWIG_fail
;
20725 swig_obj
[0] = args
;
20726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20727 if (!SWIG_IsOK(res1
)) {
20728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20730 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20733 (arg1
)->Activate();
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20737 resultobj
= SWIG_Py_Void();
20744 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20747 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20748 return SWIG_Py_Void();
20751 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20752 return SWIG_Python_InitShadowInstance(args
);
20755 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20756 PyObject
*resultobj
= 0;
20757 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20758 long arg2
= (long) 0 ;
20759 wxMDIClientWindow
*result
= 0 ;
20764 PyObject
* obj0
= 0 ;
20765 PyObject
* obj1
= 0 ;
20766 char * kwnames
[] = {
20767 (char *) "parent",(char *) "style", NULL
20770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20772 if (!SWIG_IsOK(res1
)) {
20773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20775 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20777 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20778 if (!SWIG_IsOK(ecode2
)) {
20779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20781 arg2
= static_cast< long >(val2
);
20784 if (!wxPyCheckForApp()) SWIG_fail
;
20785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20786 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
20797 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20798 PyObject
*resultobj
= 0;
20799 wxMDIClientWindow
*result
= 0 ;
20801 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
20803 if (!wxPyCheckForApp()) SWIG_fail
;
20804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20805 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
20806 wxPyEndAllowThreads(__tstate
);
20807 if (PyErr_Occurred()) SWIG_fail
;
20809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
20816 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20817 PyObject
*resultobj
= 0;
20818 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
20819 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20820 long arg3
= (long) 0 ;
20828 PyObject
* obj0
= 0 ;
20829 PyObject
* obj1
= 0 ;
20830 PyObject
* obj2
= 0 ;
20831 char * kwnames
[] = {
20832 (char *) "self",(char *) "parent",(char *) "style", NULL
20835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
20837 if (!SWIG_IsOK(res1
)) {
20838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20840 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
20841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20842 if (!SWIG_IsOK(res2
)) {
20843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20845 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20847 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20848 if (!SWIG_IsOK(ecode3
)) {
20849 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20851 arg3
= static_cast< long >(val3
);
20854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20855 result
= (bool)(arg1
)->Create(arg2
,arg3
);
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20868 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20870 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20871 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
20872 return SWIG_Py_Void();
20875 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20876 return SWIG_Python_InitShadowInstance(args
);
20879 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20880 PyObject
*resultobj
= 0;
20881 wxWindow
*arg1
= (wxWindow
*) 0 ;
20882 int arg2
= (int) (int)-1 ;
20883 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20884 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20885 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20886 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20887 long arg5
= (long) 0 ;
20888 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20889 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20890 wxPyWindow
*result
= 0 ;
20899 bool temp6
= false ;
20900 PyObject
* obj0
= 0 ;
20901 PyObject
* obj1
= 0 ;
20902 PyObject
* obj2
= 0 ;
20903 PyObject
* obj3
= 0 ;
20904 PyObject
* obj4
= 0 ;
20905 PyObject
* obj5
= 0 ;
20906 char * kwnames
[] = {
20907 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20910 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20911 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20912 if (!SWIG_IsOK(res1
)) {
20913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
20915 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20918 if (!SWIG_IsOK(ecode2
)) {
20919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
20921 arg2
= static_cast< int >(val2
);
20926 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20932 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20936 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
20937 if (!SWIG_IsOK(ecode5
)) {
20938 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
20940 arg5
= static_cast< long >(val5
);
20944 arg6
= wxString_in_helper(obj5
);
20945 if (arg6
== NULL
) SWIG_fail
;
20950 if (!wxPyCheckForApp()) SWIG_fail
;
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20952 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20953 wxPyEndAllowThreads(__tstate
);
20954 if (PyErr_Occurred()) SWIG_fail
;
20956 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
20971 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20972 PyObject
*resultobj
= 0;
20973 wxPyWindow
*result
= 0 ;
20975 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
20977 if (!wxPyCheckForApp()) SWIG_fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= (wxPyWindow
*)new wxPyWindow();
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
20990 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
= 0;
20992 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
20993 PyObject
*arg2
= (PyObject
*) 0 ;
20994 PyObject
*arg3
= (PyObject
*) 0 ;
20997 PyObject
* obj0
= 0 ;
20998 PyObject
* obj1
= 0 ;
20999 PyObject
* obj2
= 0 ;
21000 char * kwnames
[] = {
21001 (char *) "self",(char *) "self",(char *) "_class", NULL
21004 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21005 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21006 if (!SWIG_IsOK(res1
)) {
21007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21009 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21014 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 resultobj
= SWIG_Py_Void();
21025 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21026 PyObject
*resultobj
= 0;
21027 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21032 PyObject
* obj0
= 0 ;
21033 PyObject
* obj1
= 0 ;
21034 char * kwnames
[] = {
21035 (char *) "self",(char *) "size", NULL
21038 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21039 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21040 if (!SWIG_IsOK(res1
)) {
21041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21043 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21046 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21050 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21051 wxPyEndAllowThreads(__tstate
);
21052 if (PyErr_Occurred()) SWIG_fail
;
21054 resultobj
= SWIG_Py_Void();
21061 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21062 PyObject
*resultobj
= 0;
21063 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21064 wxDC
*arg2
= (wxDC
*) 0 ;
21070 PyObject
* obj0
= 0 ;
21071 PyObject
* obj1
= 0 ;
21072 char * kwnames
[] = {
21073 (char *) "self",(char *) "dc", NULL
21076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21078 if (!SWIG_IsOK(res1
)) {
21079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21081 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21082 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21083 if (!SWIG_IsOK(res2
)) {
21084 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21086 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21089 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21090 wxPyEndAllowThreads(__tstate
);
21091 if (PyErr_Occurred()) SWIG_fail
;
21094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21102 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
= 0;
21104 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21119 PyObject
* obj0
= 0 ;
21120 PyObject
* obj1
= 0 ;
21121 PyObject
* obj2
= 0 ;
21122 PyObject
* obj3
= 0 ;
21123 PyObject
* obj4
= 0 ;
21124 char * kwnames
[] = {
21125 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21128 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21129 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21130 if (!SWIG_IsOK(res1
)) {
21131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21133 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21134 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21135 if (!SWIG_IsOK(ecode2
)) {
21136 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21138 arg2
= static_cast< int >(val2
);
21139 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21140 if (!SWIG_IsOK(ecode3
)) {
21141 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21143 arg3
= static_cast< int >(val3
);
21144 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21145 if (!SWIG_IsOK(ecode4
)) {
21146 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21148 arg4
= static_cast< int >(val4
);
21149 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21150 if (!SWIG_IsOK(ecode5
)) {
21151 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21153 arg5
= static_cast< int >(val5
);
21155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21156 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21157 wxPyEndAllowThreads(__tstate
);
21158 if (PyErr_Occurred()) SWIG_fail
;
21160 resultobj
= SWIG_Py_Void();
21167 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21168 PyObject
*resultobj
= 0;
21169 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21174 int arg6
= (int) wxSIZE_AUTO
;
21187 PyObject
* obj0
= 0 ;
21188 PyObject
* obj1
= 0 ;
21189 PyObject
* obj2
= 0 ;
21190 PyObject
* obj3
= 0 ;
21191 PyObject
* obj4
= 0 ;
21192 PyObject
* obj5
= 0 ;
21193 char * kwnames
[] = {
21194 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21199 if (!SWIG_IsOK(res1
)) {
21200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21202 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21204 if (!SWIG_IsOK(ecode2
)) {
21205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21207 arg2
= static_cast< int >(val2
);
21208 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21209 if (!SWIG_IsOK(ecode3
)) {
21210 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21212 arg3
= static_cast< int >(val3
);
21213 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21214 if (!SWIG_IsOK(ecode4
)) {
21215 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21217 arg4
= static_cast< int >(val4
);
21218 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21219 if (!SWIG_IsOK(ecode5
)) {
21220 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21222 arg5
= static_cast< int >(val5
);
21224 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21225 if (!SWIG_IsOK(ecode6
)) {
21226 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21228 arg6
= static_cast< int >(val6
);
21231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= SWIG_Py_Void();
21243 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21244 PyObject
*resultobj
= 0;
21245 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 PyObject
* obj1
= 0 ;
21256 PyObject
* obj2
= 0 ;
21257 char * kwnames
[] = {
21258 (char *) "self",(char *) "width",(char *) "height", NULL
21261 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21262 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21263 if (!SWIG_IsOK(res1
)) {
21264 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21266 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21267 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21268 if (!SWIG_IsOK(ecode2
)) {
21269 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21271 arg2
= static_cast< int >(val2
);
21272 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21273 if (!SWIG_IsOK(ecode3
)) {
21274 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21276 arg3
= static_cast< int >(val3
);
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 (arg1
)->DoSetClientSize(arg2
,arg3
);
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 resultobj
= SWIG_Py_Void();
21290 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
= 0;
21292 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21301 PyObject
* obj0
= 0 ;
21302 PyObject
* obj1
= 0 ;
21303 PyObject
* obj2
= 0 ;
21304 char * kwnames
[] = {
21305 (char *) "self",(char *) "x",(char *) "y", NULL
21308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21310 if (!SWIG_IsOK(res1
)) {
21311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21313 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21314 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21315 if (!SWIG_IsOK(ecode2
)) {
21316 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21318 arg2
= static_cast< int >(val2
);
21319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21320 if (!SWIG_IsOK(ecode3
)) {
21321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21323 arg3
= static_cast< int >(val3
);
21325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21326 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21327 wxPyEndAllowThreads(__tstate
);
21328 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= SWIG_Py_Void();
21337 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21338 PyObject
*resultobj
= 0;
21339 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21340 int *arg2
= (int *) 0 ;
21341 int *arg3
= (int *) 0 ;
21345 int res2
= SWIG_TMPOBJ
;
21347 int res3
= SWIG_TMPOBJ
;
21348 PyObject
*swig_obj
[1] ;
21352 if (!args
) SWIG_fail
;
21353 swig_obj
[0] = args
;
21354 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21355 if (!SWIG_IsOK(res1
)) {
21356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21358 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21361 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21362 wxPyEndAllowThreads(__tstate
);
21363 if (PyErr_Occurred()) SWIG_fail
;
21365 resultobj
= SWIG_Py_Void();
21366 if (SWIG_IsTmpObj(res2
)) {
21367 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21369 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21370 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21372 if (SWIG_IsTmpObj(res3
)) {
21373 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21375 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21376 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21384 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21385 PyObject
*resultobj
= 0;
21386 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21387 int *arg2
= (int *) 0 ;
21388 int *arg3
= (int *) 0 ;
21392 int res2
= SWIG_TMPOBJ
;
21394 int res3
= SWIG_TMPOBJ
;
21395 PyObject
*swig_obj
[1] ;
21399 if (!args
) SWIG_fail
;
21400 swig_obj
[0] = args
;
21401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21402 if (!SWIG_IsOK(res1
)) {
21403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21405 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 resultobj
= SWIG_Py_Void();
21413 if (SWIG_IsTmpObj(res2
)) {
21414 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21416 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21417 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21419 if (SWIG_IsTmpObj(res3
)) {
21420 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21422 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21423 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21431 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21432 PyObject
*resultobj
= 0;
21433 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21434 int *arg2
= (int *) 0 ;
21435 int *arg3
= (int *) 0 ;
21439 int res2
= SWIG_TMPOBJ
;
21441 int res3
= SWIG_TMPOBJ
;
21442 PyObject
*swig_obj
[1] ;
21446 if (!args
) SWIG_fail
;
21447 swig_obj
[0] = args
;
21448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21449 if (!SWIG_IsOK(res1
)) {
21450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21452 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21455 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= SWIG_Py_Void();
21460 if (SWIG_IsTmpObj(res2
)) {
21461 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21463 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21464 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21466 if (SWIG_IsTmpObj(res3
)) {
21467 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21469 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21470 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21478 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21479 PyObject
*resultobj
= 0;
21480 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21484 PyObject
*swig_obj
[1] ;
21486 if (!args
) SWIG_fail
;
21487 swig_obj
[0] = args
;
21488 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21489 if (!SWIG_IsOK(res1
)) {
21490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21492 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21495 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21496 wxPyEndAllowThreads(__tstate
);
21497 if (PyErr_Occurred()) SWIG_fail
;
21499 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21506 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21507 PyObject
*resultobj
= 0;
21508 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21512 PyObject
*swig_obj
[1] ;
21514 if (!args
) SWIG_fail
;
21515 swig_obj
[0] = args
;
21516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21517 if (!SWIG_IsOK(res1
)) {
21518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21520 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21524 wxPyEndAllowThreads(__tstate
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21527 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21534 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21535 PyObject
*resultobj
= 0;
21536 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21537 SwigValueWrapper
<wxVisualAttributes
> result
;
21540 PyObject
*swig_obj
[1] ;
21542 if (!args
) SWIG_fail
;
21543 swig_obj
[0] = args
;
21544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21545 if (!SWIG_IsOK(res1
)) {
21546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21548 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (arg1
)->GetDefaultAttributes();
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21555 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21562 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21563 PyObject
*resultobj
= 0;
21564 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21567 PyObject
*swig_obj
[1] ;
21569 if (!args
) SWIG_fail
;
21570 swig_obj
[0] = args
;
21571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21572 if (!SWIG_IsOK(res1
)) {
21573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21575 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21578 (arg1
)->OnInternalIdle();
21579 wxPyEndAllowThreads(__tstate
);
21580 if (PyErr_Occurred()) SWIG_fail
;
21582 resultobj
= SWIG_Py_Void();
21589 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21591 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21592 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21593 return SWIG_Py_Void();
21596 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21597 return SWIG_Python_InitShadowInstance(args
);
21600 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21601 PyObject
*resultobj
= 0;
21602 wxWindow
*arg1
= (wxWindow
*) 0 ;
21603 int arg2
= (int) (int)-1 ;
21604 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21605 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21606 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21607 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21608 long arg5
= (long) 0 ;
21609 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21610 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21611 wxPyPanel
*result
= 0 ;
21620 bool temp6
= false ;
21621 PyObject
* obj0
= 0 ;
21622 PyObject
* obj1
= 0 ;
21623 PyObject
* obj2
= 0 ;
21624 PyObject
* obj3
= 0 ;
21625 PyObject
* obj4
= 0 ;
21626 PyObject
* obj5
= 0 ;
21627 char * kwnames
[] = {
21628 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21633 if (!SWIG_IsOK(res1
)) {
21634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21636 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21638 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21639 if (!SWIG_IsOK(ecode2
)) {
21640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21642 arg2
= static_cast< int >(val2
);
21647 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21653 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21657 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21658 if (!SWIG_IsOK(ecode5
)) {
21659 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21661 arg5
= static_cast< long >(val5
);
21665 arg6
= wxString_in_helper(obj5
);
21666 if (arg6
== NULL
) SWIG_fail
;
21671 if (!wxPyCheckForApp()) SWIG_fail
;
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21677 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21692 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21693 PyObject
*resultobj
= 0;
21694 wxPyPanel
*result
= 0 ;
21696 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21698 if (!wxPyCheckForApp()) SWIG_fail
;
21699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21700 result
= (wxPyPanel
*)new wxPyPanel();
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21711 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
= 0;
21713 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21714 PyObject
*arg2
= (PyObject
*) 0 ;
21715 PyObject
*arg3
= (PyObject
*) 0 ;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 PyObject
* obj2
= 0 ;
21721 char * kwnames
[] = {
21722 (char *) "self",(char *) "self",(char *) "_class", NULL
21725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21727 if (!SWIG_IsOK(res1
)) {
21728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21730 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21736 wxPyEndAllowThreads(__tstate
);
21737 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= SWIG_Py_Void();
21746 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21747 PyObject
*resultobj
= 0;
21748 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 char * kwnames
[] = {
21756 (char *) "self",(char *) "size", NULL
21759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21761 if (!SWIG_IsOK(res1
)) {
21762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21764 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21767 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21775 resultobj
= SWIG_Py_Void();
21782 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21783 PyObject
*resultobj
= 0;
21784 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21785 wxDC
*arg2
= (wxDC
*) 0 ;
21791 PyObject
* obj0
= 0 ;
21792 PyObject
* obj1
= 0 ;
21793 char * kwnames
[] = {
21794 (char *) "self",(char *) "dc", NULL
21797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21799 if (!SWIG_IsOK(res1
)) {
21800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21802 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21803 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21804 if (!SWIG_IsOK(res2
)) {
21805 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21807 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21823 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21824 PyObject
*resultobj
= 0;
21825 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21840 PyObject
* obj0
= 0 ;
21841 PyObject
* obj1
= 0 ;
21842 PyObject
* obj2
= 0 ;
21843 PyObject
* obj3
= 0 ;
21844 PyObject
* obj4
= 0 ;
21845 char * kwnames
[] = {
21846 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21849 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21851 if (!SWIG_IsOK(res1
)) {
21852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21854 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21855 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21856 if (!SWIG_IsOK(ecode2
)) {
21857 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21859 arg2
= static_cast< int >(val2
);
21860 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21861 if (!SWIG_IsOK(ecode3
)) {
21862 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21864 arg3
= static_cast< int >(val3
);
21865 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21866 if (!SWIG_IsOK(ecode4
)) {
21867 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21869 arg4
= static_cast< int >(val4
);
21870 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21871 if (!SWIG_IsOK(ecode5
)) {
21872 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21874 arg5
= static_cast< int >(val5
);
21876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21877 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21881 resultobj
= SWIG_Py_Void();
21888 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21889 PyObject
*resultobj
= 0;
21890 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21895 int arg6
= (int) wxSIZE_AUTO
;
21908 PyObject
* obj0
= 0 ;
21909 PyObject
* obj1
= 0 ;
21910 PyObject
* obj2
= 0 ;
21911 PyObject
* obj3
= 0 ;
21912 PyObject
* obj4
= 0 ;
21913 PyObject
* obj5
= 0 ;
21914 char * kwnames
[] = {
21915 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21920 if (!SWIG_IsOK(res1
)) {
21921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21923 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21925 if (!SWIG_IsOK(ecode2
)) {
21926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21928 arg2
= static_cast< int >(val2
);
21929 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21930 if (!SWIG_IsOK(ecode3
)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21933 arg3
= static_cast< int >(val3
);
21934 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21935 if (!SWIG_IsOK(ecode4
)) {
21936 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21938 arg4
= static_cast< int >(val4
);
21939 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21940 if (!SWIG_IsOK(ecode5
)) {
21941 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21943 arg5
= static_cast< int >(val5
);
21945 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21946 if (!SWIG_IsOK(ecode6
)) {
21947 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21949 arg6
= static_cast< int >(val6
);
21952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21953 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 resultobj
= SWIG_Py_Void();
21964 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
= 0;
21966 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21975 PyObject
* obj0
= 0 ;
21976 PyObject
* obj1
= 0 ;
21977 PyObject
* obj2
= 0 ;
21978 char * kwnames
[] = {
21979 (char *) "self",(char *) "width",(char *) "height", NULL
21982 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21983 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21984 if (!SWIG_IsOK(res1
)) {
21985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21987 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21988 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21989 if (!SWIG_IsOK(ecode2
)) {
21990 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21992 arg2
= static_cast< int >(val2
);
21993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21994 if (!SWIG_IsOK(ecode3
)) {
21995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21997 arg3
= static_cast< int >(val3
);
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22000 (arg1
)->DoSetClientSize(arg2
,arg3
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= SWIG_Py_Void();
22011 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
= 0;
22013 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22022 PyObject
* obj0
= 0 ;
22023 PyObject
* obj1
= 0 ;
22024 PyObject
* obj2
= 0 ;
22025 char * kwnames
[] = {
22026 (char *) "self",(char *) "x",(char *) "y", NULL
22029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22031 if (!SWIG_IsOK(res1
)) {
22032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22034 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22035 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22036 if (!SWIG_IsOK(ecode2
)) {
22037 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22039 arg2
= static_cast< int >(val2
);
22040 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22041 if (!SWIG_IsOK(ecode3
)) {
22042 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22044 arg3
= static_cast< int >(val3
);
22046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22047 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= SWIG_Py_Void();
22058 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22059 PyObject
*resultobj
= 0;
22060 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22061 int *arg2
= (int *) 0 ;
22062 int *arg3
= (int *) 0 ;
22066 int res2
= SWIG_TMPOBJ
;
22068 int res3
= SWIG_TMPOBJ
;
22069 PyObject
*swig_obj
[1] ;
22073 if (!args
) SWIG_fail
;
22074 swig_obj
[0] = args
;
22075 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22076 if (!SWIG_IsOK(res1
)) {
22077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22079 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22083 wxPyEndAllowThreads(__tstate
);
22084 if (PyErr_Occurred()) SWIG_fail
;
22086 resultobj
= SWIG_Py_Void();
22087 if (SWIG_IsTmpObj(res2
)) {
22088 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22090 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22091 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22093 if (SWIG_IsTmpObj(res3
)) {
22094 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22096 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22097 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22105 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22106 PyObject
*resultobj
= 0;
22107 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22108 int *arg2
= (int *) 0 ;
22109 int *arg3
= (int *) 0 ;
22113 int res2
= SWIG_TMPOBJ
;
22115 int res3
= SWIG_TMPOBJ
;
22116 PyObject
*swig_obj
[1] ;
22120 if (!args
) SWIG_fail
;
22121 swig_obj
[0] = args
;
22122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22123 if (!SWIG_IsOK(res1
)) {
22124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22126 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 resultobj
= SWIG_Py_Void();
22134 if (SWIG_IsTmpObj(res2
)) {
22135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22137 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22140 if (SWIG_IsTmpObj(res3
)) {
22141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22143 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22152 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22153 PyObject
*resultobj
= 0;
22154 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22155 int *arg2
= (int *) 0 ;
22156 int *arg3
= (int *) 0 ;
22160 int res2
= SWIG_TMPOBJ
;
22162 int res3
= SWIG_TMPOBJ
;
22163 PyObject
*swig_obj
[1] ;
22167 if (!args
) SWIG_fail
;
22168 swig_obj
[0] = args
;
22169 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22170 if (!SWIG_IsOK(res1
)) {
22171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22173 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22176 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22177 wxPyEndAllowThreads(__tstate
);
22178 if (PyErr_Occurred()) SWIG_fail
;
22180 resultobj
= SWIG_Py_Void();
22181 if (SWIG_IsTmpObj(res2
)) {
22182 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22184 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22185 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22187 if (SWIG_IsTmpObj(res3
)) {
22188 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22190 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22191 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22199 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22200 PyObject
*resultobj
= 0;
22201 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22205 PyObject
*swig_obj
[1] ;
22207 if (!args
) SWIG_fail
;
22208 swig_obj
[0] = args
;
22209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22210 if (!SWIG_IsOK(res1
)) {
22211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22213 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22216 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22217 wxPyEndAllowThreads(__tstate
);
22218 if (PyErr_Occurred()) SWIG_fail
;
22220 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22227 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22228 PyObject
*resultobj
= 0;
22229 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22233 PyObject
*swig_obj
[1] ;
22235 if (!args
) SWIG_fail
;
22236 swig_obj
[0] = args
;
22237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22238 if (!SWIG_IsOK(res1
)) {
22239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22241 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22255 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22256 PyObject
*resultobj
= 0;
22257 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22258 SwigValueWrapper
<wxVisualAttributes
> result
;
22261 PyObject
*swig_obj
[1] ;
22263 if (!args
) SWIG_fail
;
22264 swig_obj
[0] = args
;
22265 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22266 if (!SWIG_IsOK(res1
)) {
22267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22269 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22272 result
= (arg1
)->GetDefaultAttributes();
22273 wxPyEndAllowThreads(__tstate
);
22274 if (PyErr_Occurred()) SWIG_fail
;
22276 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22283 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22284 PyObject
*resultobj
= 0;
22285 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22288 PyObject
*swig_obj
[1] ;
22290 if (!args
) SWIG_fail
;
22291 swig_obj
[0] = args
;
22292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22293 if (!SWIG_IsOK(res1
)) {
22294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22296 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 (arg1
)->OnInternalIdle();
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 resultobj
= SWIG_Py_Void();
22310 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22313 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22314 return SWIG_Py_Void();
22317 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22318 return SWIG_Python_InitShadowInstance(args
);
22321 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22322 PyObject
*resultobj
= 0;
22323 wxWindow
*arg1
= (wxWindow
*) 0 ;
22324 int arg2
= (int) (int)-1 ;
22325 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22326 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22327 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22328 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22329 long arg5
= (long) 0 ;
22330 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22331 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22332 wxPyScrolledWindow
*result
= 0 ;
22341 bool temp6
= false ;
22342 PyObject
* obj0
= 0 ;
22343 PyObject
* obj1
= 0 ;
22344 PyObject
* obj2
= 0 ;
22345 PyObject
* obj3
= 0 ;
22346 PyObject
* obj4
= 0 ;
22347 PyObject
* obj5
= 0 ;
22348 char * kwnames
[] = {
22349 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22354 if (!SWIG_IsOK(res1
)) {
22355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22357 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22360 if (!SWIG_IsOK(ecode2
)) {
22361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22363 arg2
= static_cast< int >(val2
);
22368 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22374 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22378 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22379 if (!SWIG_IsOK(ecode5
)) {
22380 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22382 arg5
= static_cast< long >(val5
);
22386 arg6
= wxString_in_helper(obj5
);
22387 if (arg6
== NULL
) SWIG_fail
;
22392 if (!wxPyCheckForApp()) SWIG_fail
;
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22413 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22414 PyObject
*resultobj
= 0;
22415 wxPyScrolledWindow
*result
= 0 ;
22417 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22419 if (!wxPyCheckForApp()) SWIG_fail
;
22420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22421 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22432 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
= 0;
22434 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22435 PyObject
*arg2
= (PyObject
*) 0 ;
22436 PyObject
*arg3
= (PyObject
*) 0 ;
22439 PyObject
* obj0
= 0 ;
22440 PyObject
* obj1
= 0 ;
22441 PyObject
* obj2
= 0 ;
22442 char * kwnames
[] = {
22443 (char *) "self",(char *) "self",(char *) "_class", NULL
22446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22448 if (!SWIG_IsOK(res1
)) {
22449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22451 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22457 wxPyEndAllowThreads(__tstate
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22460 resultobj
= SWIG_Py_Void();
22467 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22468 PyObject
*resultobj
= 0;
22469 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22474 PyObject
* obj0
= 0 ;
22475 PyObject
* obj1
= 0 ;
22476 char * kwnames
[] = {
22477 (char *) "self",(char *) "size", NULL
22480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22482 if (!SWIG_IsOK(res1
)) {
22483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22485 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22488 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22492 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22493 wxPyEndAllowThreads(__tstate
);
22494 if (PyErr_Occurred()) SWIG_fail
;
22496 resultobj
= SWIG_Py_Void();
22503 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22504 PyObject
*resultobj
= 0;
22505 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22506 wxDC
*arg2
= (wxDC
*) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 PyObject
* obj1
= 0 ;
22514 char * kwnames
[] = {
22515 (char *) "self",(char *) "dc", NULL
22518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22520 if (!SWIG_IsOK(res1
)) {
22521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22523 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22524 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22525 if (!SWIG_IsOK(res2
)) {
22526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22528 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22536 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22544 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
= 0;
22546 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22561 PyObject
* obj0
= 0 ;
22562 PyObject
* obj1
= 0 ;
22563 PyObject
* obj2
= 0 ;
22564 PyObject
* obj3
= 0 ;
22565 PyObject
* obj4
= 0 ;
22566 char * kwnames
[] = {
22567 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22572 if (!SWIG_IsOK(res1
)) {
22573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22575 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22576 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22577 if (!SWIG_IsOK(ecode2
)) {
22578 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22580 arg2
= static_cast< int >(val2
);
22581 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22582 if (!SWIG_IsOK(ecode3
)) {
22583 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22585 arg3
= static_cast< int >(val3
);
22586 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22587 if (!SWIG_IsOK(ecode4
)) {
22588 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22590 arg4
= static_cast< int >(val4
);
22591 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22592 if (!SWIG_IsOK(ecode5
)) {
22593 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22595 arg5
= static_cast< int >(val5
);
22597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22602 resultobj
= SWIG_Py_Void();
22609 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22610 PyObject
*resultobj
= 0;
22611 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22616 int arg6
= (int) wxSIZE_AUTO
;
22629 PyObject
* obj0
= 0 ;
22630 PyObject
* obj1
= 0 ;
22631 PyObject
* obj2
= 0 ;
22632 PyObject
* obj3
= 0 ;
22633 PyObject
* obj4
= 0 ;
22634 PyObject
* obj5
= 0 ;
22635 char * kwnames
[] = {
22636 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22641 if (!SWIG_IsOK(res1
)) {
22642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22644 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22645 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22646 if (!SWIG_IsOK(ecode2
)) {
22647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22649 arg2
= static_cast< int >(val2
);
22650 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22651 if (!SWIG_IsOK(ecode3
)) {
22652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22654 arg3
= static_cast< int >(val3
);
22655 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22656 if (!SWIG_IsOK(ecode4
)) {
22657 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22659 arg4
= static_cast< int >(val4
);
22660 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22661 if (!SWIG_IsOK(ecode5
)) {
22662 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22664 arg5
= static_cast< int >(val5
);
22666 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22667 if (!SWIG_IsOK(ecode6
)) {
22668 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22670 arg6
= static_cast< int >(val6
);
22673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22674 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22675 wxPyEndAllowThreads(__tstate
);
22676 if (PyErr_Occurred()) SWIG_fail
;
22678 resultobj
= SWIG_Py_Void();
22685 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
= 0;
22687 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22696 PyObject
* obj0
= 0 ;
22697 PyObject
* obj1
= 0 ;
22698 PyObject
* obj2
= 0 ;
22699 char * kwnames
[] = {
22700 (char *) "self",(char *) "width",(char *) "height", NULL
22703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22705 if (!SWIG_IsOK(res1
)) {
22706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22708 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22709 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22710 if (!SWIG_IsOK(ecode2
)) {
22711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22713 arg2
= static_cast< int >(val2
);
22714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22715 if (!SWIG_IsOK(ecode3
)) {
22716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22718 arg3
= static_cast< int >(val3
);
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 (arg1
)->DoSetClientSize(arg2
,arg3
);
22722 wxPyEndAllowThreads(__tstate
);
22723 if (PyErr_Occurred()) SWIG_fail
;
22725 resultobj
= SWIG_Py_Void();
22732 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22733 PyObject
*resultobj
= 0;
22734 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22743 PyObject
* obj0
= 0 ;
22744 PyObject
* obj1
= 0 ;
22745 PyObject
* obj2
= 0 ;
22746 char * kwnames
[] = {
22747 (char *) "self",(char *) "x",(char *) "y", NULL
22750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22752 if (!SWIG_IsOK(res1
)) {
22753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22755 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22756 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22757 if (!SWIG_IsOK(ecode2
)) {
22758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22760 arg2
= static_cast< int >(val2
);
22761 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22762 if (!SWIG_IsOK(ecode3
)) {
22763 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22765 arg3
= static_cast< int >(val3
);
22767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22768 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22769 wxPyEndAllowThreads(__tstate
);
22770 if (PyErr_Occurred()) SWIG_fail
;
22772 resultobj
= SWIG_Py_Void();
22779 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22780 PyObject
*resultobj
= 0;
22781 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22782 int *arg2
= (int *) 0 ;
22783 int *arg3
= (int *) 0 ;
22787 int res2
= SWIG_TMPOBJ
;
22789 int res3
= SWIG_TMPOBJ
;
22790 PyObject
*swig_obj
[1] ;
22794 if (!args
) SWIG_fail
;
22795 swig_obj
[0] = args
;
22796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22797 if (!SWIG_IsOK(res1
)) {
22798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22800 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22803 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22804 wxPyEndAllowThreads(__tstate
);
22805 if (PyErr_Occurred()) SWIG_fail
;
22807 resultobj
= SWIG_Py_Void();
22808 if (SWIG_IsTmpObj(res2
)) {
22809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22811 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22812 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22814 if (SWIG_IsTmpObj(res3
)) {
22815 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22817 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22818 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22826 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22827 PyObject
*resultobj
= 0;
22828 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22829 int *arg2
= (int *) 0 ;
22830 int *arg3
= (int *) 0 ;
22834 int res2
= SWIG_TMPOBJ
;
22836 int res3
= SWIG_TMPOBJ
;
22837 PyObject
*swig_obj
[1] ;
22841 if (!args
) SWIG_fail
;
22842 swig_obj
[0] = args
;
22843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22844 if (!SWIG_IsOK(res1
)) {
22845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22847 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= SWIG_Py_Void();
22855 if (SWIG_IsTmpObj(res2
)) {
22856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22858 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22859 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22861 if (SWIG_IsTmpObj(res3
)) {
22862 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22864 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22865 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22873 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22874 PyObject
*resultobj
= 0;
22875 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22876 int *arg2
= (int *) 0 ;
22877 int *arg3
= (int *) 0 ;
22881 int res2
= SWIG_TMPOBJ
;
22883 int res3
= SWIG_TMPOBJ
;
22884 PyObject
*swig_obj
[1] ;
22888 if (!args
) SWIG_fail
;
22889 swig_obj
[0] = args
;
22890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22891 if (!SWIG_IsOK(res1
)) {
22892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22894 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22897 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22898 wxPyEndAllowThreads(__tstate
);
22899 if (PyErr_Occurred()) SWIG_fail
;
22901 resultobj
= SWIG_Py_Void();
22902 if (SWIG_IsTmpObj(res2
)) {
22903 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22905 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22908 if (SWIG_IsTmpObj(res3
)) {
22909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22911 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22920 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22921 PyObject
*resultobj
= 0;
22922 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22926 PyObject
*swig_obj
[1] ;
22928 if (!args
) SWIG_fail
;
22929 swig_obj
[0] = args
;
22930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22931 if (!SWIG_IsOK(res1
)) {
22932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22934 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
22938 wxPyEndAllowThreads(__tstate
);
22939 if (PyErr_Occurred()) SWIG_fail
;
22941 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22948 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22949 PyObject
*resultobj
= 0;
22950 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22954 PyObject
*swig_obj
[1] ;
22956 if (!args
) SWIG_fail
;
22957 swig_obj
[0] = args
;
22958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22959 if (!SWIG_IsOK(res1
)) {
22960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22962 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22976 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22977 PyObject
*resultobj
= 0;
22978 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22979 SwigValueWrapper
<wxVisualAttributes
> result
;
22982 PyObject
*swig_obj
[1] ;
22984 if (!args
) SWIG_fail
;
22985 swig_obj
[0] = args
;
22986 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22987 if (!SWIG_IsOK(res1
)) {
22988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22990 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22993 result
= (arg1
)->GetDefaultAttributes();
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23004 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23005 PyObject
*resultobj
= 0;
23006 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23009 PyObject
*swig_obj
[1] ;
23011 if (!args
) SWIG_fail
;
23012 swig_obj
[0] = args
;
23013 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23014 if (!SWIG_IsOK(res1
)) {
23015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23017 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 (arg1
)->OnInternalIdle();
23021 wxPyEndAllowThreads(__tstate
);
23022 if (PyErr_Occurred()) SWIG_fail
;
23024 resultobj
= SWIG_Py_Void();
23031 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23033 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23034 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23035 return SWIG_Py_Void();
23038 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23039 return SWIG_Python_InitShadowInstance(args
);
23042 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23043 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23048 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23049 PyObject
*pyobj
= 0;
23053 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23055 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23062 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23063 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23068 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23069 PyObject
*pyobj
= 0;
23073 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23075 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23082 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23083 PyObject
*resultobj
= 0;
23084 wxPrintData
*result
= 0 ;
23086 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23089 result
= (wxPrintData
*)new wxPrintData();
23090 wxPyEndAllowThreads(__tstate
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23100 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23101 PyObject
*resultobj
= 0;
23102 wxPrintData
*arg1
= 0 ;
23103 wxPrintData
*result
= 0 ;
23107 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23109 if (!SWIG_IsOK(res1
)) {
23110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23113 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23115 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23129 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23133 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23136 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23139 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23143 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23148 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23149 PyObject
*resultobj
= 0;
23150 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23153 PyObject
*swig_obj
[1] ;
23155 if (!args
) SWIG_fail
;
23156 swig_obj
[0] = args
;
23157 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23158 if (!SWIG_IsOK(res1
)) {
23159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23161 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23169 resultobj
= SWIG_Py_Void();
23176 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23177 PyObject
*resultobj
= 0;
23178 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23182 PyObject
*swig_obj
[1] ;
23184 if (!args
) SWIG_fail
;
23185 swig_obj
[0] = args
;
23186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23187 if (!SWIG_IsOK(res1
)) {
23188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23190 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23193 result
= (int)(arg1
)->GetNoCopies();
23194 wxPyEndAllowThreads(__tstate
);
23195 if (PyErr_Occurred()) SWIG_fail
;
23197 resultobj
= SWIG_From_int(static_cast< int >(result
));
23204 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23205 PyObject
*resultobj
= 0;
23206 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23210 PyObject
*swig_obj
[1] ;
23212 if (!args
) SWIG_fail
;
23213 swig_obj
[0] = args
;
23214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23215 if (!SWIG_IsOK(res1
)) {
23216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23218 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23221 result
= (bool)(arg1
)->GetCollate();
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23234 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23235 PyObject
*resultobj
= 0;
23236 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23240 PyObject
*swig_obj
[1] ;
23242 if (!args
) SWIG_fail
;
23243 swig_obj
[0] = args
;
23244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23245 if (!SWIG_IsOK(res1
)) {
23246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23248 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 result
= (int)(arg1
)->GetOrientation();
23252 wxPyEndAllowThreads(__tstate
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23255 resultobj
= SWIG_From_int(static_cast< int >(result
));
23262 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23263 PyObject
*resultobj
= 0;
23264 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23268 PyObject
*swig_obj
[1] ;
23270 if (!args
) SWIG_fail
;
23271 swig_obj
[0] = args
;
23272 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23273 if (!SWIG_IsOK(res1
)) {
23274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23276 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23279 result
= (bool)(arg1
)->Ok();
23280 wxPyEndAllowThreads(__tstate
);
23281 if (PyErr_Occurred()) SWIG_fail
;
23284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23292 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23293 PyObject
*resultobj
= 0;
23294 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23295 wxString
*result
= 0 ;
23298 PyObject
*swig_obj
[1] ;
23300 if (!args
) SWIG_fail
;
23301 swig_obj
[0] = args
;
23302 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23303 if (!SWIG_IsOK(res1
)) {
23304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23306 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23310 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23311 result
= (wxString
*) &_result_ref
;
23313 wxPyEndAllowThreads(__tstate
);
23314 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23320 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23329 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23330 PyObject
*resultobj
= 0;
23331 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23335 PyObject
*swig_obj
[1] ;
23337 if (!args
) SWIG_fail
;
23338 swig_obj
[0] = args
;
23339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23340 if (!SWIG_IsOK(res1
)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23343 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23346 result
= (bool)(arg1
)->GetColour();
23347 wxPyEndAllowThreads(__tstate
);
23348 if (PyErr_Occurred()) SWIG_fail
;
23351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23359 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23360 PyObject
*resultobj
= 0;
23361 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23362 wxDuplexMode result
;
23365 PyObject
*swig_obj
[1] ;
23367 if (!args
) SWIG_fail
;
23368 swig_obj
[0] = args
;
23369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23370 if (!SWIG_IsOK(res1
)) {
23371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23373 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23376 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23377 wxPyEndAllowThreads(__tstate
);
23378 if (PyErr_Occurred()) SWIG_fail
;
23380 resultobj
= SWIG_From_int(static_cast< int >(result
));
23387 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23388 PyObject
*resultobj
= 0;
23389 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23390 wxPaperSize result
;
23393 PyObject
*swig_obj
[1] ;
23395 if (!args
) SWIG_fail
;
23396 swig_obj
[0] = args
;
23397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23398 if (!SWIG_IsOK(res1
)) {
23399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23401 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 resultobj
= SWIG_From_int(static_cast< int >(result
));
23415 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23416 PyObject
*resultobj
= 0;
23417 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23418 wxSize
*result
= 0 ;
23421 PyObject
*swig_obj
[1] ;
23423 if (!args
) SWIG_fail
;
23424 swig_obj
[0] = args
;
23425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23426 if (!SWIG_IsOK(res1
)) {
23427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23429 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23434 result
= (wxSize
*) &_result_ref
;
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23446 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23447 PyObject
*resultobj
= 0;
23448 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23452 PyObject
*swig_obj
[1] ;
23454 if (!args
) SWIG_fail
;
23455 swig_obj
[0] = args
;
23456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23457 if (!SWIG_IsOK(res1
)) {
23458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23460 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23463 result
= (int)(arg1
)->GetQuality();
23464 wxPyEndAllowThreads(__tstate
);
23465 if (PyErr_Occurred()) SWIG_fail
;
23467 resultobj
= SWIG_From_int(static_cast< int >(result
));
23474 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23475 PyObject
*resultobj
= 0;
23476 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23480 PyObject
*swig_obj
[1] ;
23482 if (!args
) SWIG_fail
;
23483 swig_obj
[0] = args
;
23484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23485 if (!SWIG_IsOK(res1
)) {
23486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23488 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 result
= (wxPrintBin
)(arg1
)->GetBin();
23492 wxPyEndAllowThreads(__tstate
);
23493 if (PyErr_Occurred()) SWIG_fail
;
23495 resultobj
= SWIG_From_int(static_cast< int >(result
));
23502 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23503 PyObject
*resultobj
= 0;
23504 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23505 wxPrintMode result
;
23508 PyObject
*swig_obj
[1] ;
23510 if (!args
) SWIG_fail
;
23511 swig_obj
[0] = args
;
23512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23513 if (!SWIG_IsOK(res1
)) {
23514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23516 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23519 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23520 wxPyEndAllowThreads(__tstate
);
23521 if (PyErr_Occurred()) SWIG_fail
;
23523 resultobj
= SWIG_From_int(static_cast< int >(result
));
23530 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23531 PyObject
*resultobj
= 0;
23532 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char * kwnames
[] = {
23541 (char *) "self",(char *) "v", NULL
23544 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23545 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23546 if (!SWIG_IsOK(res1
)) {
23547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23549 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23550 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23551 if (!SWIG_IsOK(ecode2
)) {
23552 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23554 arg2
= static_cast< int >(val2
);
23556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23557 (arg1
)->SetNoCopies(arg2
);
23558 wxPyEndAllowThreads(__tstate
);
23559 if (PyErr_Occurred()) SWIG_fail
;
23561 resultobj
= SWIG_Py_Void();
23568 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23569 PyObject
*resultobj
= 0;
23570 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23576 PyObject
* obj0
= 0 ;
23577 PyObject
* obj1
= 0 ;
23578 char * kwnames
[] = {
23579 (char *) "self",(char *) "flag", NULL
23582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23584 if (!SWIG_IsOK(res1
)) {
23585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23587 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23588 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23589 if (!SWIG_IsOK(ecode2
)) {
23590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23592 arg2
= static_cast< bool >(val2
);
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 (arg1
)->SetCollate(arg2
);
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= SWIG_Py_Void();
23606 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23607 PyObject
*resultobj
= 0;
23608 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23614 PyObject
* obj0
= 0 ;
23615 PyObject
* obj1
= 0 ;
23616 char * kwnames
[] = {
23617 (char *) "self",(char *) "orient", NULL
23620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23622 if (!SWIG_IsOK(res1
)) {
23623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23625 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23626 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23627 if (!SWIG_IsOK(ecode2
)) {
23628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23630 arg2
= static_cast< int >(val2
);
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 (arg1
)->SetOrientation(arg2
);
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23637 resultobj
= SWIG_Py_Void();
23644 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
= 0;
23646 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23647 wxString
*arg2
= 0 ;
23650 bool temp2
= false ;
23651 PyObject
* obj0
= 0 ;
23652 PyObject
* obj1
= 0 ;
23653 char * kwnames
[] = {
23654 (char *) "self",(char *) "name", NULL
23657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23659 if (!SWIG_IsOK(res1
)) {
23660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23662 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23664 arg2
= wxString_in_helper(obj1
);
23665 if (arg2
== NULL
) SWIG_fail
;
23669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23670 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23671 wxPyEndAllowThreads(__tstate
);
23672 if (PyErr_Occurred()) SWIG_fail
;
23674 resultobj
= SWIG_Py_Void();
23689 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
= 0;
23691 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23697 PyObject
* obj0
= 0 ;
23698 PyObject
* obj1
= 0 ;
23699 char * kwnames
[] = {
23700 (char *) "self",(char *) "colour", NULL
23703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23705 if (!SWIG_IsOK(res1
)) {
23706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23708 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23709 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23710 if (!SWIG_IsOK(ecode2
)) {
23711 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23713 arg2
= static_cast< bool >(val2
);
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 (arg1
)->SetColour(arg2
);
23717 wxPyEndAllowThreads(__tstate
);
23718 if (PyErr_Occurred()) SWIG_fail
;
23720 resultobj
= SWIG_Py_Void();
23727 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23728 PyObject
*resultobj
= 0;
23729 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23730 wxDuplexMode arg2
;
23735 PyObject
* obj0
= 0 ;
23736 PyObject
* obj1
= 0 ;
23737 char * kwnames
[] = {
23738 (char *) "self",(char *) "duplex", NULL
23741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23743 if (!SWIG_IsOK(res1
)) {
23744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23746 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23748 if (!SWIG_IsOK(ecode2
)) {
23749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23751 arg2
= static_cast< wxDuplexMode
>(val2
);
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 (arg1
)->SetDuplex(arg2
);
23755 wxPyEndAllowThreads(__tstate
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23758 resultobj
= SWIG_Py_Void();
23765 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23766 PyObject
*resultobj
= 0;
23767 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23773 PyObject
* obj0
= 0 ;
23774 PyObject
* obj1
= 0 ;
23775 char * kwnames
[] = {
23776 (char *) "self",(char *) "sizeId", NULL
23779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23781 if (!SWIG_IsOK(res1
)) {
23782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23784 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23786 if (!SWIG_IsOK(ecode2
)) {
23787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23789 arg2
= static_cast< wxPaperSize
>(val2
);
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 (arg1
)->SetPaperId(arg2
);
23793 wxPyEndAllowThreads(__tstate
);
23794 if (PyErr_Occurred()) SWIG_fail
;
23796 resultobj
= SWIG_Py_Void();
23803 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23804 PyObject
*resultobj
= 0;
23805 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23810 PyObject
* obj0
= 0 ;
23811 PyObject
* obj1
= 0 ;
23812 char * kwnames
[] = {
23813 (char *) "self",(char *) "sz", NULL
23816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23818 if (!SWIG_IsOK(res1
)) {
23819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23821 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23824 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23828 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
23829 wxPyEndAllowThreads(__tstate
);
23830 if (PyErr_Occurred()) SWIG_fail
;
23832 resultobj
= SWIG_Py_Void();
23839 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23840 PyObject
*resultobj
= 0;
23841 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23847 PyObject
* obj0
= 0 ;
23848 PyObject
* obj1
= 0 ;
23849 char * kwnames
[] = {
23850 (char *) "self",(char *) "quality", NULL
23853 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23854 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23855 if (!SWIG_IsOK(res1
)) {
23856 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23858 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23860 if (!SWIG_IsOK(ecode2
)) {
23861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23863 arg2
= static_cast< int >(val2
);
23865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23866 (arg1
)->SetQuality(arg2
);
23867 wxPyEndAllowThreads(__tstate
);
23868 if (PyErr_Occurred()) SWIG_fail
;
23870 resultobj
= SWIG_Py_Void();
23877 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23878 PyObject
*resultobj
= 0;
23879 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23885 PyObject
* obj0
= 0 ;
23886 PyObject
* obj1
= 0 ;
23887 char * kwnames
[] = {
23888 (char *) "self",(char *) "bin", NULL
23891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23893 if (!SWIG_IsOK(res1
)) {
23894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23896 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23898 if (!SWIG_IsOK(ecode2
)) {
23899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
23901 arg2
= static_cast< wxPrintBin
>(val2
);
23903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23904 (arg1
)->SetBin(arg2
);
23905 wxPyEndAllowThreads(__tstate
);
23906 if (PyErr_Occurred()) SWIG_fail
;
23908 resultobj
= SWIG_Py_Void();
23915 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23916 PyObject
*resultobj
= 0;
23917 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23923 PyObject
* obj0
= 0 ;
23924 PyObject
* obj1
= 0 ;
23925 char * kwnames
[] = {
23926 (char *) "self",(char *) "printMode", NULL
23929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23931 if (!SWIG_IsOK(res1
)) {
23932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
23934 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23935 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23936 if (!SWIG_IsOK(ecode2
)) {
23937 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
23939 arg2
= static_cast< wxPrintMode
>(val2
);
23941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23942 (arg1
)->SetPrintMode(arg2
);
23943 wxPyEndAllowThreads(__tstate
);
23944 if (PyErr_Occurred()) SWIG_fail
;
23946 resultobj
= SWIG_Py_Void();
23953 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23954 PyObject
*resultobj
= 0;
23955 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23959 PyObject
*swig_obj
[1] ;
23961 if (!args
) SWIG_fail
;
23962 swig_obj
[0] = args
;
23963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23964 if (!SWIG_IsOK(res1
)) {
23965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23967 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23970 result
= ((wxPrintData
const *)arg1
)->GetFilename();
23971 wxPyEndAllowThreads(__tstate
);
23972 if (PyErr_Occurred()) SWIG_fail
;
23976 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23978 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23987 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23988 PyObject
*resultobj
= 0;
23989 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23990 wxString
*arg2
= 0 ;
23993 bool temp2
= false ;
23994 PyObject
* obj0
= 0 ;
23995 PyObject
* obj1
= 0 ;
23996 char * kwnames
[] = {
23997 (char *) "self",(char *) "filename", NULL
24000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24002 if (!SWIG_IsOK(res1
)) {
24003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24005 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24007 arg2
= wxString_in_helper(obj1
);
24008 if (arg2
== NULL
) SWIG_fail
;
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 (arg1
)->SetFilename((wxString
const &)*arg2
);
24014 wxPyEndAllowThreads(__tstate
);
24015 if (PyErr_Occurred()) SWIG_fail
;
24017 resultobj
= SWIG_Py_Void();
24032 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24033 PyObject
*resultobj
= 0;
24034 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24035 PyObject
*result
= 0 ;
24038 PyObject
*swig_obj
[1] ;
24040 if (!args
) SWIG_fail
;
24041 swig_obj
[0] = args
;
24042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24043 if (!SWIG_IsOK(res1
)) {
24044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24046 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 resultobj
= result
;
24060 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
= 0;
24062 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24063 PyObject
*arg2
= (PyObject
*) 0 ;
24066 PyObject
* obj0
= 0 ;
24067 PyObject
* obj1
= 0 ;
24068 char * kwnames
[] = {
24069 (char *) "self",(char *) "data", NULL
24072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24074 if (!SWIG_IsOK(res1
)) {
24075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24077 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 wxPrintData_SetPrivData(arg1
,arg2
);
24082 wxPyEndAllowThreads(__tstate
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= SWIG_Py_Void();
24092 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24095 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24096 return SWIG_Py_Void();
24099 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24100 return SWIG_Python_InitShadowInstance(args
);
24103 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24104 PyObject
*resultobj
= 0;
24105 wxPageSetupDialogData
*result
= 0 ;
24107 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24121 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24122 PyObject
*resultobj
= 0;
24123 wxPageSetupDialogData
*arg1
= 0 ;
24124 wxPageSetupDialogData
*result
= 0 ;
24128 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24130 if (!SWIG_IsOK(res1
)) {
24131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24134 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24136 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24143 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24150 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24151 PyObject
*resultobj
= 0;
24152 wxPrintData
*arg1
= 0 ;
24153 wxPageSetupDialogData
*result
= 0 ;
24157 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24159 if (!SWIG_IsOK(res1
)) {
24160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24165 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24168 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24169 wxPyEndAllowThreads(__tstate
);
24170 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24179 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24183 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24186 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24191 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24192 _v
= SWIG_CheckState(res
);
24194 if (!_v
) goto check_2
;
24195 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24200 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24204 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24209 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24210 PyObject
*resultobj
= 0;
24211 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24214 PyObject
*swig_obj
[1] ;
24216 if (!args
) SWIG_fail
;
24217 swig_obj
[0] = args
;
24218 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24219 if (!SWIG_IsOK(res1
)) {
24220 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24222 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24227 wxPyEndAllowThreads(__tstate
);
24228 if (PyErr_Occurred()) SWIG_fail
;
24230 resultobj
= SWIG_Py_Void();
24237 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24238 PyObject
*resultobj
= 0;
24239 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24245 PyObject
* obj0
= 0 ;
24246 PyObject
* obj1
= 0 ;
24247 char * kwnames
[] = {
24248 (char *) "self",(char *) "flag", NULL
24251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24253 if (!SWIG_IsOK(res1
)) {
24254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24256 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24257 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24258 if (!SWIG_IsOK(ecode2
)) {
24259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24261 arg2
= static_cast< bool >(val2
);
24263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24264 (arg1
)->EnableHelp(arg2
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= SWIG_Py_Void();
24275 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
= 0;
24277 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24283 PyObject
* obj0
= 0 ;
24284 PyObject
* obj1
= 0 ;
24285 char * kwnames
[] = {
24286 (char *) "self",(char *) "flag", NULL
24289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24291 if (!SWIG_IsOK(res1
)) {
24292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24294 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24295 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24296 if (!SWIG_IsOK(ecode2
)) {
24297 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24299 arg2
= static_cast< bool >(val2
);
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 (arg1
)->EnableMargins(arg2
);
24303 wxPyEndAllowThreads(__tstate
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24306 resultobj
= SWIG_Py_Void();
24313 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24314 PyObject
*resultobj
= 0;
24315 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24321 PyObject
* obj0
= 0 ;
24322 PyObject
* obj1
= 0 ;
24323 char * kwnames
[] = {
24324 (char *) "self",(char *) "flag", NULL
24327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24329 if (!SWIG_IsOK(res1
)) {
24330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24332 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24333 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24334 if (!SWIG_IsOK(ecode2
)) {
24335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24337 arg2
= static_cast< bool >(val2
);
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 (arg1
)->EnableOrientation(arg2
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= SWIG_Py_Void();
24351 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
= 0;
24353 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24359 PyObject
* obj0
= 0 ;
24360 PyObject
* obj1
= 0 ;
24361 char * kwnames
[] = {
24362 (char *) "self",(char *) "flag", NULL
24365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24367 if (!SWIG_IsOK(res1
)) {
24368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24370 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24371 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24372 if (!SWIG_IsOK(ecode2
)) {
24373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24375 arg2
= static_cast< bool >(val2
);
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 (arg1
)->EnablePaper(arg2
);
24379 wxPyEndAllowThreads(__tstate
);
24380 if (PyErr_Occurred()) SWIG_fail
;
24382 resultobj
= SWIG_Py_Void();
24389 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24390 PyObject
*resultobj
= 0;
24391 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24397 PyObject
* obj0
= 0 ;
24398 PyObject
* obj1
= 0 ;
24399 char * kwnames
[] = {
24400 (char *) "self",(char *) "flag", NULL
24403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24405 if (!SWIG_IsOK(res1
)) {
24406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24408 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24409 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24410 if (!SWIG_IsOK(ecode2
)) {
24411 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24413 arg2
= static_cast< bool >(val2
);
24415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24416 (arg1
)->EnablePrinter(arg2
);
24417 wxPyEndAllowThreads(__tstate
);
24418 if (PyErr_Occurred()) SWIG_fail
;
24420 resultobj
= SWIG_Py_Void();
24427 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24428 PyObject
*resultobj
= 0;
24429 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24433 PyObject
*swig_obj
[1] ;
24435 if (!args
) SWIG_fail
;
24436 swig_obj
[0] = args
;
24437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24438 if (!SWIG_IsOK(res1
)) {
24439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24441 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24444 result
= (bool)(arg1
)->GetDefaultMinMargins();
24445 wxPyEndAllowThreads(__tstate
);
24446 if (PyErr_Occurred()) SWIG_fail
;
24449 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24457 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24458 PyObject
*resultobj
= 0;
24459 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24463 PyObject
*swig_obj
[1] ;
24465 if (!args
) SWIG_fail
;
24466 swig_obj
[0] = args
;
24467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24468 if (!SWIG_IsOK(res1
)) {
24469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24471 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24474 result
= (bool)(arg1
)->GetEnableMargins();
24475 wxPyEndAllowThreads(__tstate
);
24476 if (PyErr_Occurred()) SWIG_fail
;
24479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24487 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24488 PyObject
*resultobj
= 0;
24489 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24493 PyObject
*swig_obj
[1] ;
24495 if (!args
) SWIG_fail
;
24496 swig_obj
[0] = args
;
24497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24498 if (!SWIG_IsOK(res1
)) {
24499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24501 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24504 result
= (bool)(arg1
)->GetEnableOrientation();
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24517 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24518 PyObject
*resultobj
= 0;
24519 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24523 PyObject
*swig_obj
[1] ;
24525 if (!args
) SWIG_fail
;
24526 swig_obj
[0] = args
;
24527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24528 if (!SWIG_IsOK(res1
)) {
24529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24531 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 result
= (bool)(arg1
)->GetEnablePaper();
24535 wxPyEndAllowThreads(__tstate
);
24536 if (PyErr_Occurred()) SWIG_fail
;
24539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24547 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24548 PyObject
*resultobj
= 0;
24549 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24553 PyObject
*swig_obj
[1] ;
24555 if (!args
) SWIG_fail
;
24556 swig_obj
[0] = args
;
24557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24558 if (!SWIG_IsOK(res1
)) {
24559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24561 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24564 result
= (bool)(arg1
)->GetEnablePrinter();
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24577 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24578 PyObject
*resultobj
= 0;
24579 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24583 PyObject
*swig_obj
[1] ;
24585 if (!args
) SWIG_fail
;
24586 swig_obj
[0] = args
;
24587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24588 if (!SWIG_IsOK(res1
)) {
24589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24591 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24594 result
= (bool)(arg1
)->GetEnableHelp();
24595 wxPyEndAllowThreads(__tstate
);
24596 if (PyErr_Occurred()) SWIG_fail
;
24599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24607 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24608 PyObject
*resultobj
= 0;
24609 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24613 PyObject
*swig_obj
[1] ;
24615 if (!args
) SWIG_fail
;
24616 swig_obj
[0] = args
;
24617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24618 if (!SWIG_IsOK(res1
)) {
24619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24621 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24624 result
= (bool)(arg1
)->GetDefaultInfo();
24625 wxPyEndAllowThreads(__tstate
);
24626 if (PyErr_Occurred()) SWIG_fail
;
24629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24637 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24638 PyObject
*resultobj
= 0;
24639 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24643 PyObject
*swig_obj
[1] ;
24645 if (!args
) SWIG_fail
;
24646 swig_obj
[0] = args
;
24647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24648 if (!SWIG_IsOK(res1
)) {
24649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24651 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24654 result
= (arg1
)->GetMarginTopLeft();
24655 wxPyEndAllowThreads(__tstate
);
24656 if (PyErr_Occurred()) SWIG_fail
;
24658 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24665 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24666 PyObject
*resultobj
= 0;
24667 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24671 PyObject
*swig_obj
[1] ;
24673 if (!args
) SWIG_fail
;
24674 swig_obj
[0] = args
;
24675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24676 if (!SWIG_IsOK(res1
)) {
24677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24679 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24682 result
= (arg1
)->GetMarginBottomRight();
24683 wxPyEndAllowThreads(__tstate
);
24684 if (PyErr_Occurred()) SWIG_fail
;
24686 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24693 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24694 PyObject
*resultobj
= 0;
24695 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24699 PyObject
*swig_obj
[1] ;
24701 if (!args
) SWIG_fail
;
24702 swig_obj
[0] = args
;
24703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24704 if (!SWIG_IsOK(res1
)) {
24705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24707 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 result
= (arg1
)->GetMinMarginTopLeft();
24711 wxPyEndAllowThreads(__tstate
);
24712 if (PyErr_Occurred()) SWIG_fail
;
24714 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24721 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24722 PyObject
*resultobj
= 0;
24723 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24727 PyObject
*swig_obj
[1] ;
24729 if (!args
) SWIG_fail
;
24730 swig_obj
[0] = args
;
24731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24732 if (!SWIG_IsOK(res1
)) {
24733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24735 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24738 result
= (arg1
)->GetMinMarginBottomRight();
24739 wxPyEndAllowThreads(__tstate
);
24740 if (PyErr_Occurred()) SWIG_fail
;
24742 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24749 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24750 PyObject
*resultobj
= 0;
24751 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24752 wxPaperSize result
;
24755 PyObject
*swig_obj
[1] ;
24757 if (!args
) SWIG_fail
;
24758 swig_obj
[0] = args
;
24759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24760 if (!SWIG_IsOK(res1
)) {
24761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24763 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24767 wxPyEndAllowThreads(__tstate
);
24768 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= SWIG_From_int(static_cast< int >(result
));
24777 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24778 PyObject
*resultobj
= 0;
24779 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24783 PyObject
*swig_obj
[1] ;
24785 if (!args
) SWIG_fail
;
24786 swig_obj
[0] = args
;
24787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24788 if (!SWIG_IsOK(res1
)) {
24789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24791 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24794 result
= (arg1
)->GetPaperSize();
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24798 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24805 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24806 PyObject
*resultobj
= 0;
24807 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24808 wxPrintData
*result
= 0 ;
24811 PyObject
*swig_obj
[1] ;
24813 if (!args
) SWIG_fail
;
24814 swig_obj
[0] = args
;
24815 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24816 if (!SWIG_IsOK(res1
)) {
24817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24819 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24823 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24824 result
= (wxPrintData
*) &_result_ref
;
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24836 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24837 PyObject
*resultobj
= 0;
24838 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24842 PyObject
*swig_obj
[1] ;
24844 if (!args
) SWIG_fail
;
24845 swig_obj
[0] = args
;
24846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24847 if (!SWIG_IsOK(res1
)) {
24848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24850 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 result
= (bool)(arg1
)->Ok();
24854 wxPyEndAllowThreads(__tstate
);
24855 if (PyErr_Occurred()) SWIG_fail
;
24858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24866 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24867 PyObject
*resultobj
= 0;
24868 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24874 PyObject
* obj0
= 0 ;
24875 PyObject
* obj1
= 0 ;
24876 char * kwnames
[] = {
24877 (char *) "self",(char *) "flag", NULL
24880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24882 if (!SWIG_IsOK(res1
)) {
24883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24885 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24886 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24887 if (!SWIG_IsOK(ecode2
)) {
24888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
24890 arg2
= static_cast< bool >(val2
);
24892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24893 (arg1
)->SetDefaultInfo(arg2
);
24894 wxPyEndAllowThreads(__tstate
);
24895 if (PyErr_Occurred()) SWIG_fail
;
24897 resultobj
= SWIG_Py_Void();
24904 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24905 PyObject
*resultobj
= 0;
24906 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24912 PyObject
* obj0
= 0 ;
24913 PyObject
* obj1
= 0 ;
24914 char * kwnames
[] = {
24915 (char *) "self",(char *) "flag", NULL
24918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24920 if (!SWIG_IsOK(res1
)) {
24921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24923 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24924 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24925 if (!SWIG_IsOK(ecode2
)) {
24926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
24928 arg2
= static_cast< bool >(val2
);
24930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24931 (arg1
)->SetDefaultMinMargins(arg2
);
24932 wxPyEndAllowThreads(__tstate
);
24933 if (PyErr_Occurred()) SWIG_fail
;
24935 resultobj
= SWIG_Py_Void();
24942 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24943 PyObject
*resultobj
= 0;
24944 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24945 wxPoint
*arg2
= 0 ;
24949 PyObject
* obj0
= 0 ;
24950 PyObject
* obj1
= 0 ;
24951 char * kwnames
[] = {
24952 (char *) "self",(char *) "pt", NULL
24955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24957 if (!SWIG_IsOK(res1
)) {
24958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24960 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24963 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
24968 wxPyEndAllowThreads(__tstate
);
24969 if (PyErr_Occurred()) SWIG_fail
;
24971 resultobj
= SWIG_Py_Void();
24978 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24979 PyObject
*resultobj
= 0;
24980 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24981 wxPoint
*arg2
= 0 ;
24985 PyObject
* obj0
= 0 ;
24986 PyObject
* obj1
= 0 ;
24987 char * kwnames
[] = {
24988 (char *) "self",(char *) "pt", NULL
24991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24993 if (!SWIG_IsOK(res1
)) {
24994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24996 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24999 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25003 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25004 wxPyEndAllowThreads(__tstate
);
25005 if (PyErr_Occurred()) SWIG_fail
;
25007 resultobj
= SWIG_Py_Void();
25014 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25015 PyObject
*resultobj
= 0;
25016 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25017 wxPoint
*arg2
= 0 ;
25021 PyObject
* obj0
= 0 ;
25022 PyObject
* obj1
= 0 ;
25023 char * kwnames
[] = {
25024 (char *) "self",(char *) "pt", NULL
25027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25029 if (!SWIG_IsOK(res1
)) {
25030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25032 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25035 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25039 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25040 wxPyEndAllowThreads(__tstate
);
25041 if (PyErr_Occurred()) SWIG_fail
;
25043 resultobj
= SWIG_Py_Void();
25050 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25051 PyObject
*resultobj
= 0;
25052 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25053 wxPoint
*arg2
= 0 ;
25057 PyObject
* obj0
= 0 ;
25058 PyObject
* obj1
= 0 ;
25059 char * kwnames
[] = {
25060 (char *) "self",(char *) "pt", NULL
25063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25065 if (!SWIG_IsOK(res1
)) {
25066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25068 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25071 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25075 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25076 wxPyEndAllowThreads(__tstate
);
25077 if (PyErr_Occurred()) SWIG_fail
;
25079 resultobj
= SWIG_Py_Void();
25086 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25087 PyObject
*resultobj
= 0;
25088 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25094 PyObject
* obj0
= 0 ;
25095 PyObject
* obj1
= 0 ;
25096 char * kwnames
[] = {
25097 (char *) "self",(char *) "id", NULL
25100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25101 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25102 if (!SWIG_IsOK(res1
)) {
25103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25105 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25107 if (!SWIG_IsOK(ecode2
)) {
25108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25110 arg2
= static_cast< wxPaperSize
>(val2
);
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25113 (arg1
)->SetPaperId(arg2
);
25114 wxPyEndAllowThreads(__tstate
);
25115 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= SWIG_Py_Void();
25124 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25125 PyObject
*resultobj
= 0;
25126 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25131 PyObject
* obj0
= 0 ;
25132 PyObject
* obj1
= 0 ;
25133 char * kwnames
[] = {
25134 (char *) "self",(char *) "size", NULL
25137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25139 if (!SWIG_IsOK(res1
)) {
25140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25142 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25145 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25150 wxPyEndAllowThreads(__tstate
);
25151 if (PyErr_Occurred()) SWIG_fail
;
25153 resultobj
= SWIG_Py_Void();
25160 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25161 PyObject
*resultobj
= 0;
25162 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25163 wxPrintData
*arg2
= 0 ;
25168 PyObject
* obj0
= 0 ;
25169 PyObject
* obj1
= 0 ;
25170 char * kwnames
[] = {
25171 (char *) "self",(char *) "printData", NULL
25174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25176 if (!SWIG_IsOK(res1
)) {
25177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25179 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25180 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25181 if (!SWIG_IsOK(res2
)) {
25182 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25185 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25187 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25190 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25191 wxPyEndAllowThreads(__tstate
);
25192 if (PyErr_Occurred()) SWIG_fail
;
25194 resultobj
= SWIG_Py_Void();
25201 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25202 PyObject
*resultobj
= 0;
25203 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25206 PyObject
*swig_obj
[1] ;
25208 if (!args
) SWIG_fail
;
25209 swig_obj
[0] = args
;
25210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25211 if (!SWIG_IsOK(res1
)) {
25212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25214 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 (arg1
)->CalculateIdFromPaperSize();
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25221 resultobj
= SWIG_Py_Void();
25228 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25229 PyObject
*resultobj
= 0;
25230 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25233 PyObject
*swig_obj
[1] ;
25235 if (!args
) SWIG_fail
;
25236 swig_obj
[0] = args
;
25237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25238 if (!SWIG_IsOK(res1
)) {
25239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25241 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25244 (arg1
)->CalculatePaperSizeFromId();
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25248 resultobj
= SWIG_Py_Void();
25255 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25257 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25258 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25259 return SWIG_Py_Void();
25262 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25263 return SWIG_Python_InitShadowInstance(args
);
25266 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25267 PyObject
*resultobj
= 0;
25268 wxWindow
*arg1
= (wxWindow
*) 0 ;
25269 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25270 wxPageSetupDialog
*result
= 0 ;
25275 PyObject
* obj0
= 0 ;
25276 PyObject
* obj1
= 0 ;
25277 char * kwnames
[] = {
25278 (char *) "parent",(char *) "data", NULL
25281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25283 if (!SWIG_IsOK(res1
)) {
25284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25286 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25288 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25289 if (!SWIG_IsOK(res2
)) {
25290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25292 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25295 if (!wxPyCheckForApp()) SWIG_fail
;
25296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25297 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25298 wxPyEndAllowThreads(__tstate
);
25299 if (PyErr_Occurred()) SWIG_fail
;
25301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25308 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25309 PyObject
*resultobj
= 0;
25310 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25311 wxPageSetupDialogData
*result
= 0 ;
25314 PyObject
*swig_obj
[1] ;
25316 if (!args
) SWIG_fail
;
25317 swig_obj
[0] = args
;
25318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25319 if (!SWIG_IsOK(res1
)) {
25320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25322 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25327 result
= (wxPageSetupDialogData
*) &_result_ref
;
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25332 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25339 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25340 PyObject
*resultobj
= 0;
25341 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25342 wxPageSetupDialogData
*result
= 0 ;
25345 PyObject
*swig_obj
[1] ;
25347 if (!args
) SWIG_fail
;
25348 swig_obj
[0] = args
;
25349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25350 if (!SWIG_IsOK(res1
)) {
25351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25353 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25357 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25358 result
= (wxPageSetupDialogData
*) &_result_ref
;
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25370 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25371 PyObject
*resultobj
= 0;
25372 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25376 PyObject
*swig_obj
[1] ;
25378 if (!args
) SWIG_fail
;
25379 swig_obj
[0] = args
;
25380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25381 if (!SWIG_IsOK(res1
)) {
25382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25384 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25387 result
= (int)(arg1
)->ShowModal();
25388 wxPyEndAllowThreads(__tstate
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25391 resultobj
= SWIG_From_int(static_cast< int >(result
));
25398 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25400 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25401 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25402 return SWIG_Py_Void();
25405 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25406 return SWIG_Python_InitShadowInstance(args
);
25409 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25410 PyObject
*resultobj
= 0;
25411 wxPrintDialogData
*result
= 0 ;
25413 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25416 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25417 wxPyEndAllowThreads(__tstate
);
25418 if (PyErr_Occurred()) SWIG_fail
;
25420 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25427 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25428 PyObject
*resultobj
= 0;
25429 wxPrintData
*arg1
= 0 ;
25430 wxPrintDialogData
*result
= 0 ;
25434 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25436 if (!SWIG_IsOK(res1
)) {
25437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25440 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25442 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25445 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25446 wxPyEndAllowThreads(__tstate
);
25447 if (PyErr_Occurred()) SWIG_fail
;
25449 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25456 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25457 PyObject
*resultobj
= 0;
25458 wxPrintDialogData
*arg1
= 0 ;
25459 wxPrintDialogData
*result
= 0 ;
25463 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25464 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25465 if (!SWIG_IsOK(res1
)) {
25466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25469 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25471 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25474 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25485 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25489 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25492 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25497 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25498 _v
= SWIG_CheckState(res
);
25500 if (!_v
) goto check_2
;
25501 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25506 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25510 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25515 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25516 PyObject
*resultobj
= 0;
25517 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25520 PyObject
*swig_obj
[1] ;
25522 if (!args
) SWIG_fail
;
25523 swig_obj
[0] = args
;
25524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25525 if (!SWIG_IsOK(res1
)) {
25526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25528 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25536 resultobj
= SWIG_Py_Void();
25543 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25544 PyObject
*resultobj
= 0;
25545 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25549 PyObject
*swig_obj
[1] ;
25551 if (!args
) SWIG_fail
;
25552 swig_obj
[0] = args
;
25553 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25554 if (!SWIG_IsOK(res1
)) {
25555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25557 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25560 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25561 wxPyEndAllowThreads(__tstate
);
25562 if (PyErr_Occurred()) SWIG_fail
;
25564 resultobj
= SWIG_From_int(static_cast< int >(result
));
25571 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25572 PyObject
*resultobj
= 0;
25573 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25577 PyObject
*swig_obj
[1] ;
25579 if (!args
) SWIG_fail
;
25580 swig_obj
[0] = args
;
25581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25582 if (!SWIG_IsOK(res1
)) {
25583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25585 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= SWIG_From_int(static_cast< int >(result
));
25599 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25600 PyObject
*resultobj
= 0;
25601 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25605 PyObject
*swig_obj
[1] ;
25607 if (!args
) SWIG_fail
;
25608 swig_obj
[0] = args
;
25609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25610 if (!SWIG_IsOK(res1
)) {
25611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25613 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25616 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25620 resultobj
= SWIG_From_int(static_cast< int >(result
));
25627 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25628 PyObject
*resultobj
= 0;
25629 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25633 PyObject
*swig_obj
[1] ;
25635 if (!args
) SWIG_fail
;
25636 swig_obj
[0] = args
;
25637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25638 if (!SWIG_IsOK(res1
)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25641 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25644 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25648 resultobj
= SWIG_From_int(static_cast< int >(result
));
25655 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25656 PyObject
*resultobj
= 0;
25657 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25661 PyObject
*swig_obj
[1] ;
25663 if (!args
) SWIG_fail
;
25664 swig_obj
[0] = args
;
25665 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25666 if (!SWIG_IsOK(res1
)) {
25667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25669 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25672 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25676 resultobj
= SWIG_From_int(static_cast< int >(result
));
25683 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25684 PyObject
*resultobj
= 0;
25685 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25689 PyObject
*swig_obj
[1] ;
25691 if (!args
) SWIG_fail
;
25692 swig_obj
[0] = args
;
25693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25694 if (!SWIG_IsOK(res1
)) {
25695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25697 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25700 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25701 wxPyEndAllowThreads(__tstate
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25713 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25714 PyObject
*resultobj
= 0;
25715 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25719 PyObject
*swig_obj
[1] ;
25721 if (!args
) SWIG_fail
;
25722 swig_obj
[0] = args
;
25723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25724 if (!SWIG_IsOK(res1
)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25727 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25743 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25744 PyObject
*resultobj
= 0;
25745 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25749 PyObject
*swig_obj
[1] ;
25751 if (!args
) SWIG_fail
;
25752 swig_obj
[0] = args
;
25753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25754 if (!SWIG_IsOK(res1
)) {
25755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25757 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25760 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
25761 wxPyEndAllowThreads(__tstate
);
25762 if (PyErr_Occurred()) SWIG_fail
;
25765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25773 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25774 PyObject
*resultobj
= 0;
25775 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25779 PyObject
*swig_obj
[1] ;
25781 if (!args
) SWIG_fail
;
25782 swig_obj
[0] = args
;
25783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25784 if (!SWIG_IsOK(res1
)) {
25785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25787 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25790 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25803 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25804 PyObject
*resultobj
= 0;
25805 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25811 PyObject
* obj0
= 0 ;
25812 PyObject
* obj1
= 0 ;
25813 char * kwnames
[] = {
25814 (char *) "self",(char *) "v", NULL
25817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25819 if (!SWIG_IsOK(res1
)) {
25820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25822 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25824 if (!SWIG_IsOK(ecode2
)) {
25825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25827 arg2
= static_cast< int >(val2
);
25829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25830 (arg1
)->SetFromPage(arg2
);
25831 wxPyEndAllowThreads(__tstate
);
25832 if (PyErr_Occurred()) SWIG_fail
;
25834 resultobj
= SWIG_Py_Void();
25841 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25842 PyObject
*resultobj
= 0;
25843 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25849 PyObject
* obj0
= 0 ;
25850 PyObject
* obj1
= 0 ;
25851 char * kwnames
[] = {
25852 (char *) "self",(char *) "v", NULL
25855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25857 if (!SWIG_IsOK(res1
)) {
25858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25860 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25862 if (!SWIG_IsOK(ecode2
)) {
25863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25865 arg2
= static_cast< int >(val2
);
25867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25868 (arg1
)->SetToPage(arg2
);
25869 wxPyEndAllowThreads(__tstate
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25872 resultobj
= SWIG_Py_Void();
25879 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25880 PyObject
*resultobj
= 0;
25881 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25887 PyObject
* obj0
= 0 ;
25888 PyObject
* obj1
= 0 ;
25889 char * kwnames
[] = {
25890 (char *) "self",(char *) "v", NULL
25893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25895 if (!SWIG_IsOK(res1
)) {
25896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25898 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25900 if (!SWIG_IsOK(ecode2
)) {
25901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
25903 arg2
= static_cast< int >(val2
);
25905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25906 (arg1
)->SetMinPage(arg2
);
25907 wxPyEndAllowThreads(__tstate
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25910 resultobj
= SWIG_Py_Void();
25917 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25918 PyObject
*resultobj
= 0;
25919 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25925 PyObject
* obj0
= 0 ;
25926 PyObject
* obj1
= 0 ;
25927 char * kwnames
[] = {
25928 (char *) "self",(char *) "v", NULL
25931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25933 if (!SWIG_IsOK(res1
)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25936 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25937 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25938 if (!SWIG_IsOK(ecode2
)) {
25939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
25941 arg2
= static_cast< int >(val2
);
25943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25944 (arg1
)->SetMaxPage(arg2
);
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= SWIG_Py_Void();
25955 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25956 PyObject
*resultobj
= 0;
25957 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25963 PyObject
* obj0
= 0 ;
25964 PyObject
* obj1
= 0 ;
25965 char * kwnames
[] = {
25966 (char *) "self",(char *) "v", NULL
25969 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25970 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25971 if (!SWIG_IsOK(res1
)) {
25972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25974 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25975 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25976 if (!SWIG_IsOK(ecode2
)) {
25977 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
25979 arg2
= static_cast< int >(val2
);
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 (arg1
)->SetNoCopies(arg2
);
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= SWIG_Py_Void();
25993 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25994 PyObject
*resultobj
= 0;
25995 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26001 PyObject
* obj0
= 0 ;
26002 PyObject
* obj1
= 0 ;
26003 char * kwnames
[] = {
26004 (char *) "self",(char *) "flag", NULL
26007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26009 if (!SWIG_IsOK(res1
)) {
26010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26012 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26013 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26014 if (!SWIG_IsOK(ecode2
)) {
26015 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26017 arg2
= static_cast< bool >(val2
);
26019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26020 (arg1
)->SetAllPages(arg2
);
26021 wxPyEndAllowThreads(__tstate
);
26022 if (PyErr_Occurred()) SWIG_fail
;
26024 resultobj
= SWIG_Py_Void();
26031 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26032 PyObject
*resultobj
= 0;
26033 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26039 PyObject
* obj0
= 0 ;
26040 PyObject
* obj1
= 0 ;
26041 char * kwnames
[] = {
26042 (char *) "self",(char *) "flag", NULL
26045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26047 if (!SWIG_IsOK(res1
)) {
26048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26050 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26051 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26052 if (!SWIG_IsOK(ecode2
)) {
26053 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26055 arg2
= static_cast< bool >(val2
);
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 (arg1
)->SetSelection(arg2
);
26059 wxPyEndAllowThreads(__tstate
);
26060 if (PyErr_Occurred()) SWIG_fail
;
26062 resultobj
= SWIG_Py_Void();
26069 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26070 PyObject
*resultobj
= 0;
26071 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26077 PyObject
* obj0
= 0 ;
26078 PyObject
* obj1
= 0 ;
26079 char * kwnames
[] = {
26080 (char *) "self",(char *) "flag", NULL
26083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26085 if (!SWIG_IsOK(res1
)) {
26086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26088 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26089 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26090 if (!SWIG_IsOK(ecode2
)) {
26091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26093 arg2
= static_cast< bool >(val2
);
26095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26096 (arg1
)->SetCollate(arg2
);
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26100 resultobj
= SWIG_Py_Void();
26107 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26108 PyObject
*resultobj
= 0;
26109 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26115 PyObject
* obj0
= 0 ;
26116 PyObject
* obj1
= 0 ;
26117 char * kwnames
[] = {
26118 (char *) "self",(char *) "flag", NULL
26121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26123 if (!SWIG_IsOK(res1
)) {
26124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26126 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26127 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26128 if (!SWIG_IsOK(ecode2
)) {
26129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26131 arg2
= static_cast< bool >(val2
);
26133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26134 (arg1
)->SetPrintToFile(arg2
);
26135 wxPyEndAllowThreads(__tstate
);
26136 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= SWIG_Py_Void();
26145 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26146 PyObject
*resultobj
= 0;
26147 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26153 PyObject
* obj0
= 0 ;
26154 PyObject
* obj1
= 0 ;
26155 char * kwnames
[] = {
26156 (char *) "self",(char *) "flag", NULL
26159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26161 if (!SWIG_IsOK(res1
)) {
26162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26164 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26165 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26166 if (!SWIG_IsOK(ecode2
)) {
26167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26169 arg2
= static_cast< bool >(val2
);
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26172 (arg1
)->EnablePrintToFile(arg2
);
26173 wxPyEndAllowThreads(__tstate
);
26174 if (PyErr_Occurred()) SWIG_fail
;
26176 resultobj
= SWIG_Py_Void();
26183 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
= 0;
26185 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26191 PyObject
* obj0
= 0 ;
26192 PyObject
* obj1
= 0 ;
26193 char * kwnames
[] = {
26194 (char *) "self",(char *) "flag", NULL
26197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26199 if (!SWIG_IsOK(res1
)) {
26200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26202 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26203 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26204 if (!SWIG_IsOK(ecode2
)) {
26205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26207 arg2
= static_cast< bool >(val2
);
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 (arg1
)->EnableSelection(arg2
);
26211 wxPyEndAllowThreads(__tstate
);
26212 if (PyErr_Occurred()) SWIG_fail
;
26214 resultobj
= SWIG_Py_Void();
26221 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26222 PyObject
*resultobj
= 0;
26223 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26229 PyObject
* obj0
= 0 ;
26230 PyObject
* obj1
= 0 ;
26231 char * kwnames
[] = {
26232 (char *) "self",(char *) "flag", NULL
26235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26237 if (!SWIG_IsOK(res1
)) {
26238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26240 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26241 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26242 if (!SWIG_IsOK(ecode2
)) {
26243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26245 arg2
= static_cast< bool >(val2
);
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 (arg1
)->EnablePageNumbers(arg2
);
26249 wxPyEndAllowThreads(__tstate
);
26250 if (PyErr_Occurred()) SWIG_fail
;
26252 resultobj
= SWIG_Py_Void();
26259 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26260 PyObject
*resultobj
= 0;
26261 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26267 PyObject
* obj0
= 0 ;
26268 PyObject
* obj1
= 0 ;
26269 char * kwnames
[] = {
26270 (char *) "self",(char *) "flag", NULL
26273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26275 if (!SWIG_IsOK(res1
)) {
26276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26278 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26279 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26280 if (!SWIG_IsOK(ecode2
)) {
26281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26283 arg2
= static_cast< bool >(val2
);
26285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26286 (arg1
)->EnableHelp(arg2
);
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26290 resultobj
= SWIG_Py_Void();
26297 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26298 PyObject
*resultobj
= 0;
26299 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26303 PyObject
*swig_obj
[1] ;
26305 if (!args
) SWIG_fail
;
26306 swig_obj
[0] = args
;
26307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26308 if (!SWIG_IsOK(res1
)) {
26309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26311 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26314 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26327 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26328 PyObject
*resultobj
= 0;
26329 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26333 PyObject
*swig_obj
[1] ;
26335 if (!args
) SWIG_fail
;
26336 swig_obj
[0] = args
;
26337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26338 if (!SWIG_IsOK(res1
)) {
26339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26341 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26344 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26345 wxPyEndAllowThreads(__tstate
);
26346 if (PyErr_Occurred()) SWIG_fail
;
26349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26357 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26358 PyObject
*resultobj
= 0;
26359 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26363 PyObject
*swig_obj
[1] ;
26365 if (!args
) SWIG_fail
;
26366 swig_obj
[0] = args
;
26367 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26368 if (!SWIG_IsOK(res1
)) {
26369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26371 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26374 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26375 wxPyEndAllowThreads(__tstate
);
26376 if (PyErr_Occurred()) SWIG_fail
;
26379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26387 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26388 PyObject
*resultobj
= 0;
26389 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26393 PyObject
*swig_obj
[1] ;
26395 if (!args
) SWIG_fail
;
26396 swig_obj
[0] = args
;
26397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26398 if (!SWIG_IsOK(res1
)) {
26399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26401 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26417 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26418 PyObject
*resultobj
= 0;
26419 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26423 PyObject
*swig_obj
[1] ;
26425 if (!args
) SWIG_fail
;
26426 swig_obj
[0] = args
;
26427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26428 if (!SWIG_IsOK(res1
)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26431 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26434 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26435 wxPyEndAllowThreads(__tstate
);
26436 if (PyErr_Occurred()) SWIG_fail
;
26439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26447 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26448 PyObject
*resultobj
= 0;
26449 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26450 wxPrintData
*result
= 0 ;
26453 PyObject
*swig_obj
[1] ;
26455 if (!args
) SWIG_fail
;
26456 swig_obj
[0] = args
;
26457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26458 if (!SWIG_IsOK(res1
)) {
26459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26461 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26466 result
= (wxPrintData
*) &_result_ref
;
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26471 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26478 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26479 PyObject
*resultobj
= 0;
26480 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26481 wxPrintData
*arg2
= 0 ;
26486 PyObject
* obj0
= 0 ;
26487 PyObject
* obj1
= 0 ;
26488 char * kwnames
[] = {
26489 (char *) "self",(char *) "printData", NULL
26492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26493 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26494 if (!SWIG_IsOK(res1
)) {
26495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26497 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26498 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26499 if (!SWIG_IsOK(res2
)) {
26500 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26503 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26505 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26509 wxPyEndAllowThreads(__tstate
);
26510 if (PyErr_Occurred()) SWIG_fail
;
26512 resultobj
= SWIG_Py_Void();
26519 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26521 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26522 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26523 return SWIG_Py_Void();
26526 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26527 return SWIG_Python_InitShadowInstance(args
);
26530 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
= 0;
26532 wxWindow
*arg1
= (wxWindow
*) 0 ;
26533 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26534 wxPrintDialog
*result
= 0 ;
26539 PyObject
* obj0
= 0 ;
26540 PyObject
* obj1
= 0 ;
26541 char * kwnames
[] = {
26542 (char *) "parent",(char *) "data", NULL
26545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26547 if (!SWIG_IsOK(res1
)) {
26548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26550 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26552 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26553 if (!SWIG_IsOK(res2
)) {
26554 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26556 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26559 if (!wxPyCheckForApp()) SWIG_fail
;
26560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26561 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26565 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26572 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26573 PyObject
*resultobj
= 0;
26574 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26578 PyObject
*swig_obj
[1] ;
26580 if (!args
) SWIG_fail
;
26581 swig_obj
[0] = args
;
26582 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26583 if (!SWIG_IsOK(res1
)) {
26584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26586 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 result
= (int)(arg1
)->ShowModal();
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26593 resultobj
= SWIG_From_int(static_cast< int >(result
));
26600 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26601 PyObject
*resultobj
= 0;
26602 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26603 wxPrintDialogData
*result
= 0 ;
26606 PyObject
*swig_obj
[1] ;
26608 if (!args
) SWIG_fail
;
26609 swig_obj
[0] = args
;
26610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26611 if (!SWIG_IsOK(res1
)) {
26612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26614 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26619 result
= (wxPrintDialogData
*) &_result_ref
;
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26631 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26632 PyObject
*resultobj
= 0;
26633 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26634 wxPrintData
*result
= 0 ;
26637 PyObject
*swig_obj
[1] ;
26639 if (!args
) SWIG_fail
;
26640 swig_obj
[0] = args
;
26641 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26642 if (!SWIG_IsOK(res1
)) {
26643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26645 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26649 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26650 result
= (wxPrintData
*) &_result_ref
;
26652 wxPyEndAllowThreads(__tstate
);
26653 if (PyErr_Occurred()) SWIG_fail
;
26655 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26662 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26663 PyObject
*resultobj
= 0;
26664 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26668 PyObject
*swig_obj
[1] ;
26670 if (!args
) SWIG_fail
;
26671 swig_obj
[0] = args
;
26672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26673 if (!SWIG_IsOK(res1
)) {
26674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26676 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26679 result
= (wxDC
*)(arg1
)->GetPrintDC();
26680 wxPyEndAllowThreads(__tstate
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26684 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26692 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26694 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26695 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26696 return SWIG_Py_Void();
26699 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26700 return SWIG_Python_InitShadowInstance(args
);
26703 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26704 PyObject
*resultobj
= 0;
26705 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26706 wxPrinter
*result
= 0 ;
26709 PyObject
* obj0
= 0 ;
26710 char * kwnames
[] = {
26711 (char *) "data", NULL
26714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26717 if (!SWIG_IsOK(res1
)) {
26718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26720 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26723 if (!wxPyCheckForApp()) SWIG_fail
;
26724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 result
= (wxPrinter
*)new wxPrinter(arg1
);
26726 wxPyEndAllowThreads(__tstate
);
26727 if (PyErr_Occurred()) SWIG_fail
;
26729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26736 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26737 PyObject
*resultobj
= 0;
26738 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26741 PyObject
*swig_obj
[1] ;
26743 if (!args
) SWIG_fail
;
26744 swig_obj
[0] = args
;
26745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26746 if (!SWIG_IsOK(res1
)) {
26747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26749 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26757 resultobj
= SWIG_Py_Void();
26764 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26765 PyObject
*resultobj
= 0;
26766 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26767 wxWindow
*arg2
= (wxWindow
*) 0 ;
26768 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26769 wxWindow
*result
= 0 ;
26776 PyObject
* obj0
= 0 ;
26777 PyObject
* obj1
= 0 ;
26778 PyObject
* obj2
= 0 ;
26779 char * kwnames
[] = {
26780 (char *) "self",(char *) "parent",(char *) "printout", NULL
26783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26785 if (!SWIG_IsOK(res1
)) {
26786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26788 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26789 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26790 if (!SWIG_IsOK(res2
)) {
26791 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26793 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26794 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26795 if (!SWIG_IsOK(res3
)) {
26796 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26798 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26801 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= wxPyMake_wxObject(result
, 0);
26814 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26815 PyObject
*resultobj
= 0;
26816 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26817 wxWindow
*arg2
= (wxWindow
*) 0 ;
26818 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26819 wxString
*arg4
= 0 ;
26826 bool temp4
= false ;
26827 PyObject
* obj0
= 0 ;
26828 PyObject
* obj1
= 0 ;
26829 PyObject
* obj2
= 0 ;
26830 PyObject
* obj3
= 0 ;
26831 char * kwnames
[] = {
26832 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26837 if (!SWIG_IsOK(res1
)) {
26838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26840 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26842 if (!SWIG_IsOK(res2
)) {
26843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26845 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26846 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26847 if (!SWIG_IsOK(res3
)) {
26848 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26850 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26852 arg4
= wxString_in_helper(obj3
);
26853 if (arg4
== NULL
) SWIG_fail
;
26857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26858 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26862 resultobj
= SWIG_Py_Void();
26877 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26878 PyObject
*resultobj
= 0;
26879 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26880 wxWindow
*arg2
= (wxWindow
*) 0 ;
26886 PyObject
* obj0
= 0 ;
26887 PyObject
* obj1
= 0 ;
26888 char * kwnames
[] = {
26889 (char *) "self",(char *) "parent", NULL
26892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26894 if (!SWIG_IsOK(res1
)) {
26895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
26897 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26899 if (!SWIG_IsOK(res2
)) {
26900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
26902 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26905 result
= (bool)(arg1
)->Setup(arg2
);
26906 wxPyEndAllowThreads(__tstate
);
26907 if (PyErr_Occurred()) SWIG_fail
;
26910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26918 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26919 PyObject
*resultobj
= 0;
26920 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26921 wxWindow
*arg2
= (wxWindow
*) 0 ;
26922 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26923 bool arg4
= (bool) true ;
26933 PyObject
* obj0
= 0 ;
26934 PyObject
* obj1
= 0 ;
26935 PyObject
* obj2
= 0 ;
26936 PyObject
* obj3
= 0 ;
26937 char * kwnames
[] = {
26938 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
26941 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26942 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26943 if (!SWIG_IsOK(res1
)) {
26944 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
26946 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26947 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26948 if (!SWIG_IsOK(res2
)) {
26949 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
26951 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26952 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26953 if (!SWIG_IsOK(res3
)) {
26954 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26956 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26958 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
26959 if (!SWIG_IsOK(ecode4
)) {
26960 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
26962 arg4
= static_cast< bool >(val4
);
26965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26966 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26979 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26980 PyObject
*resultobj
= 0;
26981 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26982 wxWindow
*arg2
= (wxWindow
*) 0 ;
26988 PyObject
* obj0
= 0 ;
26989 PyObject
* obj1
= 0 ;
26990 char * kwnames
[] = {
26991 (char *) "self",(char *) "parent", NULL
26994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26996 if (!SWIG_IsOK(res1
)) {
26997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
26999 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27000 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27001 if (!SWIG_IsOK(res2
)) {
27002 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27004 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27007 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27008 wxPyEndAllowThreads(__tstate
);
27009 if (PyErr_Occurred()) SWIG_fail
;
27012 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27020 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27021 PyObject
*resultobj
= 0;
27022 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27023 wxPrintDialogData
*result
= 0 ;
27026 PyObject
*swig_obj
[1] ;
27028 if (!args
) SWIG_fail
;
27029 swig_obj
[0] = args
;
27030 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27031 if (!SWIG_IsOK(res1
)) {
27032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27034 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27038 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27039 result
= (wxPrintDialogData
*) &_result_ref
;
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27051 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27052 PyObject
*resultobj
= 0;
27053 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27057 PyObject
*swig_obj
[1] ;
27059 if (!args
) SWIG_fail
;
27060 swig_obj
[0] = args
;
27061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27062 if (!SWIG_IsOK(res1
)) {
27063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27065 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 result
= (bool)(arg1
)->GetAbort();
27069 wxPyEndAllowThreads(__tstate
);
27070 if (PyErr_Occurred()) SWIG_fail
;
27073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27081 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27082 PyObject
*resultobj
= 0;
27083 wxPrinterError result
;
27085 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 result
= (wxPrinterError
)wxPrinter::GetLastError();
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27092 resultobj
= SWIG_From_int(static_cast< int >(result
));
27099 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27101 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27102 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27103 return SWIG_Py_Void();
27106 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27107 return SWIG_Python_InitShadowInstance(args
);
27110 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27111 PyObject
*resultobj
= 0;
27112 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27113 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27114 wxPyPrintout
*result
= 0 ;
27115 bool temp1
= false ;
27116 PyObject
* obj0
= 0 ;
27117 char * kwnames
[] = {
27118 (char *) "title", NULL
27121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27124 arg1
= wxString_in_helper(obj0
);
27125 if (arg1
== NULL
) SWIG_fail
;
27130 if (!wxPyCheckForApp()) SWIG_fail
;
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27133 wxPyEndAllowThreads(__tstate
);
27134 if (PyErr_Occurred()) SWIG_fail
;
27136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27151 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27152 PyObject
*resultobj
= 0;
27153 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27156 PyObject
*swig_obj
[1] ;
27158 if (!args
) SWIG_fail
;
27159 swig_obj
[0] = args
;
27160 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27161 if (!SWIG_IsOK(res1
)) {
27162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27164 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27169 wxPyEndAllowThreads(__tstate
);
27170 if (PyErr_Occurred()) SWIG_fail
;
27172 resultobj
= SWIG_Py_Void();
27179 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27180 PyObject
*resultobj
= 0;
27181 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27182 PyObject
*arg2
= (PyObject
*) 0 ;
27183 PyObject
*arg3
= (PyObject
*) 0 ;
27186 PyObject
* obj0
= 0 ;
27187 PyObject
* obj1
= 0 ;
27188 PyObject
* obj2
= 0 ;
27189 char * kwnames
[] = {
27190 (char *) "self",(char *) "self",(char *) "_class", NULL
27193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27195 if (!SWIG_IsOK(res1
)) {
27196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27198 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27203 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27204 wxPyEndAllowThreads(__tstate
);
27205 if (PyErr_Occurred()) SWIG_fail
;
27207 resultobj
= SWIG_Py_Void();
27214 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27215 PyObject
*resultobj
= 0;
27216 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27220 PyObject
*swig_obj
[1] ;
27222 if (!args
) SWIG_fail
;
27223 swig_obj
[0] = args
;
27224 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27225 if (!SWIG_IsOK(res1
)) {
27226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27228 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27231 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27248 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27249 PyObject
*resultobj
= 0;
27250 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27254 PyObject
*swig_obj
[1] ;
27256 if (!args
) SWIG_fail
;
27257 swig_obj
[0] = args
;
27258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27259 if (!SWIG_IsOK(res1
)) {
27260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27262 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27265 result
= (wxDC
*)(arg1
)->GetDC();
27266 wxPyEndAllowThreads(__tstate
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27278 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27279 PyObject
*resultobj
= 0;
27280 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27281 wxDC
*arg2
= (wxDC
*) 0 ;
27286 PyObject
* obj0
= 0 ;
27287 PyObject
* obj1
= 0 ;
27288 char * kwnames
[] = {
27289 (char *) "self",(char *) "dc", NULL
27292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27294 if (!SWIG_IsOK(res1
)) {
27295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27297 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27298 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27299 if (!SWIG_IsOK(res2
)) {
27300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27302 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 (arg1
)->SetDC(arg2
);
27306 wxPyEndAllowThreads(__tstate
);
27307 if (PyErr_Occurred()) SWIG_fail
;
27309 resultobj
= SWIG_Py_Void();
27316 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
= 0;
27318 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27327 PyObject
* obj0
= 0 ;
27328 PyObject
* obj1
= 0 ;
27329 PyObject
* obj2
= 0 ;
27330 char * kwnames
[] = {
27331 (char *) "self",(char *) "w",(char *) "h", NULL
27334 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27335 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27336 if (!SWIG_IsOK(res1
)) {
27337 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27339 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27340 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27341 if (!SWIG_IsOK(ecode2
)) {
27342 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27344 arg2
= static_cast< int >(val2
);
27345 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27346 if (!SWIG_IsOK(ecode3
)) {
27347 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27349 arg3
= static_cast< int >(val3
);
27351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27352 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27353 wxPyEndAllowThreads(__tstate
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27356 resultobj
= SWIG_Py_Void();
27363 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27364 PyObject
*resultobj
= 0;
27365 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27366 int *arg2
= (int *) 0 ;
27367 int *arg3
= (int *) 0 ;
27371 int res2
= SWIG_TMPOBJ
;
27373 int res3
= SWIG_TMPOBJ
;
27374 PyObject
*swig_obj
[1] ;
27378 if (!args
) SWIG_fail
;
27379 swig_obj
[0] = args
;
27380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27381 if (!SWIG_IsOK(res1
)) {
27382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27384 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27387 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27388 wxPyEndAllowThreads(__tstate
);
27389 if (PyErr_Occurred()) SWIG_fail
;
27391 resultobj
= SWIG_Py_Void();
27392 if (SWIG_IsTmpObj(res2
)) {
27393 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27395 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27396 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27398 if (SWIG_IsTmpObj(res3
)) {
27399 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27401 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27402 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27410 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27411 PyObject
*resultobj
= 0;
27412 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27421 PyObject
* obj0
= 0 ;
27422 PyObject
* obj1
= 0 ;
27423 PyObject
* obj2
= 0 ;
27424 char * kwnames
[] = {
27425 (char *) "self",(char *) "w",(char *) "h", NULL
27428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27430 if (!SWIG_IsOK(res1
)) {
27431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27433 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27435 if (!SWIG_IsOK(ecode2
)) {
27436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27438 arg2
= static_cast< int >(val2
);
27439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27440 if (!SWIG_IsOK(ecode3
)) {
27441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27443 arg3
= static_cast< int >(val3
);
27445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27446 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27447 wxPyEndAllowThreads(__tstate
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27450 resultobj
= SWIG_Py_Void();
27457 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27458 PyObject
*resultobj
= 0;
27459 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27460 int *arg2
= (int *) 0 ;
27461 int *arg3
= (int *) 0 ;
27465 int res2
= SWIG_TMPOBJ
;
27467 int res3
= SWIG_TMPOBJ
;
27468 PyObject
*swig_obj
[1] ;
27472 if (!args
) SWIG_fail
;
27473 swig_obj
[0] = args
;
27474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27475 if (!SWIG_IsOK(res1
)) {
27476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27478 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27481 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27482 wxPyEndAllowThreads(__tstate
);
27483 if (PyErr_Occurred()) SWIG_fail
;
27485 resultobj
= SWIG_Py_Void();
27486 if (SWIG_IsTmpObj(res2
)) {
27487 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27489 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27490 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27492 if (SWIG_IsTmpObj(res3
)) {
27493 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27495 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27496 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27504 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27505 PyObject
*resultobj
= 0;
27506 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27515 PyObject
* obj0
= 0 ;
27516 PyObject
* obj1
= 0 ;
27517 PyObject
* obj2
= 0 ;
27518 char * kwnames
[] = {
27519 (char *) "self",(char *) "x",(char *) "y", NULL
27522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27524 if (!SWIG_IsOK(res1
)) {
27525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27527 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27529 if (!SWIG_IsOK(ecode2
)) {
27530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27532 arg2
= static_cast< int >(val2
);
27533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27534 if (!SWIG_IsOK(ecode3
)) {
27535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27537 arg3
= static_cast< int >(val3
);
27539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27540 (arg1
)->SetPPIScreen(arg2
,arg3
);
27541 wxPyEndAllowThreads(__tstate
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27544 resultobj
= SWIG_Py_Void();
27551 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27552 PyObject
*resultobj
= 0;
27553 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27554 int *arg2
= (int *) 0 ;
27555 int *arg3
= (int *) 0 ;
27559 int res2
= SWIG_TMPOBJ
;
27561 int res3
= SWIG_TMPOBJ
;
27562 PyObject
*swig_obj
[1] ;
27566 if (!args
) SWIG_fail
;
27567 swig_obj
[0] = args
;
27568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27569 if (!SWIG_IsOK(res1
)) {
27570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27572 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27575 (arg1
)->GetPPIScreen(arg2
,arg3
);
27576 wxPyEndAllowThreads(__tstate
);
27577 if (PyErr_Occurred()) SWIG_fail
;
27579 resultobj
= SWIG_Py_Void();
27580 if (SWIG_IsTmpObj(res2
)) {
27581 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27583 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27584 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27586 if (SWIG_IsTmpObj(res3
)) {
27587 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27589 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27590 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27598 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27599 PyObject
*resultobj
= 0;
27600 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27609 PyObject
* obj0
= 0 ;
27610 PyObject
* obj1
= 0 ;
27611 PyObject
* obj2
= 0 ;
27612 char * kwnames
[] = {
27613 (char *) "self",(char *) "x",(char *) "y", NULL
27616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27618 if (!SWIG_IsOK(res1
)) {
27619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27621 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27622 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27623 if (!SWIG_IsOK(ecode2
)) {
27624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27626 arg2
= static_cast< int >(val2
);
27627 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27628 if (!SWIG_IsOK(ecode3
)) {
27629 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27631 arg3
= static_cast< int >(val3
);
27633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27638 resultobj
= SWIG_Py_Void();
27645 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27646 PyObject
*resultobj
= 0;
27647 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27648 int *arg2
= (int *) 0 ;
27649 int *arg3
= (int *) 0 ;
27653 int res2
= SWIG_TMPOBJ
;
27655 int res3
= SWIG_TMPOBJ
;
27656 PyObject
*swig_obj
[1] ;
27660 if (!args
) SWIG_fail
;
27661 swig_obj
[0] = args
;
27662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27663 if (!SWIG_IsOK(res1
)) {
27664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27666 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27669 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27670 wxPyEndAllowThreads(__tstate
);
27671 if (PyErr_Occurred()) SWIG_fail
;
27673 resultobj
= SWIG_Py_Void();
27674 if (SWIG_IsTmpObj(res2
)) {
27675 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27677 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27678 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27680 if (SWIG_IsTmpObj(res3
)) {
27681 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27683 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27684 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27692 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27693 PyObject
*resultobj
= 0;
27694 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27698 PyObject
*swig_obj
[1] ;
27700 if (!args
) SWIG_fail
;
27701 swig_obj
[0] = args
;
27702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27703 if (!SWIG_IsOK(res1
)) {
27704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27706 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27709 result
= (bool)(arg1
)->IsPreview();
27710 wxPyEndAllowThreads(__tstate
);
27711 if (PyErr_Occurred()) SWIG_fail
;
27714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27722 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27723 PyObject
*resultobj
= 0;
27724 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27730 PyObject
* obj0
= 0 ;
27731 PyObject
* obj1
= 0 ;
27732 char * kwnames
[] = {
27733 (char *) "self",(char *) "p", NULL
27736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27738 if (!SWIG_IsOK(res1
)) {
27739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27741 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27742 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27743 if (!SWIG_IsOK(ecode2
)) {
27744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27746 arg2
= static_cast< bool >(val2
);
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 (arg1
)->SetIsPreview(arg2
);
27750 wxPyEndAllowThreads(__tstate
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= SWIG_Py_Void();
27760 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27761 PyObject
*resultobj
= 0;
27762 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27772 PyObject
* obj0
= 0 ;
27773 PyObject
* obj1
= 0 ;
27774 PyObject
* obj2
= 0 ;
27775 char * kwnames
[] = {
27776 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27781 if (!SWIG_IsOK(res1
)) {
27782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27784 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27786 if (!SWIG_IsOK(ecode2
)) {
27787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27789 arg2
= static_cast< int >(val2
);
27790 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27791 if (!SWIG_IsOK(ecode3
)) {
27792 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27794 arg3
= static_cast< int >(val3
);
27796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27797 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
27798 wxPyEndAllowThreads(__tstate
);
27799 if (PyErr_Occurred()) SWIG_fail
;
27802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27810 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27811 PyObject
*resultobj
= 0;
27812 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27815 PyObject
*swig_obj
[1] ;
27817 if (!args
) SWIG_fail
;
27818 swig_obj
[0] = args
;
27819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27820 if (!SWIG_IsOK(res1
)) {
27821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27823 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27826 (arg1
)->OnEndDocument();
27827 wxPyEndAllowThreads(__tstate
);
27828 if (PyErr_Occurred()) SWIG_fail
;
27830 resultobj
= SWIG_Py_Void();
27837 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27838 PyObject
*resultobj
= 0;
27839 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27842 PyObject
*swig_obj
[1] ;
27844 if (!args
) SWIG_fail
;
27845 swig_obj
[0] = args
;
27846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27847 if (!SWIG_IsOK(res1
)) {
27848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27850 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27853 (arg1
)->OnBeginPrinting();
27854 wxPyEndAllowThreads(__tstate
);
27855 if (PyErr_Occurred()) SWIG_fail
;
27857 resultobj
= SWIG_Py_Void();
27864 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27865 PyObject
*resultobj
= 0;
27866 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27869 PyObject
*swig_obj
[1] ;
27871 if (!args
) SWIG_fail
;
27872 swig_obj
[0] = args
;
27873 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27874 if (!SWIG_IsOK(res1
)) {
27875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27877 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27880 (arg1
)->OnEndPrinting();
27881 wxPyEndAllowThreads(__tstate
);
27882 if (PyErr_Occurred()) SWIG_fail
;
27884 resultobj
= SWIG_Py_Void();
27891 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27892 PyObject
*resultobj
= 0;
27893 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27896 PyObject
*swig_obj
[1] ;
27898 if (!args
) SWIG_fail
;
27899 swig_obj
[0] = args
;
27900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27901 if (!SWIG_IsOK(res1
)) {
27902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27904 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 (arg1
)->OnPreparePrinting();
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27911 resultobj
= SWIG_Py_Void();
27918 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27919 PyObject
*resultobj
= 0;
27920 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27927 PyObject
* obj0
= 0 ;
27928 PyObject
* obj1
= 0 ;
27929 char * kwnames
[] = {
27930 (char *) "self",(char *) "page", NULL
27933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27935 if (!SWIG_IsOK(res1
)) {
27936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27938 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27940 if (!SWIG_IsOK(ecode2
)) {
27941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
27943 arg2
= static_cast< int >(val2
);
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 result
= (bool)(arg1
)->HasPage(arg2
);
27947 wxPyEndAllowThreads(__tstate
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27959 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27960 PyObject
*resultobj
= 0;
27961 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27962 int *arg2
= (int *) 0 ;
27963 int *arg3
= (int *) 0 ;
27964 int *arg4
= (int *) 0 ;
27965 int *arg5
= (int *) 0 ;
27969 int res2
= SWIG_TMPOBJ
;
27971 int res3
= SWIG_TMPOBJ
;
27973 int res4
= SWIG_TMPOBJ
;
27975 int res5
= SWIG_TMPOBJ
;
27976 PyObject
*swig_obj
[1] ;
27982 if (!args
) SWIG_fail
;
27983 swig_obj
[0] = args
;
27984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27985 if (!SWIG_IsOK(res1
)) {
27986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27988 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27991 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
27992 wxPyEndAllowThreads(__tstate
);
27993 if (PyErr_Occurred()) SWIG_fail
;
27995 resultobj
= SWIG_Py_Void();
27996 if (SWIG_IsTmpObj(res2
)) {
27997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27999 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28000 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28002 if (SWIG_IsTmpObj(res3
)) {
28003 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28005 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28006 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28008 if (SWIG_IsTmpObj(res4
)) {
28009 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28011 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28012 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28014 if (SWIG_IsTmpObj(res5
)) {
28015 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28017 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28018 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28026 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28028 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28029 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28030 return SWIG_Py_Void();
28033 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28034 return SWIG_Python_InitShadowInstance(args
);
28037 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28038 PyObject
*resultobj
= 0;
28039 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28040 wxWindow
*arg2
= (wxWindow
*) 0 ;
28041 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28042 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28043 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28044 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28045 long arg5
= (long) 0 ;
28046 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28047 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28048 wxPreviewCanvas
*result
= 0 ;
28057 bool temp6
= false ;
28058 PyObject
* obj0
= 0 ;
28059 PyObject
* obj1
= 0 ;
28060 PyObject
* obj2
= 0 ;
28061 PyObject
* obj3
= 0 ;
28062 PyObject
* obj4
= 0 ;
28063 PyObject
* obj5
= 0 ;
28064 char * kwnames
[] = {
28065 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28069 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28070 if (!SWIG_IsOK(res1
)) {
28071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28073 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28074 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28075 if (!SWIG_IsOK(res2
)) {
28076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28078 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28082 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28088 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28092 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28093 if (!SWIG_IsOK(ecode5
)) {
28094 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28096 arg5
= static_cast< long >(val5
);
28100 arg6
= wxString_in_helper(obj5
);
28101 if (arg6
== NULL
) SWIG_fail
;
28106 if (!wxPyCheckForApp()) SWIG_fail
;
28107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28109 wxPyEndAllowThreads(__tstate
);
28110 if (PyErr_Occurred()) SWIG_fail
;
28112 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28127 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28129 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28130 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28131 return SWIG_Py_Void();
28134 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28135 return SWIG_Python_InitShadowInstance(args
);
28138 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28139 PyObject
*resultobj
= 0;
28140 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28141 wxFrame
*arg2
= (wxFrame
*) 0 ;
28142 wxString
*arg3
= 0 ;
28143 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28144 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28145 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28146 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28147 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28148 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28149 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28150 wxPreviewFrame
*result
= 0 ;
28154 bool temp3
= false ;
28159 bool temp7
= false ;
28160 PyObject
* obj0
= 0 ;
28161 PyObject
* obj1
= 0 ;
28162 PyObject
* obj2
= 0 ;
28163 PyObject
* obj3
= 0 ;
28164 PyObject
* obj4
= 0 ;
28165 PyObject
* obj5
= 0 ;
28166 PyObject
* obj6
= 0 ;
28167 char * kwnames
[] = {
28168 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28172 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28173 if (!SWIG_IsOK(res1
)) {
28174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28176 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28177 if (!SWIG_IsOK(res2
)) {
28178 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28180 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28182 arg3
= wxString_in_helper(obj2
);
28183 if (arg3
== NULL
) SWIG_fail
;
28189 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28195 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28199 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28200 if (!SWIG_IsOK(ecode6
)) {
28201 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28203 arg6
= static_cast< long >(val6
);
28207 arg7
= wxString_in_helper(obj6
);
28208 if (arg7
== NULL
) SWIG_fail
;
28213 if (!wxPyCheckForApp()) SWIG_fail
;
28214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28215 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28216 wxPyEndAllowThreads(__tstate
);
28217 if (PyErr_Occurred()) SWIG_fail
;
28219 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28242 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28243 PyObject
*resultobj
= 0;
28244 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28247 PyObject
*swig_obj
[1] ;
28249 if (!args
) SWIG_fail
;
28250 swig_obj
[0] = args
;
28251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28252 if (!SWIG_IsOK(res1
)) {
28253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28255 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28258 (arg1
)->Initialize();
28259 wxPyEndAllowThreads(__tstate
);
28260 if (PyErr_Occurred()) SWIG_fail
;
28262 resultobj
= SWIG_Py_Void();
28269 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28270 PyObject
*resultobj
= 0;
28271 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28274 PyObject
*swig_obj
[1] ;
28276 if (!args
) SWIG_fail
;
28277 swig_obj
[0] = args
;
28278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28279 if (!SWIG_IsOK(res1
)) {
28280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28282 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28285 (arg1
)->CreateControlBar();
28286 wxPyEndAllowThreads(__tstate
);
28287 if (PyErr_Occurred()) SWIG_fail
;
28289 resultobj
= SWIG_Py_Void();
28296 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28297 PyObject
*resultobj
= 0;
28298 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28301 PyObject
*swig_obj
[1] ;
28303 if (!args
) SWIG_fail
;
28304 swig_obj
[0] = args
;
28305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28306 if (!SWIG_IsOK(res1
)) {
28307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28309 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28312 (arg1
)->CreateCanvas();
28313 wxPyEndAllowThreads(__tstate
);
28314 if (PyErr_Occurred()) SWIG_fail
;
28316 resultobj
= SWIG_Py_Void();
28323 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28324 PyObject
*resultobj
= 0;
28325 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28326 wxPreviewControlBar
*result
= 0 ;
28329 PyObject
*swig_obj
[1] ;
28331 if (!args
) SWIG_fail
;
28332 swig_obj
[0] = args
;
28333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28334 if (!SWIG_IsOK(res1
)) {
28335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28337 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28341 wxPyEndAllowThreads(__tstate
);
28342 if (PyErr_Occurred()) SWIG_fail
;
28344 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28351 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28354 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28355 return SWIG_Py_Void();
28358 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28359 return SWIG_Python_InitShadowInstance(args
);
28362 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28363 PyObject
*resultobj
= 0;
28364 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28366 wxWindow
*arg3
= (wxWindow
*) 0 ;
28367 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28368 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28369 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28370 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28371 long arg6
= (long) wxTAB_TRAVERSAL
;
28372 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28373 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28374 wxPreviewControlBar
*result
= 0 ;
28385 bool temp7
= false ;
28386 PyObject
* obj0
= 0 ;
28387 PyObject
* obj1
= 0 ;
28388 PyObject
* obj2
= 0 ;
28389 PyObject
* obj3
= 0 ;
28390 PyObject
* obj4
= 0 ;
28391 PyObject
* obj5
= 0 ;
28392 PyObject
* obj6
= 0 ;
28393 char * kwnames
[] = {
28394 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28399 if (!SWIG_IsOK(res1
)) {
28400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28402 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28403 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28404 if (!SWIG_IsOK(ecode2
)) {
28405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28407 arg2
= static_cast< long >(val2
);
28408 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28409 if (!SWIG_IsOK(res3
)) {
28410 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28412 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28416 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28422 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28426 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28427 if (!SWIG_IsOK(ecode6
)) {
28428 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28430 arg6
= static_cast< long >(val6
);
28434 arg7
= wxString_in_helper(obj6
);
28435 if (arg7
== NULL
) SWIG_fail
;
28440 if (!wxPyCheckForApp()) SWIG_fail
;
28441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28442 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28443 wxPyEndAllowThreads(__tstate
);
28444 if (PyErr_Occurred()) SWIG_fail
;
28446 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28461 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28462 PyObject
*resultobj
= 0;
28463 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28467 PyObject
*swig_obj
[1] ;
28469 if (!args
) SWIG_fail
;
28470 swig_obj
[0] = args
;
28471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28472 if (!SWIG_IsOK(res1
)) {
28473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28475 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28478 result
= (int)(arg1
)->GetZoomControl();
28479 wxPyEndAllowThreads(__tstate
);
28480 if (PyErr_Occurred()) SWIG_fail
;
28482 resultobj
= SWIG_From_int(static_cast< int >(result
));
28489 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28490 PyObject
*resultobj
= 0;
28491 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28497 PyObject
* obj0
= 0 ;
28498 PyObject
* obj1
= 0 ;
28499 char * kwnames
[] = {
28500 (char *) "self",(char *) "zoom", NULL
28503 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28504 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28505 if (!SWIG_IsOK(res1
)) {
28506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28508 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28509 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28510 if (!SWIG_IsOK(ecode2
)) {
28511 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28513 arg2
= static_cast< int >(val2
);
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 (arg1
)->SetZoomControl(arg2
);
28517 wxPyEndAllowThreads(__tstate
);
28518 if (PyErr_Occurred()) SWIG_fail
;
28520 resultobj
= SWIG_Py_Void();
28527 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28528 PyObject
*resultobj
= 0;
28529 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28530 wxPrintPreview
*result
= 0 ;
28533 PyObject
*swig_obj
[1] ;
28535 if (!args
) SWIG_fail
;
28536 swig_obj
[0] = args
;
28537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28538 if (!SWIG_IsOK(res1
)) {
28539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28541 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28545 wxPyEndAllowThreads(__tstate
);
28546 if (PyErr_Occurred()) SWIG_fail
;
28548 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28555 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28556 PyObject
*resultobj
= 0;
28557 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28560 PyObject
*swig_obj
[1] ;
28562 if (!args
) SWIG_fail
;
28563 swig_obj
[0] = args
;
28564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28565 if (!SWIG_IsOK(res1
)) {
28566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28568 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28572 wxPyEndAllowThreads(__tstate
);
28573 if (PyErr_Occurred()) SWIG_fail
;
28575 resultobj
= SWIG_Py_Void();
28582 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28583 PyObject
*resultobj
= 0;
28584 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 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_wxPreviewControlBar
, 0 | 0 );
28592 if (!SWIG_IsOK(res1
)) {
28593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28595 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28598 (arg1
)->OnPrevious();
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28602 resultobj
= SWIG_Py_Void();
28609 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28610 PyObject
*resultobj
= 0;
28611 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 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_wxPreviewControlBar
, 0 | 0 );
28619 if (!SWIG_IsOK(res1
)) {
28620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28622 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28626 wxPyEndAllowThreads(__tstate
);
28627 if (PyErr_Occurred()) SWIG_fail
;
28629 resultobj
= SWIG_Py_Void();
28636 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28637 PyObject
*resultobj
= 0;
28638 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 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_wxPreviewControlBar
, 0 | 0 );
28646 if (!SWIG_IsOK(res1
)) {
28647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28649 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28656 resultobj
= SWIG_Py_Void();
28663 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28664 PyObject
*resultobj
= 0;
28665 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 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_wxPreviewControlBar
, 0 | 0 );
28673 if (!SWIG_IsOK(res1
)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28676 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= SWIG_Py_Void();
28690 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28692 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28693 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28694 return SWIG_Py_Void();
28697 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28698 return SWIG_Python_InitShadowInstance(args
);
28701 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28702 PyObject
*resultobj
= 0;
28703 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28704 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28705 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28706 wxPrintPreview
*result
= 0 ;
28712 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28713 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28714 if (!SWIG_IsOK(res1
)) {
28715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28717 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28718 if (!SWIG_IsOK(res2
)) {
28719 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28722 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28723 if (!SWIG_IsOK(res3
)) {
28724 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28726 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28729 if (!wxPyCheckForApp()) SWIG_fail
;
28730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28731 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28732 wxPyEndAllowThreads(__tstate
);
28733 if (PyErr_Occurred()) SWIG_fail
;
28735 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28742 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28743 PyObject
*resultobj
= 0;
28744 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28745 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28746 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28747 wxPrintPreview
*result
= 0 ;
28753 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
28754 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28755 if (!SWIG_IsOK(res1
)) {
28756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28758 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28759 if (!SWIG_IsOK(res2
)) {
28760 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28762 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
28763 if (!SWIG_IsOK(res3
)) {
28764 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28766 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
28768 if (!wxPyCheckForApp()) SWIG_fail
;
28769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28771 wxPyEndAllowThreads(__tstate
);
28772 if (PyErr_Occurred()) SWIG_fail
;
28774 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28781 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
28785 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
28787 if ((argc
>= 2) && (argc
<= 3)) {
28792 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
28793 _v
= SWIG_CheckState(res
);
28795 if (!_v
) goto check_1
;
28797 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
28802 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
28806 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
28811 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28812 PyObject
*resultobj
= 0;
28813 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28816 PyObject
*swig_obj
[1] ;
28818 if (!args
) SWIG_fail
;
28819 swig_obj
[0] = args
;
28820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28821 if (!SWIG_IsOK(res1
)) {
28822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28824 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28829 wxPyEndAllowThreads(__tstate
);
28830 if (PyErr_Occurred()) SWIG_fail
;
28832 resultobj
= SWIG_Py_Void();
28839 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28840 PyObject
*resultobj
= 0;
28841 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28848 PyObject
* obj0
= 0 ;
28849 PyObject
* obj1
= 0 ;
28850 char * kwnames
[] = {
28851 (char *) "self",(char *) "pageNum", NULL
28854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28856 if (!SWIG_IsOK(res1
)) {
28857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28859 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28860 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28861 if (!SWIG_IsOK(ecode2
)) {
28862 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28864 arg2
= static_cast< int >(val2
);
28866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28867 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
28868 wxPyEndAllowThreads(__tstate
);
28869 if (PyErr_Occurred()) SWIG_fail
;
28872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28880 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28881 PyObject
*resultobj
= 0;
28882 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28886 PyObject
*swig_obj
[1] ;
28888 if (!args
) SWIG_fail
;
28889 swig_obj
[0] = args
;
28890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28891 if (!SWIG_IsOK(res1
)) {
28892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28894 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28897 result
= (int)(arg1
)->GetCurrentPage();
28898 wxPyEndAllowThreads(__tstate
);
28899 if (PyErr_Occurred()) SWIG_fail
;
28901 resultobj
= SWIG_From_int(static_cast< int >(result
));
28908 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28909 PyObject
*resultobj
= 0;
28910 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28911 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28915 PyObject
* obj0
= 0 ;
28916 PyObject
* obj1
= 0 ;
28917 char * kwnames
[] = {
28918 (char *) "self",(char *) "printout", NULL
28921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28923 if (!SWIG_IsOK(res1
)) {
28924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28926 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28927 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28928 if (!SWIG_IsOK(res2
)) {
28929 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28933 (arg1
)->SetPrintout(arg2
);
28934 wxPyEndAllowThreads(__tstate
);
28935 if (PyErr_Occurred()) SWIG_fail
;
28937 resultobj
= SWIG_Py_Void();
28944 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28945 PyObject
*resultobj
= 0;
28946 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28947 wxPyPrintout
*result
= 0 ;
28950 PyObject
*swig_obj
[1] ;
28952 if (!args
) SWIG_fail
;
28953 swig_obj
[0] = args
;
28954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28955 if (!SWIG_IsOK(res1
)) {
28956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28958 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
28962 wxPyEndAllowThreads(__tstate
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28966 resultobj
= wxPyMake_wxObject(result
, 0);
28974 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28975 PyObject
*resultobj
= 0;
28976 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28977 wxPyPrintout
*result
= 0 ;
28980 PyObject
*swig_obj
[1] ;
28982 if (!args
) SWIG_fail
;
28983 swig_obj
[0] = args
;
28984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28985 if (!SWIG_IsOK(res1
)) {
28986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28988 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28991 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28996 resultobj
= wxPyMake_wxObject(result
, 0);
29004 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
= 0;
29006 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29007 wxFrame
*arg2
= (wxFrame
*) 0 ;
29012 PyObject
* obj0
= 0 ;
29013 PyObject
* obj1
= 0 ;
29014 char * kwnames
[] = {
29015 (char *) "self",(char *) "frame", NULL
29018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29020 if (!SWIG_IsOK(res1
)) {
29021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29023 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29024 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29025 if (!SWIG_IsOK(res2
)) {
29026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29028 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29031 (arg1
)->SetFrame(arg2
);
29032 wxPyEndAllowThreads(__tstate
);
29033 if (PyErr_Occurred()) SWIG_fail
;
29035 resultobj
= SWIG_Py_Void();
29042 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29043 PyObject
*resultobj
= 0;
29044 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29045 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29050 PyObject
* obj0
= 0 ;
29051 PyObject
* obj1
= 0 ;
29052 char * kwnames
[] = {
29053 (char *) "self",(char *) "canvas", NULL
29056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29058 if (!SWIG_IsOK(res1
)) {
29059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29061 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29062 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29063 if (!SWIG_IsOK(res2
)) {
29064 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29066 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29069 (arg1
)->SetCanvas(arg2
);
29070 wxPyEndAllowThreads(__tstate
);
29071 if (PyErr_Occurred()) SWIG_fail
;
29073 resultobj
= SWIG_Py_Void();
29080 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29081 PyObject
*resultobj
= 0;
29082 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29083 wxFrame
*result
= 0 ;
29086 PyObject
*swig_obj
[1] ;
29088 if (!args
) SWIG_fail
;
29089 swig_obj
[0] = args
;
29090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29091 if (!SWIG_IsOK(res1
)) {
29092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29094 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29097 result
= (wxFrame
*)(arg1
)->GetFrame();
29098 wxPyEndAllowThreads(__tstate
);
29099 if (PyErr_Occurred()) SWIG_fail
;
29102 resultobj
= wxPyMake_wxObject(result
, 0);
29110 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29111 PyObject
*resultobj
= 0;
29112 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29113 wxPreviewCanvas
*result
= 0 ;
29116 PyObject
*swig_obj
[1] ;
29118 if (!args
) SWIG_fail
;
29119 swig_obj
[0] = args
;
29120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29121 if (!SWIG_IsOK(res1
)) {
29122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29124 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29127 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29128 wxPyEndAllowThreads(__tstate
);
29129 if (PyErr_Occurred()) SWIG_fail
;
29131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29138 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29139 PyObject
*resultobj
= 0;
29140 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29141 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29150 PyObject
* obj0
= 0 ;
29151 PyObject
* obj1
= 0 ;
29152 PyObject
* obj2
= 0 ;
29153 char * kwnames
[] = {
29154 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29159 if (!SWIG_IsOK(res1
)) {
29160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29162 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29164 if (!SWIG_IsOK(res2
)) {
29165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29167 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29168 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29169 if (!SWIG_IsOK(res3
)) {
29170 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29173 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29175 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29179 wxPyEndAllowThreads(__tstate
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29183 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29191 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29192 PyObject
*resultobj
= 0;
29193 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29194 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 PyObject
* obj2
= 0 ;
29206 char * kwnames
[] = {
29207 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29212 if (!SWIG_IsOK(res1
)) {
29213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29215 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29216 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29217 if (!SWIG_IsOK(res2
)) {
29218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29220 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29221 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29222 if (!SWIG_IsOK(res3
)) {
29223 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29226 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29228 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29231 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29232 wxPyEndAllowThreads(__tstate
);
29233 if (PyErr_Occurred()) SWIG_fail
;
29236 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29244 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
= 0;
29246 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29253 PyObject
* obj0
= 0 ;
29254 PyObject
* obj1
= 0 ;
29255 char * kwnames
[] = {
29256 (char *) "self",(char *) "pageNum", NULL
29259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29261 if (!SWIG_IsOK(res1
)) {
29262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29264 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29266 if (!SWIG_IsOK(ecode2
)) {
29267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29269 arg2
= static_cast< int >(val2
);
29271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29272 result
= (bool)(arg1
)->RenderPage(arg2
);
29273 wxPyEndAllowThreads(__tstate
);
29274 if (PyErr_Occurred()) SWIG_fail
;
29277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29285 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29286 PyObject
*resultobj
= 0;
29287 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29288 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29293 PyObject
* obj0
= 0 ;
29294 PyObject
* obj1
= 0 ;
29295 char * kwnames
[] = {
29296 (char *) "self",(char *) "canvas", NULL
29299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29301 if (!SWIG_IsOK(res1
)) {
29302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29304 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29305 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29306 if (!SWIG_IsOK(res2
)) {
29307 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29309 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 (arg1
)->AdjustScrollbars(arg2
);
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29316 resultobj
= SWIG_Py_Void();
29323 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29324 PyObject
*resultobj
= 0;
29325 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29326 wxPrintDialogData
*result
= 0 ;
29329 PyObject
*swig_obj
[1] ;
29331 if (!args
) SWIG_fail
;
29332 swig_obj
[0] = args
;
29333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29334 if (!SWIG_IsOK(res1
)) {
29335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29337 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29341 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29342 result
= (wxPrintDialogData
*) &_result_ref
;
29344 wxPyEndAllowThreads(__tstate
);
29345 if (PyErr_Occurred()) SWIG_fail
;
29347 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29354 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29355 PyObject
*resultobj
= 0;
29356 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29362 PyObject
* obj0
= 0 ;
29363 PyObject
* obj1
= 0 ;
29364 char * kwnames
[] = {
29365 (char *) "self",(char *) "percent", NULL
29368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29370 if (!SWIG_IsOK(res1
)) {
29371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29373 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29374 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29375 if (!SWIG_IsOK(ecode2
)) {
29376 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29378 arg2
= static_cast< int >(val2
);
29380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29381 (arg1
)->SetZoom(arg2
);
29382 wxPyEndAllowThreads(__tstate
);
29383 if (PyErr_Occurred()) SWIG_fail
;
29385 resultobj
= SWIG_Py_Void();
29392 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29393 PyObject
*resultobj
= 0;
29394 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29398 PyObject
*swig_obj
[1] ;
29400 if (!args
) SWIG_fail
;
29401 swig_obj
[0] = args
;
29402 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29403 if (!SWIG_IsOK(res1
)) {
29404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29406 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29409 result
= (int)(arg1
)->GetZoom();
29410 wxPyEndAllowThreads(__tstate
);
29411 if (PyErr_Occurred()) SWIG_fail
;
29413 resultobj
= SWIG_From_int(static_cast< int >(result
));
29420 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29421 PyObject
*resultobj
= 0;
29422 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29426 PyObject
*swig_obj
[1] ;
29428 if (!args
) SWIG_fail
;
29429 swig_obj
[0] = args
;
29430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29431 if (!SWIG_IsOK(res1
)) {
29432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29434 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29437 result
= (int)(arg1
)->GetMaxPage();
29438 wxPyEndAllowThreads(__tstate
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29441 resultobj
= SWIG_From_int(static_cast< int >(result
));
29448 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29449 PyObject
*resultobj
= 0;
29450 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29454 PyObject
*swig_obj
[1] ;
29456 if (!args
) SWIG_fail
;
29457 swig_obj
[0] = args
;
29458 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29459 if (!SWIG_IsOK(res1
)) {
29460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29462 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29465 result
= (int)(arg1
)->GetMinPage();
29466 wxPyEndAllowThreads(__tstate
);
29467 if (PyErr_Occurred()) SWIG_fail
;
29469 resultobj
= SWIG_From_int(static_cast< int >(result
));
29476 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29477 PyObject
*resultobj
= 0;
29478 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29482 PyObject
*swig_obj
[1] ;
29484 if (!args
) SWIG_fail
;
29485 swig_obj
[0] = args
;
29486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29487 if (!SWIG_IsOK(res1
)) {
29488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29490 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29493 result
= (bool)(arg1
)->Ok();
29494 wxPyEndAllowThreads(__tstate
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29506 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29507 PyObject
*resultobj
= 0;
29508 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29514 PyObject
* obj0
= 0 ;
29515 PyObject
* obj1
= 0 ;
29516 char * kwnames
[] = {
29517 (char *) "self",(char *) "ok", NULL
29520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29522 if (!SWIG_IsOK(res1
)) {
29523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29525 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29526 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29527 if (!SWIG_IsOK(ecode2
)) {
29528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29530 arg2
= static_cast< bool >(val2
);
29532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29533 (arg1
)->SetOk(arg2
);
29534 wxPyEndAllowThreads(__tstate
);
29535 if (PyErr_Occurred()) SWIG_fail
;
29537 resultobj
= SWIG_Py_Void();
29544 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29545 PyObject
*resultobj
= 0;
29546 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29553 PyObject
* obj0
= 0 ;
29554 PyObject
* obj1
= 0 ;
29555 char * kwnames
[] = {
29556 (char *) "self",(char *) "interactive", NULL
29559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29561 if (!SWIG_IsOK(res1
)) {
29562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29564 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29565 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29566 if (!SWIG_IsOK(ecode2
)) {
29567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29569 arg2
= static_cast< bool >(val2
);
29571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29572 result
= (bool)(arg1
)->Print(arg2
);
29573 wxPyEndAllowThreads(__tstate
);
29574 if (PyErr_Occurred()) SWIG_fail
;
29577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29585 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29586 PyObject
*resultobj
= 0;
29587 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29590 PyObject
*swig_obj
[1] ;
29592 if (!args
) SWIG_fail
;
29593 swig_obj
[0] = args
;
29594 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29595 if (!SWIG_IsOK(res1
)) {
29596 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29598 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 (arg1
)->DetermineScaling();
29602 wxPyEndAllowThreads(__tstate
);
29603 if (PyErr_Occurred()) SWIG_fail
;
29605 resultobj
= SWIG_Py_Void();
29612 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29614 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29615 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29616 return SWIG_Py_Void();
29619 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29620 return SWIG_Python_InitShadowInstance(args
);
29623 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29624 PyObject
*resultobj
= 0;
29625 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29626 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29627 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29628 wxPyPrintPreview
*result
= 0 ;
29634 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29635 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29636 if (!SWIG_IsOK(res1
)) {
29637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29639 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29640 if (!SWIG_IsOK(res2
)) {
29641 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29644 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29645 if (!SWIG_IsOK(res3
)) {
29646 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29648 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29651 if (!wxPyCheckForApp()) SWIG_fail
;
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29653 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29654 wxPyEndAllowThreads(__tstate
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29664 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29665 PyObject
*resultobj
= 0;
29666 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29667 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29668 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29669 wxPyPrintPreview
*result
= 0 ;
29675 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29676 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29677 if (!SWIG_IsOK(res1
)) {
29678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29680 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29681 if (!SWIG_IsOK(res2
)) {
29682 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29684 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29685 if (!SWIG_IsOK(res3
)) {
29686 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29688 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29690 if (!wxPyCheckForApp()) SWIG_fail
;
29691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29692 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29693 wxPyEndAllowThreads(__tstate
);
29694 if (PyErr_Occurred()) SWIG_fail
;
29696 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29703 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29707 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29709 if ((argc
>= 2) && (argc
<= 3)) {
29714 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29715 _v
= SWIG_CheckState(res
);
29717 if (!_v
) goto check_1
;
29719 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29724 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29728 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29733 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29734 PyObject
*resultobj
= 0;
29735 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29736 PyObject
*arg2
= (PyObject
*) 0 ;
29737 PyObject
*arg3
= (PyObject
*) 0 ;
29740 PyObject
* obj0
= 0 ;
29741 PyObject
* obj1
= 0 ;
29742 PyObject
* obj2
= 0 ;
29743 char * kwnames
[] = {
29744 (char *) "self",(char *) "self",(char *) "_class", NULL
29747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
29749 if (!SWIG_IsOK(res1
)) {
29750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29752 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29758 wxPyEndAllowThreads(__tstate
);
29759 if (PyErr_Occurred()) SWIG_fail
;
29761 resultobj
= SWIG_Py_Void();
29768 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29770 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29771 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
29772 return SWIG_Py_Void();
29775 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29776 return SWIG_Python_InitShadowInstance(args
);
29779 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
= 0;
29781 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29782 wxFrame
*arg2
= (wxFrame
*) 0 ;
29783 wxString
*arg3
= 0 ;
29784 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29785 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29786 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29787 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29788 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29789 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29790 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29791 wxPyPreviewFrame
*result
= 0 ;
29796 bool temp3
= false ;
29801 bool temp7
= false ;
29802 PyObject
* obj0
= 0 ;
29803 PyObject
* obj1
= 0 ;
29804 PyObject
* obj2
= 0 ;
29805 PyObject
* obj3
= 0 ;
29806 PyObject
* obj4
= 0 ;
29807 PyObject
* obj5
= 0 ;
29808 PyObject
* obj6
= 0 ;
29809 char * kwnames
[] = {
29810 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29815 if (!SWIG_IsOK(res1
)) {
29816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29818 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29819 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29820 if (!SWIG_IsOK(res2
)) {
29821 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29823 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29825 arg3
= wxString_in_helper(obj2
);
29826 if (arg3
== NULL
) SWIG_fail
;
29832 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29838 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29842 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29843 if (!SWIG_IsOK(ecode6
)) {
29844 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29846 arg6
= static_cast< long >(val6
);
29850 arg7
= wxString_in_helper(obj6
);
29851 if (arg7
== NULL
) SWIG_fail
;
29856 if (!wxPyCheckForApp()) SWIG_fail
;
29857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29858 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29859 wxPyEndAllowThreads(__tstate
);
29860 if (PyErr_Occurred()) SWIG_fail
;
29862 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29885 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29886 PyObject
*resultobj
= 0;
29887 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29888 PyObject
*arg2
= (PyObject
*) 0 ;
29889 PyObject
*arg3
= (PyObject
*) 0 ;
29892 PyObject
* obj0
= 0 ;
29893 PyObject
* obj1
= 0 ;
29894 PyObject
* obj2
= 0 ;
29895 char * kwnames
[] = {
29896 (char *) "self",(char *) "self",(char *) "_class", NULL
29899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29901 if (!SWIG_IsOK(res1
)) {
29902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29904 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29909 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29910 wxPyEndAllowThreads(__tstate
);
29911 if (PyErr_Occurred()) SWIG_fail
;
29913 resultobj
= SWIG_Py_Void();
29920 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29921 PyObject
*resultobj
= 0;
29922 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29923 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29928 PyObject
* obj0
= 0 ;
29929 PyObject
* obj1
= 0 ;
29930 char * kwnames
[] = {
29931 (char *) "self",(char *) "canvas", NULL
29934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29936 if (!SWIG_IsOK(res1
)) {
29937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29939 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29940 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29941 if (!SWIG_IsOK(res2
)) {
29942 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29944 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29947 (arg1
)->SetPreviewCanvas(arg2
);
29948 wxPyEndAllowThreads(__tstate
);
29949 if (PyErr_Occurred()) SWIG_fail
;
29951 resultobj
= SWIG_Py_Void();
29958 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29959 PyObject
*resultobj
= 0;
29960 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29961 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
29966 PyObject
* obj0
= 0 ;
29967 PyObject
* obj1
= 0 ;
29968 char * kwnames
[] = {
29969 (char *) "self",(char *) "bar", NULL
29972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29974 if (!SWIG_IsOK(res1
)) {
29975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29977 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29978 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29979 if (!SWIG_IsOK(res2
)) {
29980 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
29982 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
29984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29985 (arg1
)->SetControlBar(arg2
);
29986 wxPyEndAllowThreads(__tstate
);
29987 if (PyErr_Occurred()) SWIG_fail
;
29989 resultobj
= SWIG_Py_Void();
29996 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29997 PyObject
*resultobj
= 0;
29998 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30001 PyObject
*swig_obj
[1] ;
30003 if (!args
) SWIG_fail
;
30004 swig_obj
[0] = args
;
30005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30006 if (!SWIG_IsOK(res1
)) {
30007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30009 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30012 (arg1
)->Initialize();
30013 wxPyEndAllowThreads(__tstate
);
30014 if (PyErr_Occurred()) SWIG_fail
;
30016 resultobj
= SWIG_Py_Void();
30023 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30024 PyObject
*resultobj
= 0;
30025 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30028 PyObject
*swig_obj
[1] ;
30030 if (!args
) SWIG_fail
;
30031 swig_obj
[0] = args
;
30032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30033 if (!SWIG_IsOK(res1
)) {
30034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30036 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 (arg1
)->CreateCanvas();
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30043 resultobj
= SWIG_Py_Void();
30050 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30051 PyObject
*resultobj
= 0;
30052 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30055 PyObject
*swig_obj
[1] ;
30057 if (!args
) SWIG_fail
;
30058 swig_obj
[0] = args
;
30059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30060 if (!SWIG_IsOK(res1
)) {
30061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30063 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30066 (arg1
)->CreateControlBar();
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30070 resultobj
= SWIG_Py_Void();
30077 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30079 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30080 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30081 return SWIG_Py_Void();
30084 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30085 return SWIG_Python_InitShadowInstance(args
);
30088 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30089 PyObject
*resultobj
= 0;
30090 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30092 wxWindow
*arg3
= (wxWindow
*) 0 ;
30093 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30094 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30095 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30096 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30097 long arg6
= (long) 0 ;
30098 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30099 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30100 wxPyPreviewControlBar
*result
= 0 ;
30111 bool temp7
= false ;
30112 PyObject
* obj0
= 0 ;
30113 PyObject
* obj1
= 0 ;
30114 PyObject
* obj2
= 0 ;
30115 PyObject
* obj3
= 0 ;
30116 PyObject
* obj4
= 0 ;
30117 PyObject
* obj5
= 0 ;
30118 PyObject
* obj6
= 0 ;
30119 char * kwnames
[] = {
30120 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30125 if (!SWIG_IsOK(res1
)) {
30126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30128 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30129 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30130 if (!SWIG_IsOK(ecode2
)) {
30131 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30133 arg2
= static_cast< long >(val2
);
30134 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30135 if (!SWIG_IsOK(res3
)) {
30136 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30138 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30142 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30148 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30152 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30153 if (!SWIG_IsOK(ecode6
)) {
30154 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30156 arg6
= static_cast< long >(val6
);
30160 arg7
= wxString_in_helper(obj6
);
30161 if (arg7
== NULL
) SWIG_fail
;
30166 if (!wxPyCheckForApp()) SWIG_fail
;
30167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30168 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30169 wxPyEndAllowThreads(__tstate
);
30170 if (PyErr_Occurred()) SWIG_fail
;
30172 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30187 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30188 PyObject
*resultobj
= 0;
30189 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30190 PyObject
*arg2
= (PyObject
*) 0 ;
30191 PyObject
*arg3
= (PyObject
*) 0 ;
30194 PyObject
* obj0
= 0 ;
30195 PyObject
* obj1
= 0 ;
30196 PyObject
* obj2
= 0 ;
30197 char * kwnames
[] = {
30198 (char *) "self",(char *) "self",(char *) "_class", NULL
30201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30203 if (!SWIG_IsOK(res1
)) {
30204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30206 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30211 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30212 wxPyEndAllowThreads(__tstate
);
30213 if (PyErr_Occurred()) SWIG_fail
;
30215 resultobj
= SWIG_Py_Void();
30222 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30223 PyObject
*resultobj
= 0;
30224 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30225 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30230 PyObject
* obj0
= 0 ;
30231 PyObject
* obj1
= 0 ;
30232 char * kwnames
[] = {
30233 (char *) "self",(char *) "preview", NULL
30236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30238 if (!SWIG_IsOK(res1
)) {
30239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30241 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30242 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30243 if (!SWIG_IsOK(res2
)) {
30244 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30246 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30249 (arg1
)->SetPrintPreview(arg2
);
30250 wxPyEndAllowThreads(__tstate
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30253 resultobj
= SWIG_Py_Void();
30260 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30261 PyObject
*resultobj
= 0;
30262 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30265 PyObject
*swig_obj
[1] ;
30267 if (!args
) SWIG_fail
;
30268 swig_obj
[0] = args
;
30269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30270 if (!SWIG_IsOK(res1
)) {
30271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30273 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30276 (arg1
)->CreateButtons();
30277 wxPyEndAllowThreads(__tstate
);
30278 if (PyErr_Occurred()) SWIG_fail
;
30280 resultobj
= SWIG_Py_Void();
30287 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30288 PyObject
*resultobj
= 0;
30289 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30295 PyObject
* obj0
= 0 ;
30296 PyObject
* obj1
= 0 ;
30297 char * kwnames
[] = {
30298 (char *) "self",(char *) "zoom", NULL
30301 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30302 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30303 if (!SWIG_IsOK(res1
)) {
30304 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30306 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30307 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30308 if (!SWIG_IsOK(ecode2
)) {
30309 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30311 arg2
= static_cast< int >(val2
);
30313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30314 (arg1
)->SetZoomControl(arg2
);
30315 wxPyEndAllowThreads(__tstate
);
30316 if (PyErr_Occurred()) SWIG_fail
;
30318 resultobj
= SWIG_Py_Void();
30325 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30328 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30329 return SWIG_Py_Void();
30332 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30333 return SWIG_Python_InitShadowInstance(args
);
30336 static PyMethodDef SwigMethods
[] = {
30337 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30338 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30339 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30340 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30341 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30342 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30343 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30344 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30345 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30346 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30347 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30348 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30349 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30350 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30351 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30352 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30353 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30354 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30355 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30356 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30357 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30358 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30359 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30360 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30361 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30362 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30363 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30364 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30365 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30366 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30367 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30368 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30369 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30370 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30371 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30372 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30373 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30374 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30375 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30376 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30377 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30378 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30379 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30380 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30381 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30382 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30383 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30384 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30385 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30386 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30387 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30388 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30389 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30390 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30391 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30392 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30393 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30394 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30395 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30396 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30397 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30398 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30399 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30400 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30401 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30402 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30403 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30404 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30405 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30406 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30407 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30408 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30409 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30410 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30411 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30412 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30413 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30414 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30415 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30416 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30417 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30418 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30419 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30420 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30421 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30422 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30423 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30424 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30425 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30426 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30427 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30428 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30429 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30430 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30431 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30432 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30433 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30434 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30435 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30436 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30437 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30438 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30439 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30440 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30441 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30442 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30443 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30444 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30445 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30446 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30447 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30448 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30449 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30450 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30451 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30452 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30453 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30454 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30455 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30456 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30457 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30458 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30459 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30460 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30461 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30462 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30463 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30464 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30465 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30466 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30467 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30468 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30469 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30470 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30471 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30472 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30473 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30474 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30475 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30476 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30477 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30478 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30479 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30480 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30481 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30482 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30483 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30484 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30485 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30486 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30487 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30488 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30489 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30490 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30491 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30492 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30493 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30494 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30495 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30496 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30497 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30498 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30499 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30500 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30501 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30502 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30503 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30504 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30505 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30506 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30507 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30508 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30509 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30510 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30511 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30512 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30513 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30514 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30515 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30516 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30517 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30518 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30519 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30520 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30521 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30522 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30523 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30524 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30525 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30526 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30527 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30528 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30529 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30530 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30531 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30532 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30533 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30534 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30535 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30536 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30537 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30538 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30539 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30540 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30541 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30542 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30543 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30544 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30545 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30546 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30547 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30548 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30549 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30550 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30551 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30552 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30553 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30554 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30555 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30557 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30558 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30559 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30560 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30561 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30562 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30563 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30564 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30565 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30566 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30567 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30568 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30569 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30570 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30571 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30572 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30573 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30574 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30575 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30576 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30577 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30578 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30579 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30580 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30581 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30582 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
30583 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30584 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30585 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30586 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30587 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30588 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30589 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30590 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30591 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30592 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30594 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30595 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30596 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30597 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30598 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30599 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30600 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30601 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30602 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30603 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30604 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30605 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30606 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30607 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30608 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30609 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30610 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30611 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30612 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30613 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30614 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30615 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30616 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30617 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30618 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30619 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30620 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30621 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30622 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30624 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30625 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30626 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30627 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30628 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30629 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30630 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30631 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30632 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30633 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30634 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30635 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30636 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30637 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30638 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30639 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30640 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30641 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30642 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30643 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30644 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30645 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30646 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30647 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30648 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30649 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30650 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30651 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30652 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30653 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30654 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30655 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30656 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30657 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30658 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30659 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30660 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30661 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30662 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30663 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30664 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30665 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30667 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30668 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30669 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30670 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30671 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30672 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30673 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30674 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30675 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30676 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30677 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30678 { (char *)"DirDialog_GetStyle", (PyCFunction
)_wrap_DirDialog_GetStyle
, METH_O
, NULL
},
30679 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30680 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30681 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30682 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30683 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30684 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30685 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30686 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30687 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30688 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30689 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30690 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30691 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30692 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30693 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30694 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30695 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30696 { (char *)"FileDialog_GetStyle", (PyCFunction
)_wrap_FileDialog_GetStyle
, METH_O
, NULL
},
30697 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30698 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30699 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30700 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30701 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30702 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30703 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30704 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30705 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30706 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30707 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30708 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30709 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30710 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30711 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30712 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30713 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30715 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30717 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30718 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30719 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30720 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30721 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30722 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30723 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30724 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30725 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30726 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30727 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30728 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30729 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30730 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30731 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30733 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30735 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30736 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30737 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30738 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30739 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30740 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30741 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30742 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
30745 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
30746 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30747 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
30749 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
30750 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
30751 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30752 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
30753 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
30754 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
30755 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
30756 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30758 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30759 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
30760 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
30761 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30762 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
30763 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
30764 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
30765 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
30766 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30767 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30768 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
30770 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
30771 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
30773 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30774 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
30775 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30776 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
30777 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
30778 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30779 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
30780 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
30782 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
30783 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
30784 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
30785 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
30786 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
30787 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
30788 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
30790 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
30791 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30792 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
30793 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
30795 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
30796 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
30797 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30798 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
30799 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30800 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
30801 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
30802 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
30804 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30809 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30810 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
30812 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
30813 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
30814 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
30815 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
30816 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
30817 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
30818 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
30819 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
30820 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
30822 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30823 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30826 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30827 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30829 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
30830 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
30831 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
30832 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
30833 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
30834 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
30835 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
30836 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
30837 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
30838 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30839 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
30840 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30841 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30844 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30846 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
30848 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
30849 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
30850 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
30851 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
30852 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
30853 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
30854 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30855 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30856 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
30857 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
30858 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
30859 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
30860 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
30861 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
30862 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
30863 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
30864 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
30865 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
30866 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
30867 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
30868 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
30869 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
30870 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30871 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30872 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30874 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30875 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30876 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30881 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
30882 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
30884 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
30886 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
30887 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
30888 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
30889 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30893 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
30895 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
30896 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
30897 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
30898 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
30899 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
30900 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
30901 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
30902 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
30903 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
30904 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
30905 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
30906 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
30907 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
30908 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
30909 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30912 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30913 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30914 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30917 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
30919 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
30920 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
30921 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
30922 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
30924 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
30925 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
30926 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
30927 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
30928 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
30929 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
30930 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
30931 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
30932 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
30933 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
30934 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
30935 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
30936 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
30937 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
30938 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
30939 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
30953 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
30954 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
30955 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
30956 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
30957 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
30958 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30959 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
30960 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
30961 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
30963 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
30964 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
30965 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
30966 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
30967 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
30968 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
30970 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30975 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
30976 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
30977 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
30978 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
30979 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
30980 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
30982 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
30984 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
30985 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
30988 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30989 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
30990 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
30992 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
30994 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
30995 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30996 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
30998 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
30999 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31000 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31001 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31003 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31004 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31005 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31007 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31008 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31009 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31010 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31011 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31012 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31013 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31014 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31015 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31017 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31019 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31020 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31021 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31022 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31023 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31024 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31025 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31026 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31027 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31028 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31030 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31032 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31033 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31034 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31036 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31037 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31042 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31044 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31045 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31046 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31047 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31050 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31051 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31052 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31053 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31055 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31056 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31057 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31061 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31062 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31063 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31064 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31065 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31069 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31071 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31072 { NULL
, NULL
, 0, NULL
}
31076 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31078 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31079 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31081 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31082 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31084 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31085 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31087 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31088 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31090 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31091 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31093 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31094 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31096 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31097 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31099 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31100 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31102 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31103 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31105 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31106 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31108 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31109 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31111 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31112 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31114 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31115 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31117 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31118 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31120 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31121 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31123 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31124 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31126 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31127 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31129 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31130 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31132 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31133 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31135 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31136 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31138 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31139 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31141 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31142 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31144 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31145 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31147 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31148 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31150 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31151 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31153 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31154 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31156 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31157 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31159 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31160 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31162 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31163 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31165 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31166 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31168 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31169 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31171 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31172 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31174 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31175 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31177 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31178 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31180 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31181 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31183 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31184 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31186 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31187 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31189 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31190 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31192 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31193 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31195 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31196 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31198 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31199 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31201 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31202 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31204 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31205 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31207 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31208 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31210 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31211 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31213 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31214 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31216 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31217 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31219 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31220 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31222 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31223 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31225 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31226 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31228 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31229 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31231 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31232 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31234 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31235 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31237 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31238 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31240 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31241 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31243 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31244 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31246 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31247 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31249 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31250 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31252 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31253 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31255 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31256 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31258 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31259 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31261 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31262 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31264 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31265 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31267 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31268 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31270 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31271 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31273 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31274 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31276 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31277 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31279 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31280 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31282 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31283 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31285 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31286 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31288 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31289 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31291 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31292 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31294 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31295 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31297 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31298 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31300 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31303 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31304 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31306 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31307 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31309 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31310 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31312 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31313 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31315 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31316 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31318 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31321 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31322 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31324 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31327 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31330 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31333 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31336 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31337 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31339 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31340 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31342 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31343 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31345 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31346 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31348 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31349 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31351 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31352 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31354 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31357 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31358 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31360 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31361 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31363 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31364 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31366 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31367 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31369 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31370 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31372 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31373 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31375 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31376 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31378 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31379 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31381 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31382 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31384 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31385 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31387 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31388 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31390 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31393 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31394 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31396 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31397 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31399 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31400 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31402 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31403 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31405 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31406 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31408 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31409 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31411 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31412 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31414 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31415 return (void *)((wxObject
*) ((wxSizer
*) x
));
31417 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31418 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31420 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31421 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31423 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31424 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31426 static void *_p_wxEventTo_p_wxObject(void *x
) {
31427 return (void *)((wxObject
*) ((wxEvent
*) x
));
31429 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31430 return (void *)((wxObject
*) ((wxFontData
*) x
));
31432 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31433 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31435 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31436 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31438 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31439 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31441 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31442 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31444 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31445 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31447 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31448 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31450 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31451 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31453 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31454 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31456 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31457 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31459 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31460 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31462 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31463 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31465 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31466 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31468 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31469 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31471 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31472 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31474 static void *_p_wxControlTo_p_wxObject(void *x
) {
31475 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31477 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31478 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31480 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31483 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31484 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31486 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31487 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31489 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31490 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31492 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31493 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31495 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31496 return (void *)((wxObject
*) ((wxColourData
*) x
));
31498 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31499 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31501 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31502 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31504 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31505 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31507 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31508 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31510 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31513 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31514 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31516 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31517 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31519 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31520 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31522 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31523 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31525 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31526 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31528 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31529 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31531 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31532 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31534 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31535 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31537 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31538 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31540 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31541 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31543 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31544 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31546 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31547 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31549 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31550 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31552 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31553 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31555 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31556 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31558 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31559 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31561 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31562 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31564 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31565 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31567 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31568 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31570 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31571 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31573 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31574 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31576 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31577 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31579 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31580 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31582 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31583 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31585 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31586 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31588 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31589 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31591 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31592 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31594 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31595 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31597 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31598 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31600 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31601 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31603 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31604 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31606 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31607 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31609 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31610 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31612 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31613 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31615 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31618 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31621 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31622 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31624 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31625 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31627 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31628 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31630 static void *_p_wxImageTo_p_wxObject(void *x
) {
31631 return (void *)((wxObject
*) ((wxImage
*) x
));
31633 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31634 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31636 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31637 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31639 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31640 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31642 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31643 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31645 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31646 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31648 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31649 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31651 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31652 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31654 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31655 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31657 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31658 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31660 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31661 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31663 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31664 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31666 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31667 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31669 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31670 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31672 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31675 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31678 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31679 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31681 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31682 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31684 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31685 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31687 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31688 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31690 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31691 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31693 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31694 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31696 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31697 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31699 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31700 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31702 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31703 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31705 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31706 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31708 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31709 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31711 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31712 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31714 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31715 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31717 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31720 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31721 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31723 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31726 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31727 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31729 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31730 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31732 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31733 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31735 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31736 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31738 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31739 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31741 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31742 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31744 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31745 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31747 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31748 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31750 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31751 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31753 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31754 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31756 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31757 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31759 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31760 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31762 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
31763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31765 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
31766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31768 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31769 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31771 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31772 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31774 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31775 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31777 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31780 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
31781 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
31783 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
31784 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
31786 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31789 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31790 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31792 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31793 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31795 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31796 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31798 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
31799 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31801 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
31802 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31804 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
31805 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31807 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
31808 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31810 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
31811 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
31813 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
31814 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
31816 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
31817 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
31819 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
31820 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
31822 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
31823 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
31825 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
31826 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
31828 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
31829 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
31831 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
31832 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
31834 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
31835 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
31837 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
31838 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
31840 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
31841 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
31843 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31844 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31846 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31847 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
31849 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31850 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31852 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31853 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31855 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
31856 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
31858 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
31859 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
31861 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31862 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
31864 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31865 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31867 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
31868 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31870 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
31871 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31873 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
31874 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
31876 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31877 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31879 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
31880 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31882 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
31883 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31885 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
31886 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31888 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
31889 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31891 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
31892 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31894 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
31895 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31897 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
31898 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31900 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
31901 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31903 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
31904 return (void *)((wxWindow
*) ((wxPanel
*) x
));
31906 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
31907 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
31909 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
31910 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31912 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
31913 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31915 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
31916 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31918 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
31919 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
31921 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
31922 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31924 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
31925 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
31927 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
31928 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
31930 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
31931 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
31933 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
31934 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
31936 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
31937 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
31939 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
31940 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
31942 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
31943 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31945 static void *_p_wxControlTo_p_wxWindow(void *x
) {
31946 return (void *)((wxWindow
*) ((wxControl
*) x
));
31948 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
31949 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31951 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
31952 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31954 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
31955 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31957 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
31958 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
31960 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
31961 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
31963 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
31964 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31966 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
31967 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31969 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
31970 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31972 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
31973 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
31975 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
31976 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31978 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
31979 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
31981 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
31982 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31984 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
31985 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31987 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
31988 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31990 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
31991 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
31993 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
31994 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31996 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
31997 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31999 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32000 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32002 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32003 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32005 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32006 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32008 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32009 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32011 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32012 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32014 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32015 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32017 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32018 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32020 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32021 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32023 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32024 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32026 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32027 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32029 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32030 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32032 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32033 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32035 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32036 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32038 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32039 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32041 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32042 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32044 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32045 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32047 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32048 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32050 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32051 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32053 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32054 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32056 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32057 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32059 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32060 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32062 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32063 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32065 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32066 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32068 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32069 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32071 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32072 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32074 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32075 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32077 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32078 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32080 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32081 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32083 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32084 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32086 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32087 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32089 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32090 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32092 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32093 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32095 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32096 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32098 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32099 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32101 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32102 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};
32103 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32104 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32105 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32106 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32107 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32108 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32109 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32110 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32111 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32112 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32113 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32114 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32115 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32116 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32117 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32118 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32119 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32120 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32121 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32122 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32123 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32124 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32125 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32126 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32127 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32128 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32129 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32130 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32131 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32132 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32133 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32134 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32135 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32136 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32137 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32138 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32139 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32140 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32141 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32142 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32143 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32144 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32145 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32146 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32147 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32148 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32149 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32150 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32151 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32152 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32153 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32154 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32155 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32156 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32157 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32158 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32159 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32160 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32161 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32162 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32163 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32164 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32165 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32166 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32167 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32168 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32169 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32170 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32171 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32172 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32173 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32174 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32175 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32176 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32177 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32178 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32179 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32180 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32181 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32182 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32183 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32184 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32185 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32186 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32187 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32188 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32189 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32190 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32191 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32192 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32193 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32194 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32195 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32196 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32197 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32198 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32199 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32200 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32201 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32202 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32203 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32204 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32205 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32206 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32207 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32208 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32209 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32210 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32211 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32212 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32213 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32214 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32215 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32216 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32217 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32218 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32219 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32220 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32221 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32222 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32223 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32224 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32225 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32226 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32227 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32228 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32229 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32230 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32231 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32232 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32233 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32234 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32235 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32236 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32237 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32238 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32239 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32240 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32241 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32242 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32243 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32244 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32245 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32246 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32247 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32248 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32249 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32250 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32251 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32252 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32253 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32254 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32255 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32256 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32257 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32258 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32259 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32260 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32262 static swig_type_info
*swig_type_initial
[] = {
32264 &_swigt__p_form_ops_t
,
32266 &_swigt__p_unsigned_char
,
32267 &_swigt__p_unsigned_int
,
32268 &_swigt__p_unsigned_long
,
32269 &_swigt__p_wxANIHandler
,
32270 &_swigt__p_wxAcceleratorTable
,
32271 &_swigt__p_wxActivateEvent
,
32272 &_swigt__p_wxArrayInt
,
32273 &_swigt__p_wxBMPHandler
,
32274 &_swigt__p_wxBitmap
,
32275 &_swigt__p_wxBoxSizer
,
32276 &_swigt__p_wxCURHandler
,
32277 &_swigt__p_wxCalculateLayoutEvent
,
32278 &_swigt__p_wxChildFocusEvent
,
32279 &_swigt__p_wxCloseEvent
,
32280 &_swigt__p_wxColour
,
32281 &_swigt__p_wxColourData
,
32282 &_swigt__p_wxColourDialog
,
32283 &_swigt__p_wxCommandEvent
,
32284 &_swigt__p_wxContextMenuEvent
,
32285 &_swigt__p_wxControl
,
32286 &_swigt__p_wxControlWithItems
,
32288 &_swigt__p_wxDateEvent
,
32289 &_swigt__p_wxDialog
,
32290 &_swigt__p_wxDirDialog
,
32291 &_swigt__p_wxDisplayChangedEvent
,
32292 &_swigt__p_wxDropFilesEvent
,
32293 &_swigt__p_wxDuplexMode
,
32294 &_swigt__p_wxEraseEvent
,
32295 &_swigt__p_wxEvent
,
32296 &_swigt__p_wxEvtHandler
,
32297 &_swigt__p_wxFSFile
,
32298 &_swigt__p_wxFileDialog
,
32299 &_swigt__p_wxFileSystem
,
32300 &_swigt__p_wxFindDialogEvent
,
32301 &_swigt__p_wxFindReplaceData
,
32302 &_swigt__p_wxFindReplaceDialog
,
32303 &_swigt__p_wxFlexGridSizer
,
32304 &_swigt__p_wxFocusEvent
,
32306 &_swigt__p_wxFontData
,
32307 &_swigt__p_wxFontDialog
,
32308 &_swigt__p_wxFrame
,
32309 &_swigt__p_wxGBSizerItem
,
32310 &_swigt__p_wxGIFHandler
,
32311 &_swigt__p_wxGridBagSizer
,
32312 &_swigt__p_wxGridSizer
,
32313 &_swigt__p_wxICOHandler
,
32315 &_swigt__p_wxIconBundle
,
32316 &_swigt__p_wxIconizeEvent
,
32317 &_swigt__p_wxIdleEvent
,
32318 &_swigt__p_wxImage
,
32319 &_swigt__p_wxImageHandler
,
32320 &_swigt__p_wxIndividualLayoutConstraint
,
32321 &_swigt__p_wxInitDialogEvent
,
32322 &_swigt__p_wxJPEGHandler
,
32323 &_swigt__p_wxKeyEvent
,
32324 &_swigt__p_wxLayoutAlgorithm
,
32325 &_swigt__p_wxLayoutConstraints
,
32326 &_swigt__p_wxMDIChildFrame
,
32327 &_swigt__p_wxMDIClientWindow
,
32328 &_swigt__p_wxMDIParentFrame
,
32329 &_swigt__p_wxMaximizeEvent
,
32331 &_swigt__p_wxMenuBar
,
32332 &_swigt__p_wxMenuEvent
,
32333 &_swigt__p_wxMenuItem
,
32334 &_swigt__p_wxMessageDialog
,
32335 &_swigt__p_wxMiniFrame
,
32336 &_swigt__p_wxMouseCaptureChangedEvent
,
32337 &_swigt__p_wxMouseEvent
,
32338 &_swigt__p_wxMoveEvent
,
32339 &_swigt__p_wxMultiChoiceDialog
,
32340 &_swigt__p_wxNavigationKeyEvent
,
32341 &_swigt__p_wxNcPaintEvent
,
32342 &_swigt__p_wxNotifyEvent
,
32343 &_swigt__p_wxObject
,
32344 &_swigt__p_wxPCXHandler
,
32345 &_swigt__p_wxPNGHandler
,
32346 &_swigt__p_wxPNMHandler
,
32347 &_swigt__p_wxPageSetupDialog
,
32348 &_swigt__p_wxPageSetupDialogData
,
32349 &_swigt__p_wxPaintEvent
,
32350 &_swigt__p_wxPaletteChangedEvent
,
32351 &_swigt__p_wxPanel
,
32352 &_swigt__p_wxPaperSize
,
32353 &_swigt__p_wxPasswordEntryDialog
,
32354 &_swigt__p_wxPoint
,
32355 &_swigt__p_wxPopupWindow
,
32356 &_swigt__p_wxPreviewCanvas
,
32357 &_swigt__p_wxPreviewControlBar
,
32358 &_swigt__p_wxPreviewFrame
,
32359 &_swigt__p_wxPrintData
,
32360 &_swigt__p_wxPrintDialog
,
32361 &_swigt__p_wxPrintDialogData
,
32362 &_swigt__p_wxPrintPreview
,
32363 &_swigt__p_wxPrinter
,
32364 &_swigt__p_wxProgressDialog
,
32365 &_swigt__p_wxPyApp
,
32366 &_swigt__p_wxPyCommandEvent
,
32367 &_swigt__p_wxPyEvent
,
32368 &_swigt__p_wxPyHtmlListBox
,
32369 &_swigt__p_wxPyImageHandler
,
32370 &_swigt__p_wxPyPanel
,
32371 &_swigt__p_wxPyPopupTransientWindow
,
32372 &_swigt__p_wxPyPreviewControlBar
,
32373 &_swigt__p_wxPyPreviewFrame
,
32374 &_swigt__p_wxPyPrintPreview
,
32375 &_swigt__p_wxPyPrintout
,
32376 &_swigt__p_wxPyScrolledWindow
,
32377 &_swigt__p_wxPySizer
,
32378 &_swigt__p_wxPyTaskBarIcon
,
32379 &_swigt__p_wxPyVListBox
,
32380 &_swigt__p_wxPyVScrolledWindow
,
32381 &_swigt__p_wxPyValidator
,
32382 &_swigt__p_wxPyWindow
,
32383 &_swigt__p_wxQueryLayoutInfoEvent
,
32384 &_swigt__p_wxQueryNewPaletteEvent
,
32386 &_swigt__p_wxRegion
,
32387 &_swigt__p_wxSashEvent
,
32388 &_swigt__p_wxSashLayoutWindow
,
32389 &_swigt__p_wxSashWindow
,
32390 &_swigt__p_wxScrollEvent
,
32391 &_swigt__p_wxScrollWinEvent
,
32392 &_swigt__p_wxScrolledWindow
,
32393 &_swigt__p_wxSetCursorEvent
,
32394 &_swigt__p_wxShowEvent
,
32395 &_swigt__p_wxSingleChoiceDialog
,
32397 &_swigt__p_wxSizeEvent
,
32398 &_swigt__p_wxSizer
,
32399 &_swigt__p_wxSizerItem
,
32400 &_swigt__p_wxSplashScreen
,
32401 &_swigt__p_wxSplashScreenWindow
,
32402 &_swigt__p_wxSplitterEvent
,
32403 &_swigt__p_wxSplitterWindow
,
32404 &_swigt__p_wxStaticBoxSizer
,
32405 &_swigt__p_wxStatusBar
,
32406 &_swigt__p_wxStdDialogButtonSizer
,
32407 &_swigt__p_wxString
,
32408 &_swigt__p_wxSysColourChangedEvent
,
32409 &_swigt__p_wxTIFFHandler
,
32410 &_swigt__p_wxTaskBarIcon
,
32411 &_swigt__p_wxTaskBarIconEvent
,
32412 &_swigt__p_wxTextEntryDialog
,
32413 &_swigt__p_wxTipWindow
,
32414 &_swigt__p_wxToolBar
,
32415 &_swigt__p_wxTopLevelWindow
,
32416 &_swigt__p_wxUpdateUIEvent
,
32417 &_swigt__p_wxValidator
,
32418 &_swigt__p_wxVisualAttributes
,
32419 &_swigt__p_wxWindow
,
32420 &_swigt__p_wxWindowCreateEvent
,
32421 &_swigt__p_wxWindowDestroyEvent
,
32422 &_swigt__p_wxXPMHandler
,
32425 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32426 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32427 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32428 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32429 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32430 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32431 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32432 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32433 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32434 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32435 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32436 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32437 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32438 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32439 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32440 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32441 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32442 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32443 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32444 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32445 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
32446 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32447 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
32448 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32449 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32450 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32451 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32452 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32453 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32454 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32455 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32456 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32457 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32458 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32459 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32460 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32461 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32462 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32463 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32464 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32465 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32466 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32467 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32468 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32469 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32470 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32471 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32472 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32473 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32474 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32475 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
32476 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32477 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32478 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32479 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32480 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32481 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
32482 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32483 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32484 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32485 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32486 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32487 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32488 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32489 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32490 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}};
32491 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32492 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32493 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32494 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32495 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32496 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32497 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32498 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32499 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32500 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32501 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32502 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}};
32503 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32504 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32505 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32506 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32507 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32508 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32509 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32510 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32511 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32512 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32513 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32514 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32515 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32516 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32517 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32518 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32519 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32520 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32521 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32522 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32523 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32524 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32525 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32526 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32527 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32528 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32529 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32530 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32531 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
32532 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32533 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32534 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}};
32535 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32536 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32537 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32538 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}};
32539 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32540 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}};
32541 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}};
32542 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32543 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32544 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32545 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}};
32546 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32547 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32548 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32549 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32550 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}};
32551 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32552 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32553 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32554 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32555 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32556 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32557 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}};
32558 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}};
32559 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32560 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32561 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32562 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32563 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32564 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32565 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}};
32566 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32567 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}};
32568 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32569 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32570 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32571 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32572 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32573 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32574 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32575 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32576 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32577 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32578 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32579 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}};
32580 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32581 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32582 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
32583 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32584 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
32586 static swig_cast_info
*swig_cast_initial
[] = {
32588 _swigc__p_form_ops_t
,
32590 _swigc__p_unsigned_char
,
32591 _swigc__p_unsigned_int
,
32592 _swigc__p_unsigned_long
,
32593 _swigc__p_wxANIHandler
,
32594 _swigc__p_wxAcceleratorTable
,
32595 _swigc__p_wxActivateEvent
,
32596 _swigc__p_wxArrayInt
,
32597 _swigc__p_wxBMPHandler
,
32598 _swigc__p_wxBitmap
,
32599 _swigc__p_wxBoxSizer
,
32600 _swigc__p_wxCURHandler
,
32601 _swigc__p_wxCalculateLayoutEvent
,
32602 _swigc__p_wxChildFocusEvent
,
32603 _swigc__p_wxCloseEvent
,
32604 _swigc__p_wxColour
,
32605 _swigc__p_wxColourData
,
32606 _swigc__p_wxColourDialog
,
32607 _swigc__p_wxCommandEvent
,
32608 _swigc__p_wxContextMenuEvent
,
32609 _swigc__p_wxControl
,
32610 _swigc__p_wxControlWithItems
,
32612 _swigc__p_wxDateEvent
,
32613 _swigc__p_wxDialog
,
32614 _swigc__p_wxDirDialog
,
32615 _swigc__p_wxDisplayChangedEvent
,
32616 _swigc__p_wxDropFilesEvent
,
32617 _swigc__p_wxDuplexMode
,
32618 _swigc__p_wxEraseEvent
,
32620 _swigc__p_wxEvtHandler
,
32621 _swigc__p_wxFSFile
,
32622 _swigc__p_wxFileDialog
,
32623 _swigc__p_wxFileSystem
,
32624 _swigc__p_wxFindDialogEvent
,
32625 _swigc__p_wxFindReplaceData
,
32626 _swigc__p_wxFindReplaceDialog
,
32627 _swigc__p_wxFlexGridSizer
,
32628 _swigc__p_wxFocusEvent
,
32630 _swigc__p_wxFontData
,
32631 _swigc__p_wxFontDialog
,
32633 _swigc__p_wxGBSizerItem
,
32634 _swigc__p_wxGIFHandler
,
32635 _swigc__p_wxGridBagSizer
,
32636 _swigc__p_wxGridSizer
,
32637 _swigc__p_wxICOHandler
,
32639 _swigc__p_wxIconBundle
,
32640 _swigc__p_wxIconizeEvent
,
32641 _swigc__p_wxIdleEvent
,
32643 _swigc__p_wxImageHandler
,
32644 _swigc__p_wxIndividualLayoutConstraint
,
32645 _swigc__p_wxInitDialogEvent
,
32646 _swigc__p_wxJPEGHandler
,
32647 _swigc__p_wxKeyEvent
,
32648 _swigc__p_wxLayoutAlgorithm
,
32649 _swigc__p_wxLayoutConstraints
,
32650 _swigc__p_wxMDIChildFrame
,
32651 _swigc__p_wxMDIClientWindow
,
32652 _swigc__p_wxMDIParentFrame
,
32653 _swigc__p_wxMaximizeEvent
,
32655 _swigc__p_wxMenuBar
,
32656 _swigc__p_wxMenuEvent
,
32657 _swigc__p_wxMenuItem
,
32658 _swigc__p_wxMessageDialog
,
32659 _swigc__p_wxMiniFrame
,
32660 _swigc__p_wxMouseCaptureChangedEvent
,
32661 _swigc__p_wxMouseEvent
,
32662 _swigc__p_wxMoveEvent
,
32663 _swigc__p_wxMultiChoiceDialog
,
32664 _swigc__p_wxNavigationKeyEvent
,
32665 _swigc__p_wxNcPaintEvent
,
32666 _swigc__p_wxNotifyEvent
,
32667 _swigc__p_wxObject
,
32668 _swigc__p_wxPCXHandler
,
32669 _swigc__p_wxPNGHandler
,
32670 _swigc__p_wxPNMHandler
,
32671 _swigc__p_wxPageSetupDialog
,
32672 _swigc__p_wxPageSetupDialogData
,
32673 _swigc__p_wxPaintEvent
,
32674 _swigc__p_wxPaletteChangedEvent
,
32676 _swigc__p_wxPaperSize
,
32677 _swigc__p_wxPasswordEntryDialog
,
32679 _swigc__p_wxPopupWindow
,
32680 _swigc__p_wxPreviewCanvas
,
32681 _swigc__p_wxPreviewControlBar
,
32682 _swigc__p_wxPreviewFrame
,
32683 _swigc__p_wxPrintData
,
32684 _swigc__p_wxPrintDialog
,
32685 _swigc__p_wxPrintDialogData
,
32686 _swigc__p_wxPrintPreview
,
32687 _swigc__p_wxPrinter
,
32688 _swigc__p_wxProgressDialog
,
32690 _swigc__p_wxPyCommandEvent
,
32691 _swigc__p_wxPyEvent
,
32692 _swigc__p_wxPyHtmlListBox
,
32693 _swigc__p_wxPyImageHandler
,
32694 _swigc__p_wxPyPanel
,
32695 _swigc__p_wxPyPopupTransientWindow
,
32696 _swigc__p_wxPyPreviewControlBar
,
32697 _swigc__p_wxPyPreviewFrame
,
32698 _swigc__p_wxPyPrintPreview
,
32699 _swigc__p_wxPyPrintout
,
32700 _swigc__p_wxPyScrolledWindow
,
32701 _swigc__p_wxPySizer
,
32702 _swigc__p_wxPyTaskBarIcon
,
32703 _swigc__p_wxPyVListBox
,
32704 _swigc__p_wxPyVScrolledWindow
,
32705 _swigc__p_wxPyValidator
,
32706 _swigc__p_wxPyWindow
,
32707 _swigc__p_wxQueryLayoutInfoEvent
,
32708 _swigc__p_wxQueryNewPaletteEvent
,
32710 _swigc__p_wxRegion
,
32711 _swigc__p_wxSashEvent
,
32712 _swigc__p_wxSashLayoutWindow
,
32713 _swigc__p_wxSashWindow
,
32714 _swigc__p_wxScrollEvent
,
32715 _swigc__p_wxScrollWinEvent
,
32716 _swigc__p_wxScrolledWindow
,
32717 _swigc__p_wxSetCursorEvent
,
32718 _swigc__p_wxShowEvent
,
32719 _swigc__p_wxSingleChoiceDialog
,
32721 _swigc__p_wxSizeEvent
,
32723 _swigc__p_wxSizerItem
,
32724 _swigc__p_wxSplashScreen
,
32725 _swigc__p_wxSplashScreenWindow
,
32726 _swigc__p_wxSplitterEvent
,
32727 _swigc__p_wxSplitterWindow
,
32728 _swigc__p_wxStaticBoxSizer
,
32729 _swigc__p_wxStatusBar
,
32730 _swigc__p_wxStdDialogButtonSizer
,
32731 _swigc__p_wxString
,
32732 _swigc__p_wxSysColourChangedEvent
,
32733 _swigc__p_wxTIFFHandler
,
32734 _swigc__p_wxTaskBarIcon
,
32735 _swigc__p_wxTaskBarIconEvent
,
32736 _swigc__p_wxTextEntryDialog
,
32737 _swigc__p_wxTipWindow
,
32738 _swigc__p_wxToolBar
,
32739 _swigc__p_wxTopLevelWindow
,
32740 _swigc__p_wxUpdateUIEvent
,
32741 _swigc__p_wxValidator
,
32742 _swigc__p_wxVisualAttributes
,
32743 _swigc__p_wxWindow
,
32744 _swigc__p_wxWindowCreateEvent
,
32745 _swigc__p_wxWindowDestroyEvent
,
32746 _swigc__p_wxXPMHandler
,
32750 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32752 static swig_const_info swig_const_table
[] = {
32753 {0, 0, 0, 0.0, 0, 0}};
32758 /* -----------------------------------------------------------------------------
32759 * Type initialization:
32760 * This problem is tough by the requirement that no dynamic
32761 * memory is used. Also, since swig_type_info structures store pointers to
32762 * swig_cast_info structures and swig_cast_info structures store pointers back
32763 * to swig_type_info structures, we need some lookup code at initialization.
32764 * The idea is that swig generates all the structures that are needed.
32765 * The runtime then collects these partially filled structures.
32766 * The SWIG_InitializeModule function takes these initial arrays out of
32767 * swig_module, and does all the lookup, filling in the swig_module.types
32768 * array with the correct data and linking the correct swig_cast_info
32769 * structures together.
32771 * The generated swig_type_info structures are assigned staticly to an initial
32772 * array. We just loop though that array, and handle each type individually.
32773 * First we lookup if this type has been already loaded, and if so, use the
32774 * loaded structure instead of the generated one. Then we have to fill in the
32775 * cast linked list. The cast data is initially stored in something like a
32776 * two-dimensional array. Each row corresponds to a type (there are the same
32777 * number of rows as there are in the swig_type_initial array). Each entry in
32778 * a column is one of the swig_cast_info structures for that type.
32779 * The cast_initial array is actually an array of arrays, because each row has
32780 * a variable number of columns. So to actually build the cast linked list,
32781 * we find the array of casts associated with the type, and loop through it
32782 * adding the casts to the list. The one last trick we need to do is making
32783 * sure the type pointer in the swig_cast_info struct is correct.
32785 * First off, we lookup the cast->type name to see if it is already loaded.
32786 * There are three cases to handle:
32787 * 1) If the cast->type has already been loaded AND the type we are adding
32788 * casting info to has not been loaded (it is in this module), THEN we
32789 * replace the cast->type pointer with the type pointer that has already
32791 * 2) If BOTH types (the one we are adding casting info to, and the
32792 * cast->type) are loaded, THEN the cast info has already been loaded by
32793 * the previous module so we just ignore it.
32794 * 3) Finally, if cast->type has not already been loaded, then we add that
32795 * swig_cast_info to the linked list (because the cast->type) pointer will
32797 * ----------------------------------------------------------------------------- */
32807 #define SWIGRUNTIME_DEBUG
32811 SWIG_InitializeModule(void *clientdata
) {
32813 swig_module_info
*module_head
;
32814 static int init_run
= 0;
32816 clientdata
= clientdata
;
32818 if (init_run
) return;
32821 /* Initialize the swig_module */
32822 swig_module
.type_initial
= swig_type_initial
;
32823 swig_module
.cast_initial
= swig_cast_initial
;
32825 /* Try and load any already created modules */
32826 module_head
= SWIG_GetModule(clientdata
);
32828 swig_module
.next
= module_head
->next
;
32829 module_head
->next
= &swig_module
;
32831 /* This is the first module loaded */
32832 swig_module
.next
= &swig_module
;
32833 SWIG_SetModule(clientdata
, &swig_module
);
32836 /* Now work on filling in swig_module.types */
32837 #ifdef SWIGRUNTIME_DEBUG
32838 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
32840 for (i
= 0; i
< swig_module
.size
; ++i
) {
32841 swig_type_info
*type
= 0;
32842 swig_type_info
*ret
;
32843 swig_cast_info
*cast
;
32845 #ifdef SWIGRUNTIME_DEBUG
32846 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32849 /* if there is another module already loaded */
32850 if (swig_module
.next
!= &swig_module
) {
32851 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
32854 /* Overwrite clientdata field */
32855 #ifdef SWIGRUNTIME_DEBUG
32856 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
32858 if (swig_module
.type_initial
[i
]->clientdata
) {
32859 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
32860 #ifdef SWIGRUNTIME_DEBUG
32861 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
32865 type
= swig_module
.type_initial
[i
];
32868 /* Insert casting types */
32869 cast
= swig_module
.cast_initial
[i
];
32870 while (cast
->type
) {
32871 /* Don't need to add information already in the list */
32873 #ifdef SWIGRUNTIME_DEBUG
32874 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
32876 if (swig_module
.next
!= &swig_module
) {
32877 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
32878 #ifdef SWIGRUNTIME_DEBUG
32879 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
32883 if (type
== swig_module
.type_initial
[i
]) {
32884 #ifdef SWIGRUNTIME_DEBUG
32885 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
32890 /* Check for casting already in the list */
32891 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
32892 #ifdef SWIGRUNTIME_DEBUG
32893 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
32895 if (!ocast
) ret
= 0;
32900 #ifdef SWIGRUNTIME_DEBUG
32901 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
32904 type
->cast
->prev
= cast
;
32905 cast
->next
= type
->cast
;
32911 /* Set entry in modules->types array equal to the type */
32912 swig_module
.types
[i
] = type
;
32914 swig_module
.types
[i
] = 0;
32916 #ifdef SWIGRUNTIME_DEBUG
32917 printf("**** SWIG_InitializeModule: Cast List ******\n");
32918 for (i
= 0; i
< swig_module
.size
; ++i
) {
32920 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
32921 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32922 while (cast
->type
) {
32923 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
32927 printf("---- Total casts: %d\n",j
);
32929 printf("**** SWIG_InitializeModule: Cast List ******\n");
32933 /* This function will propagate the clientdata field of type to
32934 * any new swig_type_info structures that have been added into the list
32935 * of equivalent types. It is like calling
32936 * SWIG_TypeClientData(type, clientdata) a second time.
32939 SWIG_PropagateClientData(void) {
32941 swig_cast_info
*equiv
;
32942 static int init_run
= 0;
32944 if (init_run
) return;
32947 for (i
= 0; i
< swig_module
.size
; i
++) {
32948 if (swig_module
.types
[i
]->clientdata
) {
32949 equiv
= swig_module
.types
[i
]->cast
;
32951 if (!equiv
->converter
) {
32952 if (equiv
->type
&& !equiv
->type
->clientdata
)
32953 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
32955 equiv
= equiv
->next
;
32975 /* Python-specific SWIG API */
32976 #define SWIG_newvarlink() SWIG_Python_newvarlink()
32977 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
32978 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
32980 /* -----------------------------------------------------------------------------
32981 * global variable support code.
32982 * ----------------------------------------------------------------------------- */
32984 typedef struct swig_globalvar
{
32985 char *name
; /* Name of global variable */
32986 PyObject
*(*get_attr
)(void); /* Return the current value */
32987 int (*set_attr
)(PyObject
*); /* Set the value */
32988 struct swig_globalvar
*next
;
32991 typedef struct swig_varlinkobject
{
32993 swig_globalvar
*vars
;
32994 } swig_varlinkobject
;
32996 SWIGINTERN PyObject
*
32997 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
32998 return PyString_FromString("<Swig global variables>");
33001 SWIGINTERN PyObject
*
33002 swig_varlink_str(swig_varlinkobject
*v
) {
33003 PyObject
*str
= PyString_FromString("(");
33004 swig_globalvar
*var
;
33005 for (var
= v
->vars
; var
; var
=var
->next
) {
33006 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33007 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33009 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33014 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33015 PyObject
*str
= swig_varlink_str(v
);
33016 fprintf(fp
,"Swig global variables ");
33017 fprintf(fp
,"%s\n", PyString_AsString(str
));
33023 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33024 swig_globalvar
*var
= v
->vars
;
33026 swig_globalvar
*n
= var
->next
;
33033 SWIGINTERN PyObject
*
33034 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33035 PyObject
*res
= NULL
;
33036 swig_globalvar
*var
= v
->vars
;
33038 if (strcmp(var
->name
,n
) == 0) {
33039 res
= (*var
->get_attr
)();
33044 if (res
== NULL
&& !PyErr_Occurred()) {
33045 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33051 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33053 swig_globalvar
*var
= v
->vars
;
33055 if (strcmp(var
->name
,n
) == 0) {
33056 res
= (*var
->set_attr
)(p
);
33061 if (res
== 1 && !PyErr_Occurred()) {
33062 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33067 SWIGINTERN PyTypeObject
*
33068 swig_varlink_type(void) {
33069 static char varlink__doc__
[] = "Swig var link object";
33070 static PyTypeObject varlink_type
;
33071 static int type_init
= 0;
33073 const PyTypeObject tmp
33075 PyObject_HEAD_INIT(NULL
)
33076 0, /* Number of items in variable part (ob_size) */
33077 (char *)"swigvarlink", /* Type name (tp_name) */
33078 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33079 0, /* Itemsize (tp_itemsize) */
33080 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33081 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33082 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33083 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33084 0, /* tp_compare */
33085 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33086 0, /* tp_as_number */
33087 0, /* tp_as_sequence */
33088 0, /* tp_as_mapping */
33091 (reprfunc
)swig_varlink_str
, /* tp_str */
33092 0, /* tp_getattro */
33093 0, /* tp_setattro */
33094 0, /* tp_as_buffer */
33096 varlink__doc__
, /* tp_doc */
33097 0, /* tp_traverse */
33099 0, /* tp_richcompare */
33100 0, /* tp_weaklistoffset */
33101 #if PY_VERSION_HEX >= 0x02020000
33102 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33104 #if PY_VERSION_HEX >= 0x02030000
33107 #ifdef COUNT_ALLOCS
33108 0,0,0,0 /* tp_alloc -> tp_next */
33111 varlink_type
= tmp
;
33112 varlink_type
.ob_type
= &PyType_Type
;
33115 return &varlink_type
;
33118 /* Create a variable linking object for use later */
33119 SWIGINTERN PyObject
*
33120 SWIG_Python_newvarlink(void) {
33121 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33125 return ((PyObject
*) result
);
33129 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33130 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33131 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33133 size_t size
= strlen(name
)+1;
33134 gv
->name
= (char *)malloc(size
);
33136 strncpy(gv
->name
,name
,size
);
33137 gv
->get_attr
= get_attr
;
33138 gv
->set_attr
= set_attr
;
33139 gv
->next
= v
->vars
;
33145 SWIGINTERN PyObject
*
33147 static PyObject
*_SWIG_globals
= 0;
33148 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33149 return _SWIG_globals
;
33152 /* -----------------------------------------------------------------------------
33153 * constants/methods manipulation
33154 * ----------------------------------------------------------------------------- */
33156 /* Install Constants */
33158 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33161 for (i
= 0; constants
[i
].type
; ++i
) {
33162 switch(constants
[i
].type
) {
33163 case SWIG_PY_POINTER
:
33164 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33166 case SWIG_PY_BINARY
:
33167 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33174 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33180 /* -----------------------------------------------------------------------------*/
33181 /* Fix SwigMethods to carry the callback ptrs when needed */
33182 /* -----------------------------------------------------------------------------*/
33185 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33186 swig_const_info
*const_table
,
33187 swig_type_info
**types
,
33188 swig_type_info
**types_initial
) {
33190 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33191 char *c
= methods
[i
].ml_doc
;
33192 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33194 swig_const_info
*ci
= 0;
33195 char *name
= c
+ 10;
33196 for (j
= 0; const_table
[j
].type
; ++j
) {
33197 if (strncmp(const_table
[j
].name
, name
,
33198 strlen(const_table
[j
].name
)) == 0) {
33199 ci
= &(const_table
[j
]);
33204 size_t shift
= (ci
->ptype
) - types
;
33205 swig_type_info
*ty
= types_initial
[shift
];
33206 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33207 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33208 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33211 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33213 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33215 strncpy(buff
, "swig_ptr: ", 10);
33217 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33218 methods
[i
].ml_doc
= ndoc
;
33230 /* -----------------------------------------------------------------------------*
33231 * Partial Init method
33232 * -----------------------------------------------------------------------------*/
33237 SWIGEXPORT
void SWIG_init(void) {
33240 /* Fix SwigMethods to carry the callback ptrs when needed */
33241 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33243 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33244 d
= PyModule_GetDict(m
);
33246 SWIG_InitializeModule(0);
33247 SWIG_InstallConstants(d
,swig_const_table
);
33250 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33251 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33252 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33253 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33254 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33255 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33256 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33257 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33258 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33259 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33260 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33261 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33262 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33263 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33264 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33265 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33266 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33267 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33268 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33269 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33270 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33271 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33272 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33273 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33274 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33275 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33276 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33277 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33278 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33279 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33280 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33281 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33282 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33283 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33284 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33285 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33286 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33287 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33288 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33289 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33290 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33291 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33292 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33293 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33294 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33295 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33296 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33297 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33298 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33299 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33300 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33301 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33302 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33303 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33304 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33305 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33306 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33307 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33308 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33309 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33310 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33311 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33312 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33313 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33314 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33315 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33316 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33317 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33318 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33319 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33320 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33321 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33322 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33323 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33324 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33325 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33326 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33327 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33328 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33329 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33330 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33331 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33332 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33333 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33334 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33335 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33336 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33337 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33338 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33339 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33340 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33341 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33342 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33343 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33344 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33345 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33346 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33347 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33348 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33349 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33350 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33351 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33353 // Map renamed classes back to their common name for OOR
33354 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33355 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33356 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33358 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33359 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33360 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33361 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33362 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33363 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33364 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33365 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33366 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33367 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33368 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33369 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33370 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33371 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33372 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33373 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33374 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33375 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33376 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33377 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33378 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33379 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33380 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33381 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33382 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33383 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33384 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33385 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33386 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33387 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33388 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33389 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33390 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33391 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33392 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33393 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33394 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33395 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33396 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33397 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33398 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33399 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33400 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33401 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33402 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33403 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33404 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33405 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33406 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33407 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33408 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33409 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33410 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33411 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33412 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33413 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33414 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33415 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33416 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33417 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33418 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33419 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33420 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33421 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33422 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33423 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33424 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33425 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33426 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33427 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33428 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33429 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33430 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33431 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33432 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33433 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33434 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33435 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33437 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");