1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2546 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2547 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[83]
2550 #define SWIGTYPE_p_wxObject swig_types[84]
2551 #define SWIGTYPE_p_wxPCXHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNGHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNMHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialog swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[89]
2556 #define SWIGTYPE_p_wxPaintEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPanel swig_types[92]
2559 #define SWIGTYPE_p_wxPaperSize swig_types[93]
2560 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[94]
2561 #define SWIGTYPE_p_wxPoint swig_types[95]
2562 #define SWIGTYPE_p_wxPopupWindow swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewCanvas swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewControlBar swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewFrame swig_types[99]
2566 #define SWIGTYPE_p_wxPrintData swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialog swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialogData swig_types[102]
2569 #define SWIGTYPE_p_wxPrintPreview swig_types[103]
2570 #define SWIGTYPE_p_wxPrinter swig_types[104]
2571 #define SWIGTYPE_p_wxProgressDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPyApp swig_types[106]
2573 #define SWIGTYPE_p_wxPyCommandEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[109]
2576 #define SWIGTYPE_p_wxPyImageHandler swig_types[110]
2577 #define SWIGTYPE_p_wxPyPanel swig_types[111]
2578 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintPreview swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintout swig_types[116]
2583 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[117]
2584 #define SWIGTYPE_p_wxPySizer swig_types[118]
2585 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[119]
2586 #define SWIGTYPE_p_wxPyVListBox swig_types[120]
2587 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPyValidator swig_types[122]
2589 #define SWIGTYPE_p_wxPyWindow swig_types[123]
2590 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[124]
2591 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[125]
2592 #define SWIGTYPE_p_wxRect swig_types[126]
2593 #define SWIGTYPE_p_wxRegion swig_types[127]
2594 #define SWIGTYPE_p_wxSashEvent swig_types[128]
2595 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[129]
2596 #define SWIGTYPE_p_wxSashWindow swig_types[130]
2597 #define SWIGTYPE_p_wxScrollEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrollWinEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrolledWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSetCursorEvent swig_types[134]
2601 #define SWIGTYPE_p_wxShowEvent swig_types[135]
2602 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[136]
2603 #define SWIGTYPE_p_wxSize swig_types[137]
2604 #define SWIGTYPE_p_wxSizeEvent swig_types[138]
2605 #define SWIGTYPE_p_wxSizer swig_types[139]
2606 #define SWIGTYPE_p_wxSizerItem swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreen swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterWindow swig_types[144]
2611 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[145]
2612 #define SWIGTYPE_p_wxStatusBar swig_types[146]
2613 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[147]
2614 #define SWIGTYPE_p_wxString swig_types[148]
2615 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[149]
2616 #define SWIGTYPE_p_wxTIFFHandler swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIcon swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[152]
2619 #define SWIGTYPE_p_wxTextEntryDialog swig_types[153]
2620 #define SWIGTYPE_p_wxTipWindow swig_types[154]
2621 #define SWIGTYPE_p_wxToolBar swig_types[155]
2622 #define SWIGTYPE_p_wxTopLevelWindow swig_types[156]
2623 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[157]
2624 #define SWIGTYPE_p_wxValidator swig_types[158]
2625 #define SWIGTYPE_p_wxVisualAttributes swig_types[159]
2626 #define SWIGTYPE_p_wxWindow swig_types[160]
2627 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[161]
2628 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[162]
2629 #define SWIGTYPE_p_wxXPMHandler swig_types[163]
2630 static swig_type_info
*swig_types
[165];
2631 static swig_module_info swig_module
= {swig_types
, 164, 0, 0, 0, 0};
2632 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2633 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2635 /* -------- TYPES TABLE (END) -------- */
2637 #if (PY_VERSION_HEX <= 0x02000000)
2638 # if !defined(SWIG_PYTHON_CLASSIC)
2639 # error "This python version requires to use swig with the '-classic' option"
2642 #if (PY_VERSION_HEX <= 0x02020000)
2643 # error "This python version requires to use swig with the '-nomodern' option"
2645 #if (PY_VERSION_HEX <= 0x02020000)
2646 # error "This python version requires to use swig with the '-nomodernargs' option"
2649 # error "This python version requires to use swig with the '-nofastunpack' option"
2652 /*-----------------------------------------------
2653 @(target):= _windows_.so
2654 ------------------------------------------------*/
2655 #define SWIG_init init_windows_
2657 #define SWIG_name "_windows_"
2659 #define SWIGVERSION 0x010329
2662 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2663 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2666 #include <stdexcept>
2670 class PyObject_ptr
{
2675 PyObject_ptr() :_obj(0)
2679 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2684 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2686 if (initial_ref
) Py_XINCREF(_obj
);
2689 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2691 Py_XINCREF(item
._obj
);
2702 operator PyObject
*() const
2707 PyObject
*operator->() const
2716 struct PyObject_var
: PyObject_ptr
{
2717 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2719 PyObject_var
& operator = (PyObject
* obj
)
2729 #include "wx/wxPython/wxPython.h"
2730 #include "wx/wxPython/pyclasses.h"
2733 static const wxString
wxPyEmptyString(wxEmptyString
);
2734 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2740 # define LLONG_MIN LONG_LONG_MIN
2743 # define LLONG_MAX LONG_LONG_MAX
2746 # define ULLONG_MAX ULONG_LONG_MAX
2751 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2753 if (PyNumber_Check(obj
)) {
2754 if (val
) *val
= PyInt_AsLong(obj
);
2757 return SWIG_TypeError
;
2762 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2765 int res
= SWIG_AsVal_long (obj
, &v
);
2766 if (SWIG_IsOK(res
)) {
2767 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2768 return SWIG_OverflowError
;
2770 if (val
) *val
= static_cast< int >(v
);
2778 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2780 if (obj
== Py_True
) {
2781 if (val
) *val
= true;
2783 } else if (obj
== Py_False
) {
2784 if (val
) *val
= false;
2788 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2789 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2795 #define SWIG_From_long PyInt_FromLong
2798 SWIGINTERNINLINE PyObject
*
2799 SWIG_From_int (int value
)
2801 return SWIG_From_long (value
);
2806 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2808 if (PyNumber_Check(obj
)) {
2809 if (val
) *val
= PyFloat_AsDouble(obj
);
2812 return SWIG_TypeError
;
2816 #define SWIG_From_double PyFloat_FromDouble
2818 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2819 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2820 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2821 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2822 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2823 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2826 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2828 self
->GetFieldRect(i
, r
);
2831 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2832 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2833 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2835 #include <wx/popupwin.h>
2838 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2841 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2842 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2843 : wxPopupTransientWindow(parent
, style
) {}
2845 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2846 DEC_PYCALLBACK__(OnDismiss
);
2847 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2852 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2853 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2854 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2857 #include <wx/tipwin.h>
2859 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2860 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2863 #include <wx/tipwin.h>
2866 #include <wx/vscroll.h>
2869 class wxPyVScrolledWindow
: public wxVScrolledWindow
2871 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2873 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2875 wxPyVScrolledWindow(wxWindow
*parent
,
2876 wxWindowID id
= wxID_ANY
,
2877 const wxPoint
& pos
= wxDefaultPosition
,
2878 const wxSize
& size
= wxDefaultSize
,
2880 const wxString
& name
= wxPyPanelNameStr
)
2881 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2884 // Overridable virtuals
2886 // this function must be overridden in the derived class and it should
2887 // return the height of the given line in pixels
2888 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2891 // this function doesn't have to be overridden but it may be useful to do
2892 // it if calculating the lines heights is a relatively expensive operation
2893 // as it gives the user code a possibility to calculate several of them at
2896 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2897 // shouldn't rely on the latter being called for all lines in the interval
2898 // specified here. It is also possible that OnGetLineHeight() will be
2899 // called for the lines outside of this interval, so this is really just a
2900 // hint, not a promise.
2902 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2904 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2907 // when the number of lines changes, we try to estimate the total height
2908 // of all lines which is a rather expensive operation in terms of lines
2909 // access, so if the user code may estimate the average height
2910 // better/faster than we do, it should override this function to implement
2913 // this function should return the best guess for the total height it may
2915 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2918 // Also expose some other interesting protected methods
2921 // find the index of the line we need to show at the top of the window such
2922 // that the last (fully or partially) visible line is the given one
2923 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2924 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2926 // get the total height of the lines between lineMin (inclusive) and
2927 // lineMax (exclusive)
2928 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2929 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2931 // update the thumb size shown by the scrollbar
2932 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2934 // remove the scrollbar completely because we don't need it
2935 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2940 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2942 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2943 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2944 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2948 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2951 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2952 return SWIG_TypeError
;
2955 *val
= (unsigned long)v
;
2960 SWIGINTERNINLINE
int
2961 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2964 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2965 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2970 SWIGINTERNINLINE PyObject
*
2971 SWIG_From_unsigned_SS_long (unsigned long value
)
2973 return (value
> LONG_MAX
) ?
2974 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2978 SWIGINTERNINLINE PyObject
*
2979 SWIG_From_size_t (size_t value
)
2981 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2985 #include <wx/vlbox.h>
2987 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2989 class wxPyVListBox
: public wxVListBox
2991 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2993 wxPyVListBox() : wxVListBox() {}
2995 wxPyVListBox(wxWindow
*parent
,
2996 wxWindowID id
= wxID_ANY
,
2997 const wxPoint
& pos
= wxDefaultPosition
,
2998 const wxSize
& size
= wxDefaultSize
,
3000 const wxString
& name
= wxPyVListBoxNameStr
)
3001 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3004 // Overridable virtuals
3006 // the derived class must implement this function to actually draw the item
3007 // with the given index on the provided DC
3008 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3009 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3012 // the derived class must implement this method to return the height of the
3014 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3015 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3018 // this method may be used to draw separators between the lines; note that
3019 // the rectangle may be modified, typically to deflate it a bit before
3020 // passing to OnDrawItem()
3022 // the base class version doesn't do anything
3023 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3024 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3027 // this method is used to draw the items background and, maybe, a border
3030 // the base class version implements a reasonable default behaviour which
3031 // consists in drawing the selected item with the standard background
3032 // colour and drawing a border around the item if it is either selected or
3034 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3035 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3041 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3043 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3044 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3045 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3046 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3049 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3050 unsigned long cookie
= 0;
3051 int selected
= self
->GetFirstSelected(cookie
);
3052 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3053 PyObject
* tup
= PyTuple_New(2);
3054 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3055 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3056 wxPyEndBlockThreads(blocked
);
3059 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3060 int selected
= self
->GetNextSelected(cookie
);
3061 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3062 PyObject
* tup
= PyTuple_New(2);
3063 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3064 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3065 wxPyEndBlockThreads(blocked
);
3069 #include <wx/htmllbox.h>
3072 class wxPyHtmlListBox
: public wxHtmlListBox
3074 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3076 wxPyHtmlListBox() : wxHtmlListBox() {}
3078 wxPyHtmlListBox(wxWindow
*parent
,
3079 wxWindowID id
= wxID_ANY
,
3080 const wxPoint
& pos
= wxDefaultPosition
,
3081 const wxSize
& size
= wxDefaultSize
,
3083 const wxString
& name
= wxPyVListBoxNameStr
)
3084 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3087 // Overridable virtuals
3089 // this method must be implemented in the derived class and should return
3090 // the body (i.e. without <html>) of the HTML for the given item
3091 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3093 // this function may be overridden to decorate HTML returned by OnGetItem()
3094 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3096 // These are from wxVListBox
3097 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3098 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3101 // // this method allows to customize the selection appearance: it may be used
3102 // // to specify the colour of the text which normally has the given colour
3103 // // colFg when it is inside the selection
3105 // // by default, the original colour is not used at all and all text has the
3106 // // same (default for this system) colour inside selection
3107 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3109 // // this is the same as GetSelectedTextColour() but allows to customize the
3110 // // background colour -- this is even more rarely used as you can change it
3111 // // globally using SetSelectionBackground()
3112 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3115 // This method may be overriden to handle clicking on a link in
3116 // the listbox. By default, clicking links is ignored.
3117 virtual void OnLinkClicked(size_t n
,
3118 const wxHtmlLinkInfo
& link
);
3124 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3126 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3127 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3128 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3129 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3132 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3133 const wxHtmlLinkInfo
& link
) {
3135 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3136 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3137 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3138 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3141 wxPyEndBlockThreads(blocked
);
3143 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3150 #ifndef wxHAS_TASK_BAR_ICON
3151 // implement dummy classes for platforms that don't have it
3153 class wxTaskBarIcon
: public wxEvtHandler
3156 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3160 class wxTaskBarIconEvent
: public wxEvent
3163 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3164 { wxPyRaiseNotImplemented(); }
3165 virtual wxEvent
* Clone() const { return NULL
; }
3166 bool IsOk() const { return false; }
3167 bool IsIconInstalled() const { return false; }
3168 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3169 bool RemoveIcon() { return false; }
3170 bool PopupMenu(wxMenu
*menu
) { return false; }
3174 wxEVT_TASKBAR_MOVE
= 0,
3175 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3176 wxEVT_TASKBAR_LEFT_UP
= 0,
3177 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3178 wxEVT_TASKBAR_RIGHT_UP
= 0,
3179 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3180 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3185 // Otherwise make a class that can virtualize CreatePopupMenu
3186 class wxPyTaskBarIcon
: public wxTaskBarIcon
3188 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3190 wxPyTaskBarIcon() : wxTaskBarIcon()
3193 wxMenu
* CreatePopupMenu() {
3194 wxMenu
*rval
= NULL
;
3196 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3197 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3200 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3202 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3207 wxPyEndBlockThreads(blocked
);
3209 rval
= wxTaskBarIcon::CreatePopupMenu();
3216 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3220 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3224 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3225 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3226 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3227 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3228 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3229 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3231 // for compatibility only
3232 #define wxHIDE_READONLY 0
3234 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3236 self
->GetFilenames(arr
);
3237 return wxArrayString2PyList_helper(arr
);
3239 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3241 self
->GetPaths(arr
);
3242 return wxArrayString2PyList_helper(arr
);
3244 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3245 return wxArrayInt2PyList_helper(self
->GetSelections());
3247 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
){
3248 return new wxSingleChoiceDialog(parent
, message
, caption
,
3249 choices
, choices_array
, NULL
, style
, pos
);
3251 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3253 SWIGINTERNINLINE PyObject
*
3254 SWIG_From_bool (bool value
)
3256 return PyBool_FromLong(value
? 1 : 0);
3262 // C++ version of Python aware wxWindow
3263 class wxPyWindow
: public wxWindow
3265 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3267 wxPyWindow() : wxWindow() {}
3268 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3269 const wxPoint
& pos
= wxDefaultPosition
,
3270 const wxSize
& size
= wxDefaultSize
,
3272 const wxString
& name
= wxPyPanelNameStr
)
3273 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3275 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3277 bool DoEraseBackground(wxDC
* dc
) {
3279 return wxWindow::DoEraseBackground(dc
->GetHDC());
3281 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3287 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3288 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3290 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3294 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3296 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3297 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3299 DEC_PYCALLBACK__(InitDialog
);
3300 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3301 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3302 DEC_PYCALLBACK_BOOL_(Validate
);
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3305 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3306 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3308 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3309 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3311 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3312 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3314 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3316 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3321 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3323 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3324 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3326 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3330 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3332 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3333 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3335 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3336 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3338 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3340 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3341 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3342 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3345 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3347 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3348 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3350 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3352 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3354 // C++ version of Python aware wxPanel
3355 class wxPyPanel
: public wxPanel
3357 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3359 wxPyPanel() : wxPanel() {}
3360 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3361 const wxPoint
& pos
= wxDefaultPosition
,
3362 const wxSize
& size
= wxDefaultSize
,
3364 const wxString
& name
= wxPyPanelNameStr
)
3365 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3367 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3368 bool DoEraseBackground(wxDC
* dc
) {
3370 return wxWindow::DoEraseBackground(dc
->GetHDC());
3372 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3379 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3380 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3381 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3382 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3386 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3388 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3389 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3391 DEC_PYCALLBACK__(InitDialog
);
3392 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3393 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3394 DEC_PYCALLBACK_BOOL_(Validate
);
3396 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3397 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3398 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3400 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3401 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3403 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3404 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3406 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3408 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3413 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3415 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3416 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3417 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3418 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3422 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3424 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3425 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3427 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3428 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3430 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3432 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3433 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3434 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3436 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3437 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3439 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3440 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3442 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3444 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3446 // C++ version of Python aware wxScrolledWindow
3447 class wxPyScrolledWindow
: public wxScrolledWindow
3449 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3451 wxPyScrolledWindow() : wxScrolledWindow() {}
3452 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3453 const wxPoint
& pos
= wxDefaultPosition
,
3454 const wxSize
& size
= wxDefaultSize
,
3456 const wxString
& name
= wxPyPanelNameStr
)
3457 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3459 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3460 bool DoEraseBackground(wxDC
* dc
) {
3462 return wxWindow::DoEraseBackground(dc
->GetHDC());
3464 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3470 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3471 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3473 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3477 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3479 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3480 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3482 DEC_PYCALLBACK__(InitDialog
);
3483 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3484 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3485 DEC_PYCALLBACK_BOOL_(Validate
);
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3488 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3489 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3491 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3492 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3494 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3495 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3497 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3499 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3504 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3506 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3507 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3509 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3513 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3516 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3518 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3521 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3524 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3525 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3528 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3530 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3531 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3533 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3535 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3538 #include "wx/wxPython/printfw.h"
3541 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3542 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3543 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3545 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3546 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3547 self
->GetPrivDataLen());
3548 wxPyEndBlockThreads(blocked
);
3551 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3552 if (! PyString_Check(data
)) {
3553 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3554 "Expected string object"));
3558 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3559 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3560 wxPyEndBlockThreads(blocked
);
3564 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3566 // Since this one would be tough and ugly to do with the Macros...
3567 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3568 bool hadErr
= false;
3571 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3572 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3573 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3574 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3577 val
= PyTuple_GetItem(result
, 0);
3578 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3581 val
= PyTuple_GetItem(result
, 1);
3582 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3585 val
= PyTuple_GetItem(result
, 2);
3586 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3589 val
= PyTuple_GetItem(result
, 3);
3590 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3597 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3602 wxPyEndBlockThreads(blocked
);
3604 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3609 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3610 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3614 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3615 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3621 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3622 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3625 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3626 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3629 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3630 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3631 PyObject* win = wxPyMake_wxObject(a,false); \
3632 PyObject* dc = wxPyMake_wxObject(&b,false); \
3633 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3637 wxPyEndBlockThreads(blocked); \
3639 rval = PCLASS::CBNAME(a, b); \
3646 class wxPyPrintPreview
: public wxPrintPreview
3648 DECLARE_CLASS(wxPyPrintPreview
)
3650 wxPyPrintPreview(wxPyPrintout
* printout
,
3651 wxPyPrintout
* printoutForPrinting
,
3652 wxPrintDialogData
* data
=NULL
)
3653 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3655 wxPyPrintPreview(wxPyPrintout
* printout
,
3656 wxPyPrintout
* printoutForPrinting
,
3658 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3661 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3663 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3664 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3665 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3666 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3667 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3672 // Stupid renamed classes... Fix this in 2.5...
3673 #if defined(__WXMSW__)
3674 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3675 #elif defined(__WXMAC__)
3676 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3678 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3681 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3683 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3685 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3686 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3687 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3690 class wxPyPreviewFrame
: public wxPreviewFrame
3692 DECLARE_CLASS(wxPyPreviewFrame
)
3694 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3695 const wxString
& title
,
3696 const wxPoint
& pos
= wxDefaultPosition
,
3697 const wxSize
& size
= wxDefaultSize
,
3698 long style
= wxDEFAULT_FRAME_STYLE
,
3699 const wxString
& name
= wxPyFrameNameStr
)
3700 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3703 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3704 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3706 DEC_PYCALLBACK_VOID_(Initialize
);
3707 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3708 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3713 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3717 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3720 class wxPyPreviewControlBar
: public wxPreviewControlBar
3722 DECLARE_CLASS(wxPyPreviewControlBar
)
3724 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3727 const wxPoint
& pos
= wxDefaultPosition
,
3728 const wxSize
& size
= wxDefaultSize
,
3730 const wxString
& name
= wxPyPanelNameStr
)
3731 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3734 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3736 DEC_PYCALLBACK_VOID_(CreateButtons
);
3737 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3742 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3743 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3744 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3749 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3750 PyObject
*resultobj
= 0;
3751 wxWindow
*arg1
= (wxWindow
*) 0 ;
3752 int arg2
= (int) (int)-1 ;
3753 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3754 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3755 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3756 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3757 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3758 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3759 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3760 wxPanel
*result
= 0 ;
3769 bool temp6
= false ;
3770 PyObject
* obj0
= 0 ;
3771 PyObject
* obj1
= 0 ;
3772 PyObject
* obj2
= 0 ;
3773 PyObject
* obj3
= 0 ;
3774 PyObject
* obj4
= 0 ;
3775 PyObject
* obj5
= 0 ;
3776 char * kwnames
[] = {
3777 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3780 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3781 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3782 if (!SWIG_IsOK(res1
)) {
3783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3785 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3788 if (!SWIG_IsOK(ecode2
)) {
3789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3791 arg2
= static_cast< int >(val2
);
3796 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3802 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3806 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3807 if (!SWIG_IsOK(ecode5
)) {
3808 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3810 arg5
= static_cast< long >(val5
);
3814 arg6
= wxString_in_helper(obj5
);
3815 if (arg6
== NULL
) SWIG_fail
;
3820 if (!wxPyCheckForApp()) SWIG_fail
;
3821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3822 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3823 wxPyEndAllowThreads(__tstate
);
3824 if (PyErr_Occurred()) SWIG_fail
;
3826 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3841 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3842 PyObject
*resultobj
= 0;
3843 wxPanel
*result
= 0 ;
3845 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3847 if (!wxPyCheckForApp()) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 result
= (wxPanel
*)new wxPanel();
3850 wxPyEndAllowThreads(__tstate
);
3851 if (PyErr_Occurred()) SWIG_fail
;
3853 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3860 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3861 PyObject
*resultobj
= 0;
3862 wxPanel
*arg1
= (wxPanel
*) 0 ;
3863 wxWindow
*arg2
= (wxWindow
*) 0 ;
3864 int arg3
= (int) (int)-1 ;
3865 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3866 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3867 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3868 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3869 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3870 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3871 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3883 bool temp7
= false ;
3884 PyObject
* obj0
= 0 ;
3885 PyObject
* obj1
= 0 ;
3886 PyObject
* obj2
= 0 ;
3887 PyObject
* obj3
= 0 ;
3888 PyObject
* obj4
= 0 ;
3889 PyObject
* obj5
= 0 ;
3890 PyObject
* obj6
= 0 ;
3891 char * kwnames
[] = {
3892 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3897 if (!SWIG_IsOK(res1
)) {
3898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3900 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3901 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3902 if (!SWIG_IsOK(res2
)) {
3903 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3905 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3908 if (!SWIG_IsOK(ecode3
)) {
3909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3911 arg3
= static_cast< int >(val3
);
3916 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3922 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3926 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3927 if (!SWIG_IsOK(ecode6
)) {
3928 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3930 arg6
= static_cast< long >(val6
);
3934 arg7
= wxString_in_helper(obj6
);
3935 if (arg7
== NULL
) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3942 wxPyEndAllowThreads(__tstate
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3962 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3963 PyObject
*resultobj
= 0;
3964 wxPanel
*arg1
= (wxPanel
*) 0 ;
3967 PyObject
*swig_obj
[1] ;
3969 if (!args
) SWIG_fail
;
3971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3972 if (!SWIG_IsOK(res1
)) {
3973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3975 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3978 (arg1
)->SetFocusIgnoringChildren();
3979 wxPyEndAllowThreads(__tstate
);
3980 if (PyErr_Occurred()) SWIG_fail
;
3982 resultobj
= SWIG_Py_Void();
3989 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3990 PyObject
*resultobj
= 0;
3991 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3992 SwigValueWrapper
<wxVisualAttributes
> result
;
3995 PyObject
* obj0
= 0 ;
3996 char * kwnames
[] = {
3997 (char *) "variant", NULL
4000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4002 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4003 if (!SWIG_IsOK(ecode1
)) {
4004 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4006 arg1
= static_cast< wxWindowVariant
>(val1
);
4009 if (!wxPyCheckForApp()) SWIG_fail
;
4010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4011 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4012 wxPyEndAllowThreads(__tstate
);
4013 if (PyErr_Occurred()) SWIG_fail
;
4015 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4022 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4024 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4025 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4026 return SWIG_Py_Void();
4029 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4030 return SWIG_Python_InitShadowInstance(args
);
4033 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
= 0;
4035 wxWindow
*arg1
= (wxWindow
*) 0 ;
4036 int arg2
= (int) (int)-1 ;
4037 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4038 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4039 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4040 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4041 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4042 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4043 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4044 wxScrolledWindow
*result
= 0 ;
4053 bool temp6
= false ;
4054 PyObject
* obj0
= 0 ;
4055 PyObject
* obj1
= 0 ;
4056 PyObject
* obj2
= 0 ;
4057 PyObject
* obj3
= 0 ;
4058 PyObject
* obj4
= 0 ;
4059 PyObject
* obj5
= 0 ;
4060 char * kwnames
[] = {
4061 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4066 if (!SWIG_IsOK(res1
)) {
4067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4069 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4072 if (!SWIG_IsOK(ecode2
)) {
4073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4075 arg2
= static_cast< int >(val2
);
4080 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4086 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4090 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4091 if (!SWIG_IsOK(ecode5
)) {
4092 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4094 arg5
= static_cast< long >(val5
);
4098 arg6
= wxString_in_helper(obj5
);
4099 if (arg6
== NULL
) SWIG_fail
;
4104 if (!wxPyCheckForApp()) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4107 wxPyEndAllowThreads(__tstate
);
4108 if (PyErr_Occurred()) SWIG_fail
;
4110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4125 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4126 PyObject
*resultobj
= 0;
4127 wxScrolledWindow
*result
= 0 ;
4129 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4131 if (!wxPyCheckForApp()) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4144 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
= 0;
4146 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4147 wxWindow
*arg2
= (wxWindow
*) 0 ;
4148 int arg3
= (int) (int)-1 ;
4149 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4150 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4151 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4152 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4153 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4154 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4155 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4167 bool temp7
= false ;
4168 PyObject
* obj0
= 0 ;
4169 PyObject
* obj1
= 0 ;
4170 PyObject
* obj2
= 0 ;
4171 PyObject
* obj3
= 0 ;
4172 PyObject
* obj4
= 0 ;
4173 PyObject
* obj5
= 0 ;
4174 PyObject
* obj6
= 0 ;
4175 char * kwnames
[] = {
4176 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4181 if (!SWIG_IsOK(res1
)) {
4182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4184 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4186 if (!SWIG_IsOK(res2
)) {
4187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4191 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4192 if (!SWIG_IsOK(ecode3
)) {
4193 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4195 arg3
= static_cast< int >(val3
);
4200 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4206 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4210 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4211 if (!SWIG_IsOK(ecode6
)) {
4212 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4214 arg6
= static_cast< long >(val6
);
4218 arg7
= wxString_in_helper(obj6
);
4219 if (arg7
== NULL
) SWIG_fail
;
4224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4225 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4230 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4246 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4247 PyObject
*resultobj
= 0;
4248 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4253 int arg6
= (int) 0 ;
4254 int arg7
= (int) 0 ;
4255 bool arg8
= (bool) false ;
4272 PyObject
* obj0
= 0 ;
4273 PyObject
* obj1
= 0 ;
4274 PyObject
* obj2
= 0 ;
4275 PyObject
* obj3
= 0 ;
4276 PyObject
* obj4
= 0 ;
4277 PyObject
* obj5
= 0 ;
4278 PyObject
* obj6
= 0 ;
4279 PyObject
* obj7
= 0 ;
4280 char * kwnames
[] = {
4281 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4284 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4285 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4286 if (!SWIG_IsOK(res1
)) {
4287 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4289 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4290 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4291 if (!SWIG_IsOK(ecode2
)) {
4292 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4294 arg2
= static_cast< int >(val2
);
4295 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4296 if (!SWIG_IsOK(ecode3
)) {
4297 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4299 arg3
= static_cast< int >(val3
);
4300 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4301 if (!SWIG_IsOK(ecode4
)) {
4302 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4304 arg4
= static_cast< int >(val4
);
4305 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4306 if (!SWIG_IsOK(ecode5
)) {
4307 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4309 arg5
= static_cast< int >(val5
);
4311 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4312 if (!SWIG_IsOK(ecode6
)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4315 arg6
= static_cast< int >(val6
);
4318 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4319 if (!SWIG_IsOK(ecode7
)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4322 arg7
= static_cast< int >(val7
);
4325 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4326 if (!SWIG_IsOK(ecode8
)) {
4327 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4329 arg8
= static_cast< bool >(val8
);
4332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4333 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4334 wxPyEndAllowThreads(__tstate
);
4335 if (PyErr_Occurred()) SWIG_fail
;
4337 resultobj
= SWIG_Py_Void();
4344 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4345 PyObject
*resultobj
= 0;
4346 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4355 PyObject
* obj0
= 0 ;
4356 PyObject
* obj1
= 0 ;
4357 PyObject
* obj2
= 0 ;
4358 char * kwnames
[] = {
4359 (char *) "self",(char *) "x",(char *) "y", NULL
4362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4364 if (!SWIG_IsOK(res1
)) {
4365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4367 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4368 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4369 if (!SWIG_IsOK(ecode2
)) {
4370 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4372 arg2
= static_cast< int >(val2
);
4373 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4374 if (!SWIG_IsOK(ecode3
)) {
4375 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4377 arg3
= static_cast< int >(val3
);
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4380 (arg1
)->Scroll(arg2
,arg3
);
4381 wxPyEndAllowThreads(__tstate
);
4382 if (PyErr_Occurred()) SWIG_fail
;
4384 resultobj
= SWIG_Py_Void();
4391 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4392 PyObject
*resultobj
= 0;
4393 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4400 PyObject
* obj0
= 0 ;
4401 PyObject
* obj1
= 0 ;
4402 char * kwnames
[] = {
4403 (char *) "self",(char *) "orient", NULL
4406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4408 if (!SWIG_IsOK(res1
)) {
4409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4411 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4413 if (!SWIG_IsOK(ecode2
)) {
4414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4416 arg2
= static_cast< int >(val2
);
4418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4419 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4420 wxPyEndAllowThreads(__tstate
);
4421 if (PyErr_Occurred()) SWIG_fail
;
4423 resultobj
= SWIG_From_int(static_cast< int >(result
));
4430 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
= 0;
4432 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4441 PyObject
* obj0
= 0 ;
4442 PyObject
* obj1
= 0 ;
4443 PyObject
* obj2
= 0 ;
4444 char * kwnames
[] = {
4445 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4450 if (!SWIG_IsOK(res1
)) {
4451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4453 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4455 if (!SWIG_IsOK(ecode2
)) {
4456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4458 arg2
= static_cast< int >(val2
);
4459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4460 if (!SWIG_IsOK(ecode3
)) {
4461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4463 arg3
= static_cast< int >(val3
);
4465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4466 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4470 resultobj
= SWIG_Py_Void();
4477 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4478 PyObject
*resultobj
= 0;
4479 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4488 PyObject
* obj0
= 0 ;
4489 PyObject
* obj1
= 0 ;
4490 PyObject
* obj2
= 0 ;
4491 char * kwnames
[] = {
4492 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4497 if (!SWIG_IsOK(res1
)) {
4498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4500 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4501 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4502 if (!SWIG_IsOK(ecode2
)) {
4503 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4505 arg2
= static_cast< int >(val2
);
4506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4507 if (!SWIG_IsOK(ecode3
)) {
4508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4510 arg3
= static_cast< int >(val3
);
4512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4513 (arg1
)->SetScrollRate(arg2
,arg3
);
4514 wxPyEndAllowThreads(__tstate
);
4515 if (PyErr_Occurred()) SWIG_fail
;
4517 resultobj
= SWIG_Py_Void();
4524 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4525 PyObject
*resultobj
= 0;
4526 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4527 int *arg2
= (int *) 0 ;
4528 int *arg3
= (int *) 0 ;
4532 int res2
= SWIG_TMPOBJ
;
4534 int res3
= SWIG_TMPOBJ
;
4535 PyObject
*swig_obj
[1] ;
4539 if (!args
) SWIG_fail
;
4541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4542 if (!SWIG_IsOK(res1
)) {
4543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4545 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4548 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4549 wxPyEndAllowThreads(__tstate
);
4550 if (PyErr_Occurred()) SWIG_fail
;
4552 resultobj
= SWIG_Py_Void();
4553 if (SWIG_IsTmpObj(res2
)) {
4554 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4556 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4559 if (SWIG_IsTmpObj(res3
)) {
4560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4562 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4571 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
= 0;
4573 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4582 PyObject
* obj0
= 0 ;
4583 PyObject
* obj1
= 0 ;
4584 PyObject
* obj2
= 0 ;
4585 char * kwnames
[] = {
4586 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4591 if (!SWIG_IsOK(res1
)) {
4592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4594 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4595 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4596 if (!SWIG_IsOK(ecode2
)) {
4597 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4599 arg2
= static_cast< bool >(val2
);
4600 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4601 if (!SWIG_IsOK(ecode3
)) {
4602 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4604 arg3
= static_cast< bool >(val3
);
4606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4607 (arg1
)->EnableScrolling(arg2
,arg3
);
4608 wxPyEndAllowThreads(__tstate
);
4609 if (PyErr_Occurred()) SWIG_fail
;
4611 resultobj
= SWIG_Py_Void();
4618 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4619 PyObject
*resultobj
= 0;
4620 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4621 int *arg2
= (int *) 0 ;
4622 int *arg3
= (int *) 0 ;
4626 int res2
= SWIG_TMPOBJ
;
4628 int res3
= SWIG_TMPOBJ
;
4629 PyObject
*swig_obj
[1] ;
4633 if (!args
) SWIG_fail
;
4635 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4636 if (!SWIG_IsOK(res1
)) {
4637 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4639 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4642 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4643 wxPyEndAllowThreads(__tstate
);
4644 if (PyErr_Occurred()) SWIG_fail
;
4646 resultobj
= SWIG_Py_Void();
4647 if (SWIG_IsTmpObj(res2
)) {
4648 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4650 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4653 if (SWIG_IsTmpObj(res3
)) {
4654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4656 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4665 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4666 PyObject
*resultobj
= 0;
4667 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4676 PyObject
* obj0
= 0 ;
4677 PyObject
* obj1
= 0 ;
4678 PyObject
* obj2
= 0 ;
4679 char * kwnames
[] = {
4680 (char *) "self",(char *) "xs",(char *) "ys", NULL
4683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4685 if (!SWIG_IsOK(res1
)) {
4686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4688 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4689 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4690 if (!SWIG_IsOK(ecode2
)) {
4691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4693 arg2
= static_cast< double >(val2
);
4694 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4695 if (!SWIG_IsOK(ecode3
)) {
4696 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4698 arg3
= static_cast< double >(val3
);
4700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4701 (arg1
)->SetScale(arg2
,arg3
);
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 resultobj
= SWIG_Py_Void();
4712 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4713 PyObject
*resultobj
= 0;
4714 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4718 PyObject
*swig_obj
[1] ;
4720 if (!args
) SWIG_fail
;
4722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4723 if (!SWIG_IsOK(res1
)) {
4724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4726 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4729 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4730 wxPyEndAllowThreads(__tstate
);
4731 if (PyErr_Occurred()) SWIG_fail
;
4733 resultobj
= SWIG_From_double(static_cast< double >(result
));
4740 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4741 PyObject
*resultobj
= 0;
4742 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4746 PyObject
*swig_obj
[1] ;
4748 if (!args
) SWIG_fail
;
4750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4751 if (!SWIG_IsOK(res1
)) {
4752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4754 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4757 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4758 wxPyEndAllowThreads(__tstate
);
4759 if (PyErr_Occurred()) SWIG_fail
;
4761 resultobj
= SWIG_From_double(static_cast< double >(result
));
4768 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4769 PyObject
*resultobj
= 0;
4770 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4777 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4779 if (!SWIG_IsOK(res1
)) {
4780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4782 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4785 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4789 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4800 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4801 PyObject
*resultobj
= 0;
4802 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4805 int *arg4
= (int *) 0 ;
4806 int *arg5
= (int *) 0 ;
4814 int res4
= SWIG_TMPOBJ
;
4816 int res5
= SWIG_TMPOBJ
;
4820 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4822 if (!SWIG_IsOK(res1
)) {
4823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4825 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4826 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4827 if (!SWIG_IsOK(ecode2
)) {
4828 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4830 arg2
= static_cast< int >(val2
);
4831 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4832 if (!SWIG_IsOK(ecode3
)) {
4833 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4835 arg3
= static_cast< int >(val3
);
4837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4838 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4839 wxPyEndAllowThreads(__tstate
);
4840 if (PyErr_Occurred()) SWIG_fail
;
4842 resultobj
= SWIG_Py_Void();
4843 if (SWIG_IsTmpObj(res4
)) {
4844 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4846 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4849 if (SWIG_IsTmpObj(res5
)) {
4850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4852 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4861 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4865 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4868 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4875 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4880 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4881 PyObject
*resultobj
= 0;
4882 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4889 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4891 if (!SWIG_IsOK(res1
)) {
4892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4894 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4897 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4901 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4912 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4913 PyObject
*resultobj
= 0;
4914 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4917 int *arg4
= (int *) 0 ;
4918 int *arg5
= (int *) 0 ;
4926 int res4
= SWIG_TMPOBJ
;
4928 int res5
= SWIG_TMPOBJ
;
4932 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4933 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4934 if (!SWIG_IsOK(res1
)) {
4935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4937 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4938 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4939 if (!SWIG_IsOK(ecode2
)) {
4940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4942 arg2
= static_cast< int >(val2
);
4943 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4944 if (!SWIG_IsOK(ecode3
)) {
4945 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4947 arg3
= static_cast< int >(val3
);
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4951 wxPyEndAllowThreads(__tstate
);
4952 if (PyErr_Occurred()) SWIG_fail
;
4954 resultobj
= SWIG_Py_Void();
4955 if (SWIG_IsTmpObj(res4
)) {
4956 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4958 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4961 if (SWIG_IsTmpObj(res5
)) {
4962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4964 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4973 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4977 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4980 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4987 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4992 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4993 PyObject
*resultobj
= 0;
4994 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4997 PyObject
*swig_obj
[1] ;
4999 if (!args
) SWIG_fail
;
5001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5002 if (!SWIG_IsOK(res1
)) {
5003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5005 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 (arg1
)->AdjustScrollbars();
5009 wxPyEndAllowThreads(__tstate
);
5010 if (PyErr_Occurred()) SWIG_fail
;
5012 resultobj
= SWIG_Py_Void();
5019 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5020 PyObject
*resultobj
= 0;
5021 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5022 wxScrollWinEvent
*arg2
= 0 ;
5028 PyObject
* obj0
= 0 ;
5029 PyObject
* obj1
= 0 ;
5030 char * kwnames
[] = {
5031 (char *) "self",(char *) "event", NULL
5034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5036 if (!SWIG_IsOK(res1
)) {
5037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5039 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5040 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5041 if (!SWIG_IsOK(res2
)) {
5042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5045 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5047 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5050 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5051 wxPyEndAllowThreads(__tstate
);
5052 if (PyErr_Occurred()) SWIG_fail
;
5054 resultobj
= SWIG_From_int(static_cast< int >(result
));
5061 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5062 PyObject
*resultobj
= 0;
5063 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5064 wxWindow
*arg2
= (wxWindow
*) 0 ;
5069 PyObject
* obj0
= 0 ;
5070 PyObject
* obj1
= 0 ;
5071 char * kwnames
[] = {
5072 (char *) "self",(char *) "target", NULL
5075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5077 if (!SWIG_IsOK(res1
)) {
5078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5080 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5081 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5082 if (!SWIG_IsOK(res2
)) {
5083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5085 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5088 (arg1
)->SetTargetWindow(arg2
);
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 resultobj
= SWIG_Py_Void();
5099 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5100 PyObject
*resultobj
= 0;
5101 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5102 wxWindow
*result
= 0 ;
5105 PyObject
*swig_obj
[1] ;
5107 if (!args
) SWIG_fail
;
5109 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5110 if (!SWIG_IsOK(res1
)) {
5111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5113 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5116 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5121 resultobj
= wxPyMake_wxObject(result
, 0);
5129 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5130 PyObject
*resultobj
= 0;
5131 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5137 PyObject
* obj0
= 0 ;
5138 PyObject
* obj1
= 0 ;
5139 char * kwnames
[] = {
5140 (char *) "self",(char *) "dc", NULL
5143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5145 if (!SWIG_IsOK(res1
)) {
5146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5148 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5149 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5150 if (!SWIG_IsOK(res2
)) {
5151 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5154 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5156 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5159 (arg1
)->DoPrepareDC(*arg2
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5163 resultobj
= SWIG_Py_Void();
5170 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5171 PyObject
*resultobj
= 0;
5172 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5173 SwigValueWrapper
<wxVisualAttributes
> result
;
5176 PyObject
* obj0
= 0 ;
5177 char * kwnames
[] = {
5178 (char *) "variant", NULL
5181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5183 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5184 if (!SWIG_IsOK(ecode1
)) {
5185 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5187 arg1
= static_cast< wxWindowVariant
>(val1
);
5190 if (!wxPyCheckForApp()) SWIG_fail
;
5191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5192 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5193 wxPyEndAllowThreads(__tstate
);
5194 if (PyErr_Occurred()) SWIG_fail
;
5196 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5203 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5205 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5206 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5207 return SWIG_Py_Void();
5210 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5211 return SWIG_Python_InitShadowInstance(args
);
5214 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5215 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5220 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5221 PyObject
*pyobj
= 0;
5225 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5227 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5234 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5235 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5240 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5241 PyObject
*pyobj
= 0;
5245 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5247 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5254 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5255 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5260 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5261 PyObject
*pyobj
= 0;
5265 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5267 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5274 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5275 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5280 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5281 PyObject
*pyobj
= 0;
5285 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5287 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5294 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
*resultobj
= 0;
5296 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5297 bool arg2
= (bool) true ;
5302 PyObject
* obj0
= 0 ;
5303 PyObject
* obj1
= 0 ;
5304 char * kwnames
[] = {
5305 (char *) "self",(char *) "maximize", NULL
5308 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5309 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5310 if (!SWIG_IsOK(res1
)) {
5311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5313 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5315 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5316 if (!SWIG_IsOK(ecode2
)) {
5317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5319 arg2
= static_cast< bool >(val2
);
5322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5323 (arg1
)->Maximize(arg2
);
5324 wxPyEndAllowThreads(__tstate
);
5325 if (PyErr_Occurred()) SWIG_fail
;
5327 resultobj
= SWIG_Py_Void();
5334 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5335 PyObject
*resultobj
= 0;
5336 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5339 PyObject
*swig_obj
[1] ;
5341 if (!args
) SWIG_fail
;
5343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5344 if (!SWIG_IsOK(res1
)) {
5345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5347 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5351 wxPyEndAllowThreads(__tstate
);
5352 if (PyErr_Occurred()) SWIG_fail
;
5354 resultobj
= SWIG_Py_Void();
5361 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
= 0;
5363 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5364 bool arg2
= (bool) true ;
5369 PyObject
* obj0
= 0 ;
5370 PyObject
* obj1
= 0 ;
5371 char * kwnames
[] = {
5372 (char *) "self",(char *) "iconize", NULL
5375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5377 if (!SWIG_IsOK(res1
)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5380 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5383 if (!SWIG_IsOK(ecode2
)) {
5384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5386 arg2
= static_cast< bool >(val2
);
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 (arg1
)->Iconize(arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_Py_Void();
5401 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5402 PyObject
*resultobj
= 0;
5403 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5407 PyObject
*swig_obj
[1] ;
5409 if (!args
) SWIG_fail
;
5411 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5412 if (!SWIG_IsOK(res1
)) {
5413 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5415 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5419 wxPyEndAllowThreads(__tstate
);
5420 if (PyErr_Occurred()) SWIG_fail
;
5423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5431 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5432 PyObject
*resultobj
= 0;
5433 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5437 PyObject
*swig_obj
[1] ;
5439 if (!args
) SWIG_fail
;
5441 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5442 if (!SWIG_IsOK(res1
)) {
5443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5445 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5448 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5449 wxPyEndAllowThreads(__tstate
);
5450 if (PyErr_Occurred()) SWIG_fail
;
5453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5461 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5462 PyObject
*resultobj
= 0;
5463 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5467 PyObject
*swig_obj
[1] ;
5469 if (!args
) SWIG_fail
;
5471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5472 if (!SWIG_IsOK(res1
)) {
5473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5475 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5479 wxPyEndAllowThreads(__tstate
);
5480 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5491 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5492 PyObject
*resultobj
= 0;
5493 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5497 PyObject
*swig_obj
[1] ;
5499 if (!args
) SWIG_fail
;
5501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5502 if (!SWIG_IsOK(res1
)) {
5503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5505 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5508 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5509 wxPyEndAllowThreads(__tstate
);
5510 if (PyErr_Occurred()) SWIG_fail
;
5512 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5519 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5520 PyObject
*resultobj
= 0;
5521 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5527 PyObject
* obj0
= 0 ;
5528 PyObject
* obj1
= 0 ;
5529 char * kwnames
[] = {
5530 (char *) "self",(char *) "icon", NULL
5533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5535 if (!SWIG_IsOK(res1
)) {
5536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5538 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5539 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5540 if (!SWIG_IsOK(res2
)) {
5541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5546 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5549 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5550 wxPyEndAllowThreads(__tstate
);
5551 if (PyErr_Occurred()) SWIG_fail
;
5553 resultobj
= SWIG_Py_Void();
5560 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5561 PyObject
*resultobj
= 0;
5562 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5563 wxIconBundle
*arg2
= 0 ;
5568 PyObject
* obj0
= 0 ;
5569 PyObject
* obj1
= 0 ;
5570 char * kwnames
[] = {
5571 (char *) "self",(char *) "icons", NULL
5574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5576 if (!SWIG_IsOK(res1
)) {
5577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5579 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5580 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5581 if (!SWIG_IsOK(res2
)) {
5582 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5585 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5587 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5590 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5591 wxPyEndAllowThreads(__tstate
);
5592 if (PyErr_Occurred()) SWIG_fail
;
5594 resultobj
= SWIG_Py_Void();
5601 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5602 PyObject
*resultobj
= 0;
5603 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5605 long arg3
= (long) wxFULLSCREEN_ALL
;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5615 PyObject
* obj2
= 0 ;
5616 char * kwnames
[] = {
5617 (char *) "self",(char *) "show",(char *) "style", NULL
5620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5622 if (!SWIG_IsOK(res1
)) {
5623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5625 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5626 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5627 if (!SWIG_IsOK(ecode2
)) {
5628 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5630 arg2
= static_cast< bool >(val2
);
5632 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5633 if (!SWIG_IsOK(ecode3
)) {
5634 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5636 arg3
= static_cast< long >(val3
);
5639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5640 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5641 wxPyEndAllowThreads(__tstate
);
5642 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5653 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5654 PyObject
*resultobj
= 0;
5655 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5659 PyObject
*swig_obj
[1] ;
5661 if (!args
) SWIG_fail
;
5663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5664 if (!SWIG_IsOK(res1
)) {
5665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5667 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5670 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5671 wxPyEndAllowThreads(__tstate
);
5672 if (PyErr_Occurred()) SWIG_fail
;
5675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5683 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5684 PyObject
*resultobj
= 0;
5685 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5686 wxString
*arg2
= 0 ;
5689 bool temp2
= false ;
5690 PyObject
* obj0
= 0 ;
5691 PyObject
* obj1
= 0 ;
5692 char * kwnames
[] = {
5693 (char *) "self",(char *) "title", NULL
5696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5698 if (!SWIG_IsOK(res1
)) {
5699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5701 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5703 arg2
= wxString_in_helper(obj1
);
5704 if (arg2
== NULL
) SWIG_fail
;
5708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5709 (arg1
)->SetTitle((wxString
const &)*arg2
);
5710 wxPyEndAllowThreads(__tstate
);
5711 if (PyErr_Occurred()) SWIG_fail
;
5713 resultobj
= SWIG_Py_Void();
5728 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5729 PyObject
*resultobj
= 0;
5730 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5734 PyObject
*swig_obj
[1] ;
5736 if (!args
) SWIG_fail
;
5738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5739 if (!SWIG_IsOK(res1
)) {
5740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5742 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5762 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
*resultobj
= 0;
5764 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5765 wxRegion
*arg2
= 0 ;
5771 PyObject
* obj0
= 0 ;
5772 PyObject
* obj1
= 0 ;
5773 char * kwnames
[] = {
5774 (char *) "self",(char *) "region", NULL
5777 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5778 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5779 if (!SWIG_IsOK(res1
)) {
5780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5782 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5783 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5784 if (!SWIG_IsOK(res2
)) {
5785 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5790 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5793 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5794 wxPyEndAllowThreads(__tstate
);
5795 if (PyErr_Occurred()) SWIG_fail
;
5798 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5806 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5807 PyObject
*resultobj
= 0;
5808 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5809 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5816 char * kwnames
[] = {
5817 (char *) "self",(char *) "flags", NULL
5820 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5821 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5822 if (!SWIG_IsOK(res1
)) {
5823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5825 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5827 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5828 if (!SWIG_IsOK(ecode2
)) {
5829 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5831 arg2
= static_cast< int >(val2
);
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 (arg1
)->RequestUserAttention(arg2
);
5836 wxPyEndAllowThreads(__tstate
);
5837 if (PyErr_Occurred()) SWIG_fail
;
5839 resultobj
= SWIG_Py_Void();
5846 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5847 PyObject
*resultobj
= 0;
5848 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5852 PyObject
*swig_obj
[1] ;
5854 if (!args
) SWIG_fail
;
5856 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5857 if (!SWIG_IsOK(res1
)) {
5858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5860 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (bool)(arg1
)->IsActive();
5864 wxPyEndAllowThreads(__tstate
);
5865 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5876 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5877 PyObject
*resultobj
= 0;
5878 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5884 PyObject
* obj0
= 0 ;
5885 PyObject
* obj1
= 0 ;
5886 char * kwnames
[] = {
5887 (char *) "self",(char *) "on", NULL
5890 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5891 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5892 if (!SWIG_IsOK(res1
)) {
5893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5895 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5896 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5897 if (!SWIG_IsOK(ecode2
)) {
5898 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5900 arg2
= static_cast< bool >(val2
);
5902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5903 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5904 wxPyEndAllowThreads(__tstate
);
5905 if (PyErr_Occurred()) SWIG_fail
;
5907 resultobj
= SWIG_Py_Void();
5914 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5915 PyObject
*resultobj
= 0;
5916 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5920 PyObject
*swig_obj
[1] ;
5922 if (!args
) SWIG_fail
;
5924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5925 if (!SWIG_IsOK(res1
)) {
5926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5928 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5944 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5945 PyObject
*resultobj
= 0;
5946 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5947 int arg2
= (int) wxBOTH
;
5952 PyObject
* obj0
= 0 ;
5953 PyObject
* obj1
= 0 ;
5954 char * kwnames
[] = {
5955 (char *) "self",(char *) "dir", NULL
5958 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5959 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5960 if (!SWIG_IsOK(res1
)) {
5961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5963 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5965 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5966 if (!SWIG_IsOK(ecode2
)) {
5967 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5969 arg2
= static_cast< int >(val2
);
5972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5973 (arg1
)->CenterOnScreen(arg2
);
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_Py_Void();
5984 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5986 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5987 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
5988 return SWIG_Py_Void();
5991 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
= 0;
5993 wxWindow
*arg1
= (wxWindow
*) 0 ;
5994 int arg2
= (int) (int)-1 ;
5995 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5996 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5997 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5998 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5999 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6000 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6001 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6002 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6003 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6004 wxFrame
*result
= 0 ;
6009 bool temp3
= false ;
6014 bool temp7
= false ;
6015 PyObject
* obj0
= 0 ;
6016 PyObject
* obj1
= 0 ;
6017 PyObject
* obj2
= 0 ;
6018 PyObject
* obj3
= 0 ;
6019 PyObject
* obj4
= 0 ;
6020 PyObject
* obj5
= 0 ;
6021 PyObject
* obj6
= 0 ;
6022 char * kwnames
[] = {
6023 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6028 if (!SWIG_IsOK(res1
)) {
6029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6031 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6033 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6034 if (!SWIG_IsOK(ecode2
)) {
6035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6037 arg2
= static_cast< int >(val2
);
6041 arg3
= wxString_in_helper(obj2
);
6042 if (arg3
== NULL
) SWIG_fail
;
6049 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6055 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6059 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6060 if (!SWIG_IsOK(ecode6
)) {
6061 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6063 arg6
= static_cast< long >(val6
);
6067 arg7
= wxString_in_helper(obj6
);
6068 if (arg7
== NULL
) SWIG_fail
;
6073 if (!wxPyCheckForApp()) SWIG_fail
;
6074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6075 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6076 wxPyEndAllowThreads(__tstate
);
6077 if (PyErr_Occurred()) SWIG_fail
;
6079 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6102 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6103 PyObject
*resultobj
= 0;
6104 wxFrame
*result
= 0 ;
6106 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6108 if (!wxPyCheckForApp()) SWIG_fail
;
6109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6110 result
= (wxFrame
*)new wxFrame();
6111 wxPyEndAllowThreads(__tstate
);
6112 if (PyErr_Occurred()) SWIG_fail
;
6114 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6121 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6122 PyObject
*resultobj
= 0;
6123 wxFrame
*arg1
= (wxFrame
*) 0 ;
6124 wxWindow
*arg2
= (wxWindow
*) 0 ;
6125 int arg3
= (int) (int)-1 ;
6126 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6127 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6128 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6129 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6130 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6131 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6132 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6133 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6134 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6142 bool temp4
= false ;
6147 bool temp8
= false ;
6148 PyObject
* obj0
= 0 ;
6149 PyObject
* obj1
= 0 ;
6150 PyObject
* obj2
= 0 ;
6151 PyObject
* obj3
= 0 ;
6152 PyObject
* obj4
= 0 ;
6153 PyObject
* obj5
= 0 ;
6154 PyObject
* obj6
= 0 ;
6155 PyObject
* obj7
= 0 ;
6156 char * kwnames
[] = {
6157 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6162 if (!SWIG_IsOK(res1
)) {
6163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6165 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6166 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6167 if (!SWIG_IsOK(res2
)) {
6168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6170 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6173 if (!SWIG_IsOK(ecode3
)) {
6174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6176 arg3
= static_cast< int >(val3
);
6180 arg4
= wxString_in_helper(obj3
);
6181 if (arg4
== NULL
) SWIG_fail
;
6188 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6194 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6198 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6199 if (!SWIG_IsOK(ecode7
)) {
6200 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6202 arg7
= static_cast< long >(val7
);
6206 arg8
= wxString_in_helper(obj7
);
6207 if (arg8
== NULL
) SWIG_fail
;
6212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6213 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6214 wxPyEndAllowThreads(__tstate
);
6215 if (PyErr_Occurred()) SWIG_fail
;
6218 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6242 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6243 PyObject
*resultobj
= 0;
6244 wxFrame
*arg1
= (wxFrame
*) 0 ;
6247 PyObject
*swig_obj
[1] ;
6249 if (!args
) SWIG_fail
;
6251 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6252 if (!SWIG_IsOK(res1
)) {
6253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6255 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6258 (arg1
)->SendSizeEvent();
6259 wxPyEndAllowThreads(__tstate
);
6260 if (PyErr_Occurred()) SWIG_fail
;
6262 resultobj
= SWIG_Py_Void();
6269 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6270 PyObject
*resultobj
= 0;
6271 wxFrame
*arg1
= (wxFrame
*) 0 ;
6272 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6277 PyObject
* obj0
= 0 ;
6278 PyObject
* obj1
= 0 ;
6279 char * kwnames
[] = {
6280 (char *) "self",(char *) "menubar", NULL
6283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6285 if (!SWIG_IsOK(res1
)) {
6286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6288 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6289 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6290 if (!SWIG_IsOK(res2
)) {
6291 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6293 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 (arg1
)->SetMenuBar(arg2
);
6297 wxPyEndAllowThreads(__tstate
);
6298 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= SWIG_Py_Void();
6307 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6308 PyObject
*resultobj
= 0;
6309 wxFrame
*arg1
= (wxFrame
*) 0 ;
6310 wxMenuBar
*result
= 0 ;
6313 PyObject
*swig_obj
[1] ;
6315 if (!args
) SWIG_fail
;
6317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6318 if (!SWIG_IsOK(res1
)) {
6319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6321 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6329 resultobj
= wxPyMake_wxObject(result
, 0);
6337 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
= 0;
6339 wxFrame
*arg1
= (wxFrame
*) 0 ;
6346 PyObject
* obj0
= 0 ;
6347 PyObject
* obj1
= 0 ;
6348 char * kwnames
[] = {
6349 (char *) "self",(char *) "winid", NULL
6352 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6353 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6354 if (!SWIG_IsOK(res1
)) {
6355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6357 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6358 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6359 if (!SWIG_IsOK(ecode2
)) {
6360 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6362 arg2
= static_cast< int >(val2
);
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6370 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6378 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6379 PyObject
*resultobj
= 0;
6380 wxFrame
*arg1
= (wxFrame
*) 0 ;
6381 int arg2
= (int) 1 ;
6382 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6383 int arg4
= (int) 0 ;
6384 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6385 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6386 wxStatusBar
*result
= 0 ;
6395 bool temp5
= false ;
6396 PyObject
* obj0
= 0 ;
6397 PyObject
* obj1
= 0 ;
6398 PyObject
* obj2
= 0 ;
6399 PyObject
* obj3
= 0 ;
6400 PyObject
* obj4
= 0 ;
6401 char * kwnames
[] = {
6402 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6407 if (!SWIG_IsOK(res1
)) {
6408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6410 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6412 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6413 if (!SWIG_IsOK(ecode2
)) {
6414 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6416 arg2
= static_cast< int >(val2
);
6419 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6420 if (!SWIG_IsOK(ecode3
)) {
6421 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6423 arg3
= static_cast< long >(val3
);
6426 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6427 if (!SWIG_IsOK(ecode4
)) {
6428 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6430 arg4
= static_cast< int >(val4
);
6434 arg5
= wxString_in_helper(obj4
);
6435 if (arg5
== NULL
) SWIG_fail
;
6440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6441 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6442 wxPyEndAllowThreads(__tstate
);
6443 if (PyErr_Occurred()) SWIG_fail
;
6446 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6462 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6463 PyObject
*resultobj
= 0;
6464 wxFrame
*arg1
= (wxFrame
*) 0 ;
6465 wxStatusBar
*result
= 0 ;
6468 PyObject
*swig_obj
[1] ;
6470 if (!args
) SWIG_fail
;
6472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6473 if (!SWIG_IsOK(res1
)) {
6474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6476 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6479 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6480 wxPyEndAllowThreads(__tstate
);
6481 if (PyErr_Occurred()) SWIG_fail
;
6484 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6492 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6493 PyObject
*resultobj
= 0;
6494 wxFrame
*arg1
= (wxFrame
*) 0 ;
6495 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6500 PyObject
* obj0
= 0 ;
6501 PyObject
* obj1
= 0 ;
6502 char * kwnames
[] = {
6503 (char *) "self",(char *) "statBar", NULL
6506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6508 if (!SWIG_IsOK(res1
)) {
6509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6511 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6512 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6513 if (!SWIG_IsOK(res2
)) {
6514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6516 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 (arg1
)->SetStatusBar(arg2
);
6520 wxPyEndAllowThreads(__tstate
);
6521 if (PyErr_Occurred()) SWIG_fail
;
6523 resultobj
= SWIG_Py_Void();
6530 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6531 PyObject
*resultobj
= 0;
6532 wxFrame
*arg1
= (wxFrame
*) 0 ;
6533 wxString
*arg2
= 0 ;
6534 int arg3
= (int) 0 ;
6537 bool temp2
= false ;
6540 PyObject
* obj0
= 0 ;
6541 PyObject
* obj1
= 0 ;
6542 PyObject
* obj2
= 0 ;
6543 char * kwnames
[] = {
6544 (char *) "self",(char *) "text",(char *) "number", NULL
6547 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6548 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6549 if (!SWIG_IsOK(res1
)) {
6550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6552 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6554 arg2
= wxString_in_helper(obj1
);
6555 if (arg2
== NULL
) SWIG_fail
;
6559 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6560 if (!SWIG_IsOK(ecode3
)) {
6561 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6563 arg3
= static_cast< int >(val3
);
6566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6567 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6568 wxPyEndAllowThreads(__tstate
);
6569 if (PyErr_Occurred()) SWIG_fail
;
6571 resultobj
= SWIG_Py_Void();
6586 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
= 0;
6588 wxFrame
*arg1
= (wxFrame
*) 0 ;
6590 int *arg3
= (int *) 0 ;
6593 PyObject
* obj0
= 0 ;
6594 PyObject
* obj1
= 0 ;
6595 char * kwnames
[] = {
6596 (char *) "self",(char *) "widths", NULL
6599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6601 if (!SWIG_IsOK(res1
)) {
6602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6604 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6606 arg2
= PyList_Size(obj1
);
6607 arg3
= int_LIST_helper(obj1
);
6608 if (arg3
== NULL
) SWIG_fail
;
6611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6612 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6613 wxPyEndAllowThreads(__tstate
);
6614 if (PyErr_Occurred()) SWIG_fail
;
6616 resultobj
= SWIG_Py_Void();
6618 if (arg3
) delete [] arg3
;
6623 if (arg3
) delete [] arg3
;
6629 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6630 PyObject
*resultobj
= 0;
6631 wxFrame
*arg1
= (wxFrame
*) 0 ;
6632 wxString
*arg2
= 0 ;
6633 int arg3
= (int) 0 ;
6636 bool temp2
= false ;
6639 PyObject
* obj0
= 0 ;
6640 PyObject
* obj1
= 0 ;
6641 PyObject
* obj2
= 0 ;
6642 char * kwnames
[] = {
6643 (char *) "self",(char *) "text",(char *) "number", NULL
6646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6648 if (!SWIG_IsOK(res1
)) {
6649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6651 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6653 arg2
= wxString_in_helper(obj1
);
6654 if (arg2
== NULL
) SWIG_fail
;
6658 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6659 if (!SWIG_IsOK(ecode3
)) {
6660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6662 arg3
= static_cast< int >(val3
);
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6667 wxPyEndAllowThreads(__tstate
);
6668 if (PyErr_Occurred()) SWIG_fail
;
6670 resultobj
= SWIG_Py_Void();
6685 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
= 0;
6687 wxFrame
*arg1
= (wxFrame
*) 0 ;
6688 int arg2
= (int) 0 ;
6693 PyObject
* obj0
= 0 ;
6694 PyObject
* obj1
= 0 ;
6695 char * kwnames
[] = {
6696 (char *) "self",(char *) "number", NULL
6699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6701 if (!SWIG_IsOK(res1
)) {
6702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6704 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6706 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6707 if (!SWIG_IsOK(ecode2
)) {
6708 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6710 arg2
= static_cast< int >(val2
);
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 (arg1
)->PopStatusText(arg2
);
6715 wxPyEndAllowThreads(__tstate
);
6716 if (PyErr_Occurred()) SWIG_fail
;
6718 resultobj
= SWIG_Py_Void();
6725 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6726 PyObject
*resultobj
= 0;
6727 wxFrame
*arg1
= (wxFrame
*) 0 ;
6733 PyObject
* obj0
= 0 ;
6734 PyObject
* obj1
= 0 ;
6735 char * kwnames
[] = {
6736 (char *) "self",(char *) "n", NULL
6739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6741 if (!SWIG_IsOK(res1
)) {
6742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6744 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6746 if (!SWIG_IsOK(ecode2
)) {
6747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6749 arg2
= static_cast< int >(val2
);
6751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6752 (arg1
)->SetStatusBarPane(arg2
);
6753 wxPyEndAllowThreads(__tstate
);
6754 if (PyErr_Occurred()) SWIG_fail
;
6756 resultobj
= SWIG_Py_Void();
6763 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6764 PyObject
*resultobj
= 0;
6765 wxFrame
*arg1
= (wxFrame
*) 0 ;
6769 PyObject
*swig_obj
[1] ;
6771 if (!args
) SWIG_fail
;
6773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6774 if (!SWIG_IsOK(res1
)) {
6775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6777 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6781 wxPyEndAllowThreads(__tstate
);
6782 if (PyErr_Occurred()) SWIG_fail
;
6784 resultobj
= SWIG_From_int(static_cast< int >(result
));
6791 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
*resultobj
= 0;
6793 wxFrame
*arg1
= (wxFrame
*) 0 ;
6794 long arg2
= (long) -1 ;
6795 int arg3
= (int) -1 ;
6796 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6797 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6798 wxToolBar
*result
= 0 ;
6805 bool temp4
= false ;
6806 PyObject
* obj0
= 0 ;
6807 PyObject
* obj1
= 0 ;
6808 PyObject
* obj2
= 0 ;
6809 PyObject
* obj3
= 0 ;
6810 char * kwnames
[] = {
6811 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6816 if (!SWIG_IsOK(res1
)) {
6817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6819 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6821 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6822 if (!SWIG_IsOK(ecode2
)) {
6823 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6825 arg2
= static_cast< long >(val2
);
6828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6829 if (!SWIG_IsOK(ecode3
)) {
6830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6832 arg3
= static_cast< int >(val3
);
6836 arg4
= wxString_in_helper(obj3
);
6837 if (arg4
== NULL
) SWIG_fail
;
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6848 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6864 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6865 PyObject
*resultobj
= 0;
6866 wxFrame
*arg1
= (wxFrame
*) 0 ;
6867 wxToolBar
*result
= 0 ;
6870 PyObject
*swig_obj
[1] ;
6872 if (!args
) SWIG_fail
;
6874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6875 if (!SWIG_IsOK(res1
)) {
6876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6878 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6881 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6882 wxPyEndAllowThreads(__tstate
);
6883 if (PyErr_Occurred()) SWIG_fail
;
6886 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6894 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6895 PyObject
*resultobj
= 0;
6896 wxFrame
*arg1
= (wxFrame
*) 0 ;
6897 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6902 PyObject
* obj0
= 0 ;
6903 PyObject
* obj1
= 0 ;
6904 char * kwnames
[] = {
6905 (char *) "self",(char *) "toolbar", NULL
6908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6910 if (!SWIG_IsOK(res1
)) {
6911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6913 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6914 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6915 if (!SWIG_IsOK(res2
)) {
6916 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6918 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 (arg1
)->SetToolBar(arg2
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= SWIG_Py_Void();
6932 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6933 PyObject
*resultobj
= 0;
6934 wxFrame
*arg1
= (wxFrame
*) 0 ;
6935 wxString
*arg2
= 0 ;
6939 bool temp2
= false ;
6942 PyObject
* obj0
= 0 ;
6943 PyObject
* obj1
= 0 ;
6944 PyObject
* obj2
= 0 ;
6945 char * kwnames
[] = {
6946 (char *) "self",(char *) "text",(char *) "show", NULL
6949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6951 if (!SWIG_IsOK(res1
)) {
6952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6954 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6956 arg2
= wxString_in_helper(obj1
);
6957 if (arg2
== NULL
) SWIG_fail
;
6960 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
6961 if (!SWIG_IsOK(ecode3
)) {
6962 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6964 arg3
= static_cast< bool >(val3
);
6966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6967 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6971 resultobj
= SWIG_Py_Void();
6986 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
= 0;
6988 wxFrame
*arg1
= (wxFrame
*) 0 ;
6989 wxMenu
*arg2
= (wxMenu
*) NULL
;
6994 PyObject
* obj0
= 0 ;
6995 PyObject
* obj1
= 0 ;
6996 char * kwnames
[] = {
6997 (char *) "self",(char *) "menu", NULL
7000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7002 if (!SWIG_IsOK(res1
)) {
7003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7005 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7007 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7008 if (!SWIG_IsOK(res2
)) {
7009 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7011 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 (arg1
)->DoMenuUpdates(arg2
);
7016 wxPyEndAllowThreads(__tstate
);
7017 if (PyErr_Occurred()) SWIG_fail
;
7019 resultobj
= SWIG_Py_Void();
7026 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7027 PyObject
*resultobj
= 0;
7028 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7029 SwigValueWrapper
<wxVisualAttributes
> result
;
7032 PyObject
* obj0
= 0 ;
7033 char * kwnames
[] = {
7034 (char *) "variant", NULL
7037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7039 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7040 if (!SWIG_IsOK(ecode1
)) {
7041 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7043 arg1
= static_cast< wxWindowVariant
>(val1
);
7046 if (!wxPyCheckForApp()) SWIG_fail
;
7047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7048 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7049 wxPyEndAllowThreads(__tstate
);
7050 if (PyErr_Occurred()) SWIG_fail
;
7052 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7059 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7062 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7063 return SWIG_Py_Void();
7066 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7067 return SWIG_Python_InitShadowInstance(args
);
7070 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7071 PyObject
*resultobj
= 0;
7072 wxWindow
*arg1
= (wxWindow
*) 0 ;
7073 int arg2
= (int) (int)-1 ;
7074 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7075 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7076 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7077 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7078 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7079 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7080 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7081 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7082 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7083 wxDialog
*result
= 0 ;
7088 bool temp3
= false ;
7093 bool temp7
= false ;
7094 PyObject
* obj0
= 0 ;
7095 PyObject
* obj1
= 0 ;
7096 PyObject
* obj2
= 0 ;
7097 PyObject
* obj3
= 0 ;
7098 PyObject
* obj4
= 0 ;
7099 PyObject
* obj5
= 0 ;
7100 PyObject
* obj6
= 0 ;
7101 char * kwnames
[] = {
7102 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7107 if (!SWIG_IsOK(res1
)) {
7108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7110 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7112 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7113 if (!SWIG_IsOK(ecode2
)) {
7114 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7116 arg2
= static_cast< int >(val2
);
7120 arg3
= wxString_in_helper(obj2
);
7121 if (arg3
== NULL
) SWIG_fail
;
7128 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7134 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7138 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7139 if (!SWIG_IsOK(ecode6
)) {
7140 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7142 arg6
= static_cast< long >(val6
);
7146 arg7
= wxString_in_helper(obj6
);
7147 if (arg7
== NULL
) SWIG_fail
;
7152 if (!wxPyCheckForApp()) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7155 wxPyEndAllowThreads(__tstate
);
7156 if (PyErr_Occurred()) SWIG_fail
;
7158 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7181 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7182 PyObject
*resultobj
= 0;
7183 wxDialog
*result
= 0 ;
7185 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7187 if (!wxPyCheckForApp()) SWIG_fail
;
7188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7189 result
= (wxDialog
*)new wxDialog();
7190 wxPyEndAllowThreads(__tstate
);
7191 if (PyErr_Occurred()) SWIG_fail
;
7193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7200 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7201 PyObject
*resultobj
= 0;
7202 wxDialog
*arg1
= (wxDialog
*) 0 ;
7203 wxWindow
*arg2
= (wxWindow
*) 0 ;
7204 int arg3
= (int) (int)-1 ;
7205 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7206 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7207 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7208 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7209 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7210 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7211 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7212 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7213 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7221 bool temp4
= false ;
7226 bool temp8
= false ;
7227 PyObject
* obj0
= 0 ;
7228 PyObject
* obj1
= 0 ;
7229 PyObject
* obj2
= 0 ;
7230 PyObject
* obj3
= 0 ;
7231 PyObject
* obj4
= 0 ;
7232 PyObject
* obj5
= 0 ;
7233 PyObject
* obj6
= 0 ;
7234 PyObject
* obj7
= 0 ;
7235 char * kwnames
[] = {
7236 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7241 if (!SWIG_IsOK(res1
)) {
7242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7244 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7245 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7246 if (!SWIG_IsOK(res2
)) {
7247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7249 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7251 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7252 if (!SWIG_IsOK(ecode3
)) {
7253 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7255 arg3
= static_cast< int >(val3
);
7259 arg4
= wxString_in_helper(obj3
);
7260 if (arg4
== NULL
) SWIG_fail
;
7267 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7273 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7277 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7278 if (!SWIG_IsOK(ecode7
)) {
7279 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7281 arg7
= static_cast< long >(val7
);
7285 arg8
= wxString_in_helper(obj7
);
7286 if (arg8
== NULL
) SWIG_fail
;
7291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7292 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7293 wxPyEndAllowThreads(__tstate
);
7294 if (PyErr_Occurred()) SWIG_fail
;
7297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7321 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7322 PyObject
*resultobj
= 0;
7323 wxDialog
*arg1
= (wxDialog
*) 0 ;
7329 PyObject
* obj0
= 0 ;
7330 PyObject
* obj1
= 0 ;
7331 char * kwnames
[] = {
7332 (char *) "self",(char *) "returnCode", NULL
7335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7336 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7337 if (!SWIG_IsOK(res1
)) {
7338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7340 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7341 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7342 if (!SWIG_IsOK(ecode2
)) {
7343 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7345 arg2
= static_cast< int >(val2
);
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 (arg1
)->SetReturnCode(arg2
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7352 resultobj
= SWIG_Py_Void();
7359 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7360 PyObject
*resultobj
= 0;
7361 wxDialog
*arg1
= (wxDialog
*) 0 ;
7365 PyObject
*swig_obj
[1] ;
7367 if (!args
) SWIG_fail
;
7369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7370 if (!SWIG_IsOK(res1
)) {
7371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7373 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= SWIG_From_int(static_cast< int >(result
));
7387 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
= 0;
7389 wxDialog
*arg1
= (wxDialog
*) 0 ;
7395 PyObject
* obj0
= 0 ;
7396 PyObject
* obj1
= 0 ;
7397 char * kwnames
[] = {
7398 (char *) "self",(char *) "affirmativeId", NULL
7401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7403 if (!SWIG_IsOK(res1
)) {
7404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7406 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7407 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7408 if (!SWIG_IsOK(ecode2
)) {
7409 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7411 arg2
= static_cast< int >(val2
);
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 (arg1
)->SetAffirmativeId(arg2
);
7415 wxPyEndAllowThreads(__tstate
);
7416 if (PyErr_Occurred()) SWIG_fail
;
7418 resultobj
= SWIG_Py_Void();
7425 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7426 PyObject
*resultobj
= 0;
7427 wxDialog
*arg1
= (wxDialog
*) 0 ;
7431 PyObject
*swig_obj
[1] ;
7433 if (!args
) SWIG_fail
;
7435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7436 if (!SWIG_IsOK(res1
)) {
7437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7439 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7442 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= SWIG_From_int(static_cast< int >(result
));
7453 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
= 0;
7455 wxDialog
*arg1
= (wxDialog
*) 0 ;
7461 PyObject
* obj0
= 0 ;
7462 PyObject
* obj1
= 0 ;
7463 char * kwnames
[] = {
7464 (char *) "self",(char *) "escapeId", NULL
7467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7469 if (!SWIG_IsOK(res1
)) {
7470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7472 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7474 if (!SWIG_IsOK(ecode2
)) {
7475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7477 arg2
= static_cast< int >(val2
);
7479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7480 (arg1
)->SetEscapeId(arg2
);
7481 wxPyEndAllowThreads(__tstate
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7484 resultobj
= SWIG_Py_Void();
7491 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7492 PyObject
*resultobj
= 0;
7493 wxDialog
*arg1
= (wxDialog
*) 0 ;
7497 PyObject
*swig_obj
[1] ;
7499 if (!args
) SWIG_fail
;
7501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7502 if (!SWIG_IsOK(res1
)) {
7503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7505 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7509 wxPyEndAllowThreads(__tstate
);
7510 if (PyErr_Occurred()) SWIG_fail
;
7512 resultobj
= SWIG_From_int(static_cast< int >(result
));
7519 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7520 PyObject
*resultobj
= 0;
7521 wxDialog
*arg1
= (wxDialog
*) 0 ;
7522 wxString
*arg2
= 0 ;
7523 wxSizer
*result
= 0 ;
7526 bool temp2
= false ;
7527 PyObject
* obj0
= 0 ;
7528 PyObject
* obj1
= 0 ;
7529 char * kwnames
[] = {
7530 (char *) "self",(char *) "message", NULL
7533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7535 if (!SWIG_IsOK(res1
)) {
7536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7538 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7540 arg2
= wxString_in_helper(obj1
);
7541 if (arg2
== NULL
) SWIG_fail
;
7545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7551 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7567 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7568 PyObject
*resultobj
= 0;
7569 wxDialog
*arg1
= (wxDialog
*) 0 ;
7571 bool arg3
= (bool) false ;
7572 int arg4
= (int) 0 ;
7573 wxSizer
*result
= 0 ;
7582 PyObject
* obj0
= 0 ;
7583 PyObject
* obj1
= 0 ;
7584 PyObject
* obj2
= 0 ;
7585 PyObject
* obj3
= 0 ;
7586 char * kwnames
[] = {
7587 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7592 if (!SWIG_IsOK(res1
)) {
7593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7595 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7596 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7597 if (!SWIG_IsOK(ecode2
)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7600 arg2
= static_cast< long >(val2
);
7602 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7603 if (!SWIG_IsOK(ecode3
)) {
7604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7606 arg3
= static_cast< bool >(val3
);
7609 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7610 if (!SWIG_IsOK(ecode4
)) {
7611 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7613 arg4
= static_cast< int >(val4
);
7616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7617 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7622 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7630 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
= 0;
7632 wxDialog
*arg1
= (wxDialog
*) 0 ;
7634 wxStdDialogButtonSizer
*result
= 0 ;
7639 PyObject
* obj0
= 0 ;
7640 PyObject
* obj1
= 0 ;
7641 char * kwnames
[] = {
7642 (char *) "self",(char *) "flags", NULL
7645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7647 if (!SWIG_IsOK(res1
)) {
7648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7650 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7651 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7652 if (!SWIG_IsOK(ecode2
)) {
7653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7655 arg2
= static_cast< long >(val2
);
7657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7658 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7659 wxPyEndAllowThreads(__tstate
);
7660 if (PyErr_Occurred()) SWIG_fail
;
7662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7669 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7670 PyObject
*resultobj
= 0;
7671 wxDialog
*arg1
= (wxDialog
*) 0 ;
7675 PyObject
*swig_obj
[1] ;
7677 if (!args
) SWIG_fail
;
7679 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7680 if (!SWIG_IsOK(res1
)) {
7681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7683 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7686 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7687 wxPyEndAllowThreads(__tstate
);
7688 if (PyErr_Occurred()) SWIG_fail
;
7691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7699 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7700 PyObject
*resultobj
= 0;
7701 wxDialog
*arg1
= (wxDialog
*) 0 ;
7705 PyObject
*swig_obj
[1] ;
7707 if (!args
) SWIG_fail
;
7709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7710 if (!SWIG_IsOK(res1
)) {
7711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7713 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7716 result
= (int)(arg1
)->ShowModal();
7717 wxPyEndAllowThreads(__tstate
);
7718 if (PyErr_Occurred()) SWIG_fail
;
7720 resultobj
= SWIG_From_int(static_cast< int >(result
));
7727 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
= 0;
7729 wxDialog
*arg1
= (wxDialog
*) 0 ;
7735 PyObject
* obj0
= 0 ;
7736 PyObject
* obj1
= 0 ;
7737 char * kwnames
[] = {
7738 (char *) "self",(char *) "retCode", NULL
7741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7743 if (!SWIG_IsOK(res1
)) {
7744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7746 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7747 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7748 if (!SWIG_IsOK(ecode2
)) {
7749 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7751 arg2
= static_cast< int >(val2
);
7753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7754 (arg1
)->EndModal(arg2
);
7755 wxPyEndAllowThreads(__tstate
);
7756 if (PyErr_Occurred()) SWIG_fail
;
7758 resultobj
= SWIG_Py_Void();
7765 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7766 PyObject
*resultobj
= 0;
7767 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7768 SwigValueWrapper
<wxVisualAttributes
> result
;
7771 PyObject
* obj0
= 0 ;
7772 char * kwnames
[] = {
7773 (char *) "variant", NULL
7776 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7778 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7779 if (!SWIG_IsOK(ecode1
)) {
7780 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7782 arg1
= static_cast< wxWindowVariant
>(val1
);
7785 if (!wxPyCheckForApp()) SWIG_fail
;
7786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7787 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7788 wxPyEndAllowThreads(__tstate
);
7789 if (PyErr_Occurred()) SWIG_fail
;
7791 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7798 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7800 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7801 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7802 return SWIG_Py_Void();
7805 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7806 return SWIG_Python_InitShadowInstance(args
);
7809 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7810 PyObject
*resultobj
= 0;
7811 wxWindow
*arg1
= (wxWindow
*) 0 ;
7812 int arg2
= (int) (int)-1 ;
7813 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7814 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7815 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7816 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7817 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7818 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7819 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7820 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7821 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7822 wxMiniFrame
*result
= 0 ;
7827 bool temp3
= false ;
7832 bool temp7
= false ;
7833 PyObject
* obj0
= 0 ;
7834 PyObject
* obj1
= 0 ;
7835 PyObject
* obj2
= 0 ;
7836 PyObject
* obj3
= 0 ;
7837 PyObject
* obj4
= 0 ;
7838 PyObject
* obj5
= 0 ;
7839 PyObject
* obj6
= 0 ;
7840 char * kwnames
[] = {
7841 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7846 if (!SWIG_IsOK(res1
)) {
7847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7849 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7851 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7852 if (!SWIG_IsOK(ecode2
)) {
7853 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7855 arg2
= static_cast< int >(val2
);
7859 arg3
= wxString_in_helper(obj2
);
7860 if (arg3
== NULL
) SWIG_fail
;
7867 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7873 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7877 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7878 if (!SWIG_IsOK(ecode6
)) {
7879 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7881 arg6
= static_cast< long >(val6
);
7885 arg7
= wxString_in_helper(obj6
);
7886 if (arg7
== NULL
) SWIG_fail
;
7891 if (!wxPyCheckForApp()) SWIG_fail
;
7892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7893 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7894 wxPyEndAllowThreads(__tstate
);
7895 if (PyErr_Occurred()) SWIG_fail
;
7897 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7920 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7921 PyObject
*resultobj
= 0;
7922 wxMiniFrame
*result
= 0 ;
7924 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7926 if (!wxPyCheckForApp()) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 result
= (wxMiniFrame
*)new wxMiniFrame();
7929 wxPyEndAllowThreads(__tstate
);
7930 if (PyErr_Occurred()) SWIG_fail
;
7932 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7939 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7940 PyObject
*resultobj
= 0;
7941 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7942 wxWindow
*arg2
= (wxWindow
*) 0 ;
7943 int arg3
= (int) (int)-1 ;
7944 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7945 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7946 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7947 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7948 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7949 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7950 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
7951 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
7952 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7960 bool temp4
= false ;
7965 bool temp8
= false ;
7966 PyObject
* obj0
= 0 ;
7967 PyObject
* obj1
= 0 ;
7968 PyObject
* obj2
= 0 ;
7969 PyObject
* obj3
= 0 ;
7970 PyObject
* obj4
= 0 ;
7971 PyObject
* obj5
= 0 ;
7972 PyObject
* obj6
= 0 ;
7973 PyObject
* obj7
= 0 ;
7974 char * kwnames
[] = {
7975 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7978 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7979 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
7980 if (!SWIG_IsOK(res1
)) {
7981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7983 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
7984 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7985 if (!SWIG_IsOK(res2
)) {
7986 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7988 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7990 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7991 if (!SWIG_IsOK(ecode3
)) {
7992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7994 arg3
= static_cast< int >(val3
);
7998 arg4
= wxString_in_helper(obj3
);
7999 if (arg4
== NULL
) SWIG_fail
;
8006 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8012 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8016 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8017 if (!SWIG_IsOK(ecode7
)) {
8018 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8020 arg7
= static_cast< long >(val7
);
8024 arg8
= wxString_in_helper(obj7
);
8025 if (arg8
== NULL
) SWIG_fail
;
8030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8031 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8032 wxPyEndAllowThreads(__tstate
);
8033 if (PyErr_Occurred()) SWIG_fail
;
8036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8060 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8062 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8063 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8064 return SWIG_Py_Void();
8067 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8068 return SWIG_Python_InitShadowInstance(args
);
8071 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8072 PyObject
*resultobj
= 0;
8073 wxBitmap
*arg1
= 0 ;
8074 wxWindow
*arg2
= (wxWindow
*) 0 ;
8076 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8077 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8078 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8079 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8080 long arg6
= (long) wxNO_BORDER
;
8081 wxSplashScreenWindow
*result
= 0 ;
8092 PyObject
* obj0
= 0 ;
8093 PyObject
* obj1
= 0 ;
8094 PyObject
* obj2
= 0 ;
8095 PyObject
* obj3
= 0 ;
8096 PyObject
* obj4
= 0 ;
8097 PyObject
* obj5
= 0 ;
8098 char * kwnames
[] = {
8099 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8103 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8104 if (!SWIG_IsOK(res1
)) {
8105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8108 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8110 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8111 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8112 if (!SWIG_IsOK(res2
)) {
8113 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8115 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8116 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8117 if (!SWIG_IsOK(ecode3
)) {
8118 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8120 arg3
= static_cast< int >(val3
);
8124 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8130 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8134 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8135 if (!SWIG_IsOK(ecode6
)) {
8136 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8138 arg6
= static_cast< long >(val6
);
8141 if (!wxPyCheckForApp()) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8147 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8154 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
= 0;
8156 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8157 wxBitmap
*arg2
= 0 ;
8162 PyObject
* obj0
= 0 ;
8163 PyObject
* obj1
= 0 ;
8164 char * kwnames
[] = {
8165 (char *) "self",(char *) "bitmap", NULL
8168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8170 if (!SWIG_IsOK(res1
)) {
8171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8173 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8174 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8175 if (!SWIG_IsOK(res2
)) {
8176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8179 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8181 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8184 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8185 wxPyEndAllowThreads(__tstate
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8188 resultobj
= SWIG_Py_Void();
8195 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8196 PyObject
*resultobj
= 0;
8197 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8198 wxBitmap
*result
= 0 ;
8201 PyObject
*swig_obj
[1] ;
8203 if (!args
) SWIG_fail
;
8205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8206 if (!SWIG_IsOK(res1
)) {
8207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8209 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8213 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8214 result
= (wxBitmap
*) &_result_ref
;
8216 wxPyEndAllowThreads(__tstate
);
8217 if (PyErr_Occurred()) SWIG_fail
;
8220 wxBitmap
* resultptr
= new wxBitmap(*result
);
8221 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8229 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8231 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8232 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8233 return SWIG_Py_Void();
8236 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8237 return SWIG_Python_InitShadowInstance(args
);
8240 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8241 PyObject
*resultobj
= 0;
8242 wxBitmap
*arg1
= 0 ;
8245 wxWindow
*arg4
= (wxWindow
*) 0 ;
8246 int arg5
= (int) -1 ;
8247 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8248 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8249 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8250 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8251 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8252 wxSplashScreen
*result
= 0 ;
8267 PyObject
* obj0
= 0 ;
8268 PyObject
* obj1
= 0 ;
8269 PyObject
* obj2
= 0 ;
8270 PyObject
* obj3
= 0 ;
8271 PyObject
* obj4
= 0 ;
8272 PyObject
* obj5
= 0 ;
8273 PyObject
* obj6
= 0 ;
8274 PyObject
* obj7
= 0 ;
8275 char * kwnames
[] = {
8276 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8279 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8280 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8281 if (!SWIG_IsOK(res1
)) {
8282 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8285 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8287 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8288 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8289 if (!SWIG_IsOK(ecode2
)) {
8290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8292 arg2
= static_cast< long >(val2
);
8293 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8294 if (!SWIG_IsOK(ecode3
)) {
8295 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8297 arg3
= static_cast< int >(val3
);
8298 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8299 if (!SWIG_IsOK(res4
)) {
8300 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8302 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8304 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8305 if (!SWIG_IsOK(ecode5
)) {
8306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8308 arg5
= static_cast< int >(val5
);
8313 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8319 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8323 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8324 if (!SWIG_IsOK(ecode8
)) {
8325 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8327 arg8
= static_cast< long >(val8
);
8330 if (!wxPyCheckForApp()) SWIG_fail
;
8331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8332 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8343 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8344 PyObject
*resultobj
= 0;
8345 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8349 PyObject
*swig_obj
[1] ;
8351 if (!args
) SWIG_fail
;
8353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8354 if (!SWIG_IsOK(res1
)) {
8355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8357 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8361 wxPyEndAllowThreads(__tstate
);
8362 if (PyErr_Occurred()) SWIG_fail
;
8364 resultobj
= SWIG_From_long(static_cast< long >(result
));
8371 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8372 PyObject
*resultobj
= 0;
8373 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8374 wxSplashScreenWindow
*result
= 0 ;
8377 PyObject
*swig_obj
[1] ;
8379 if (!args
) SWIG_fail
;
8381 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8382 if (!SWIG_IsOK(res1
)) {
8383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8385 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8399 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8400 PyObject
*resultobj
= 0;
8401 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8405 PyObject
*swig_obj
[1] ;
8407 if (!args
) SWIG_fail
;
8409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8410 if (!SWIG_IsOK(res1
)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8413 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= SWIG_From_int(static_cast< int >(result
));
8427 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8429 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8430 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8431 return SWIG_Py_Void();
8434 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8435 return SWIG_Python_InitShadowInstance(args
);
8438 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8439 PyObject
*resultobj
= 0;
8440 wxWindow
*arg1
= (wxWindow
*) 0 ;
8441 int arg2
= (int) -1 ;
8442 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8443 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8444 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8445 wxStatusBar
*result
= 0 ;
8452 bool temp4
= false ;
8453 PyObject
* obj0
= 0 ;
8454 PyObject
* obj1
= 0 ;
8455 PyObject
* obj2
= 0 ;
8456 PyObject
* obj3
= 0 ;
8457 char * kwnames
[] = {
8458 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8463 if (!SWIG_IsOK(res1
)) {
8464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8466 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8469 if (!SWIG_IsOK(ecode2
)) {
8470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8472 arg2
= static_cast< int >(val2
);
8475 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8476 if (!SWIG_IsOK(ecode3
)) {
8477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8479 arg3
= static_cast< long >(val3
);
8483 arg4
= wxString_in_helper(obj3
);
8484 if (arg4
== NULL
) SWIG_fail
;
8489 if (!wxPyCheckForApp()) SWIG_fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8492 wxPyEndAllowThreads(__tstate
);
8493 if (PyErr_Occurred()) SWIG_fail
;
8495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8510 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8511 PyObject
*resultobj
= 0;
8512 wxStatusBar
*result
= 0 ;
8514 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8516 if (!wxPyCheckForApp()) SWIG_fail
;
8517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8518 result
= (wxStatusBar
*)new wxStatusBar();
8519 wxPyEndAllowThreads(__tstate
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8522 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8529 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8530 PyObject
*resultobj
= 0;
8531 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8532 wxWindow
*arg2
= (wxWindow
*) 0 ;
8533 int arg3
= (int) -1 ;
8534 long arg4
= (long) wxST_SIZEGRIP
;
8535 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8536 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8546 bool temp5
= false ;
8547 PyObject
* obj0
= 0 ;
8548 PyObject
* obj1
= 0 ;
8549 PyObject
* obj2
= 0 ;
8550 PyObject
* obj3
= 0 ;
8551 PyObject
* obj4
= 0 ;
8552 char * kwnames
[] = {
8553 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8558 if (!SWIG_IsOK(res1
)) {
8559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8561 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8563 if (!SWIG_IsOK(res2
)) {
8564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8566 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8569 if (!SWIG_IsOK(ecode3
)) {
8570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8572 arg3
= static_cast< int >(val3
);
8575 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8576 if (!SWIG_IsOK(ecode4
)) {
8577 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8579 arg4
= static_cast< long >(val4
);
8583 arg5
= wxString_in_helper(obj4
);
8584 if (arg5
== NULL
) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8591 wxPyEndAllowThreads(__tstate
);
8592 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8611 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
= 0;
8613 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8614 int arg2
= (int) 1 ;
8619 PyObject
* obj0
= 0 ;
8620 PyObject
* obj1
= 0 ;
8621 char * kwnames
[] = {
8622 (char *) "self",(char *) "number", NULL
8625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8627 if (!SWIG_IsOK(res1
)) {
8628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8630 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8632 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8633 if (!SWIG_IsOK(ecode2
)) {
8634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8636 arg2
= static_cast< int >(val2
);
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 (arg1
)->SetFieldsCount(arg2
);
8641 wxPyEndAllowThreads(__tstate
);
8642 if (PyErr_Occurred()) SWIG_fail
;
8644 resultobj
= SWIG_Py_Void();
8651 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8652 PyObject
*resultobj
= 0;
8653 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8657 PyObject
*swig_obj
[1] ;
8659 if (!args
) SWIG_fail
;
8661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8662 if (!SWIG_IsOK(res1
)) {
8663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8665 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8668 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8669 wxPyEndAllowThreads(__tstate
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8672 resultobj
= SWIG_From_int(static_cast< int >(result
));
8679 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8680 PyObject
*resultobj
= 0;
8681 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8682 wxString
*arg2
= 0 ;
8683 int arg3
= (int) 0 ;
8686 bool temp2
= false ;
8689 PyObject
* obj0
= 0 ;
8690 PyObject
* obj1
= 0 ;
8691 PyObject
* obj2
= 0 ;
8692 char * kwnames
[] = {
8693 (char *) "self",(char *) "text",(char *) "number", NULL
8696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8698 if (!SWIG_IsOK(res1
)) {
8699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8701 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8703 arg2
= wxString_in_helper(obj1
);
8704 if (arg2
== NULL
) SWIG_fail
;
8708 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8709 if (!SWIG_IsOK(ecode3
)) {
8710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8712 arg3
= static_cast< int >(val3
);
8715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8716 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= SWIG_Py_Void();
8735 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
= 0;
8737 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8738 int arg2
= (int) 0 ;
8744 PyObject
* obj0
= 0 ;
8745 PyObject
* obj1
= 0 ;
8746 char * kwnames
[] = {
8747 (char *) "self",(char *) "number", NULL
8750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8752 if (!SWIG_IsOK(res1
)) {
8753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8755 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8758 if (!SWIG_IsOK(ecode2
)) {
8759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8761 arg2
= static_cast< int >(val2
);
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8773 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8782 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
= 0;
8784 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8785 wxString
*arg2
= 0 ;
8786 int arg3
= (int) 0 ;
8789 bool temp2
= false ;
8792 PyObject
* obj0
= 0 ;
8793 PyObject
* obj1
= 0 ;
8794 PyObject
* obj2
= 0 ;
8795 char * kwnames
[] = {
8796 (char *) "self",(char *) "text",(char *) "number", NULL
8799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8801 if (!SWIG_IsOK(res1
)) {
8802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8804 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8806 arg2
= wxString_in_helper(obj1
);
8807 if (arg2
== NULL
) SWIG_fail
;
8811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8812 if (!SWIG_IsOK(ecode3
)) {
8813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8815 arg3
= static_cast< int >(val3
);
8818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8819 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8820 wxPyEndAllowThreads(__tstate
);
8821 if (PyErr_Occurred()) SWIG_fail
;
8823 resultobj
= SWIG_Py_Void();
8838 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
= 0;
8840 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8841 int arg2
= (int) 0 ;
8846 PyObject
* obj0
= 0 ;
8847 PyObject
* obj1
= 0 ;
8848 char * kwnames
[] = {
8849 (char *) "self",(char *) "number", NULL
8852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8854 if (!SWIG_IsOK(res1
)) {
8855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8857 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8859 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8860 if (!SWIG_IsOK(ecode2
)) {
8861 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8863 arg2
= static_cast< int >(val2
);
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 (arg1
)->PopStatusText(arg2
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8871 resultobj
= SWIG_Py_Void();
8878 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
= 0;
8880 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8882 int *arg3
= (int *) 0 ;
8885 PyObject
* obj0
= 0 ;
8886 PyObject
* obj1
= 0 ;
8887 char * kwnames
[] = {
8888 (char *) "self",(char *) "widths", NULL
8891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8893 if (!SWIG_IsOK(res1
)) {
8894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8896 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8898 arg2
= PyList_Size(obj1
);
8899 arg3
= int_LIST_helper(obj1
);
8900 if (arg3
== NULL
) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8905 wxPyEndAllowThreads(__tstate
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8908 resultobj
= SWIG_Py_Void();
8910 if (arg3
) delete [] arg3
;
8915 if (arg3
) delete [] arg3
;
8921 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8922 PyObject
*resultobj
= 0;
8923 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8925 int *arg3
= (int *) 0 ;
8928 PyObject
* obj0
= 0 ;
8929 PyObject
* obj1
= 0 ;
8930 char * kwnames
[] = {
8931 (char *) "self",(char *) "styles", NULL
8934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8936 if (!SWIG_IsOK(res1
)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8939 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8941 arg2
= PyList_Size(obj1
);
8942 arg3
= int_LIST_helper(obj1
);
8943 if (arg3
== NULL
) SWIG_fail
;
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
8948 wxPyEndAllowThreads(__tstate
);
8949 if (PyErr_Occurred()) SWIG_fail
;
8951 resultobj
= SWIG_Py_Void();
8953 if (arg3
) delete [] arg3
;
8958 if (arg3
) delete [] arg3
;
8964 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8965 PyObject
*resultobj
= 0;
8966 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8973 PyObject
* obj0
= 0 ;
8974 PyObject
* obj1
= 0 ;
8975 char * kwnames
[] = {
8976 (char *) "self",(char *) "i", NULL
8979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8981 if (!SWIG_IsOK(res1
)) {
8982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8984 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8986 if (!SWIG_IsOK(ecode2
)) {
8987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8989 arg2
= static_cast< int >(val2
);
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
8993 wxPyEndAllowThreads(__tstate
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9003 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9004 PyObject
*resultobj
= 0;
9005 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9011 PyObject
* obj0
= 0 ;
9012 PyObject
* obj1
= 0 ;
9013 char * kwnames
[] = {
9014 (char *) "self",(char *) "height", NULL
9017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9019 if (!SWIG_IsOK(res1
)) {
9020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9022 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9024 if (!SWIG_IsOK(ecode2
)) {
9025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9027 arg2
= static_cast< int >(val2
);
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 (arg1
)->SetMinHeight(arg2
);
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 resultobj
= SWIG_Py_Void();
9041 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9042 PyObject
*resultobj
= 0;
9043 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9047 PyObject
*swig_obj
[1] ;
9049 if (!args
) SWIG_fail
;
9051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9052 if (!SWIG_IsOK(res1
)) {
9053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9055 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9059 wxPyEndAllowThreads(__tstate
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9062 resultobj
= SWIG_From_int(static_cast< int >(result
));
9069 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9070 PyObject
*resultobj
= 0;
9071 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9075 PyObject
*swig_obj
[1] ;
9077 if (!args
) SWIG_fail
;
9079 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9080 if (!SWIG_IsOK(res1
)) {
9081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9083 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= SWIG_From_int(static_cast< int >(result
));
9097 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9098 PyObject
*resultobj
= 0;
9099 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9100 SwigValueWrapper
<wxVisualAttributes
> result
;
9103 PyObject
* obj0
= 0 ;
9104 char * kwnames
[] = {
9105 (char *) "variant", NULL
9108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9110 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9111 if (!SWIG_IsOK(ecode1
)) {
9112 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9114 arg1
= static_cast< wxWindowVariant
>(val1
);
9117 if (!wxPyCheckForApp()) SWIG_fail
;
9118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9119 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9120 wxPyEndAllowThreads(__tstate
);
9121 if (PyErr_Occurred()) SWIG_fail
;
9123 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9130 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9133 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9134 return SWIG_Py_Void();
9137 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9138 return SWIG_Python_InitShadowInstance(args
);
9141 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9142 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9147 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9148 PyObject
*pyobj
= 0;
9152 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9154 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9161 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9162 PyObject
*resultobj
= 0;
9163 wxWindow
*arg1
= (wxWindow
*) 0 ;
9164 int arg2
= (int) -1 ;
9165 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9166 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9167 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9168 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9169 long arg5
= (long) wxSP_3D
;
9170 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9171 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9172 wxSplitterWindow
*result
= 0 ;
9181 bool temp6
= false ;
9182 PyObject
* obj0
= 0 ;
9183 PyObject
* obj1
= 0 ;
9184 PyObject
* obj2
= 0 ;
9185 PyObject
* obj3
= 0 ;
9186 PyObject
* obj4
= 0 ;
9187 PyObject
* obj5
= 0 ;
9188 char * kwnames
[] = {
9189 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9193 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9194 if (!SWIG_IsOK(res1
)) {
9195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9197 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9200 if (!SWIG_IsOK(ecode2
)) {
9201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9203 arg2
= static_cast< int >(val2
);
9208 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9214 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9218 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9219 if (!SWIG_IsOK(ecode5
)) {
9220 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9222 arg5
= static_cast< long >(val5
);
9226 arg6
= wxString_in_helper(obj5
);
9227 if (arg6
== NULL
) SWIG_fail
;
9232 if (!wxPyCheckForApp()) SWIG_fail
;
9233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9234 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9253 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9254 PyObject
*resultobj
= 0;
9255 wxSplitterWindow
*result
= 0 ;
9257 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9259 if (!wxPyCheckForApp()) SWIG_fail
;
9260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9261 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9262 wxPyEndAllowThreads(__tstate
);
9263 if (PyErr_Occurred()) SWIG_fail
;
9265 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9272 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9273 PyObject
*resultobj
= 0;
9274 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9275 wxWindow
*arg2
= (wxWindow
*) 0 ;
9276 int arg3
= (int) -1 ;
9277 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9278 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9279 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9280 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9281 long arg6
= (long) wxSP_3D
;
9282 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9283 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9295 bool temp7
= false ;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9298 PyObject
* obj2
= 0 ;
9299 PyObject
* obj3
= 0 ;
9300 PyObject
* obj4
= 0 ;
9301 PyObject
* obj5
= 0 ;
9302 PyObject
* obj6
= 0 ;
9303 char * kwnames
[] = {
9304 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9309 if (!SWIG_IsOK(res1
)) {
9310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9312 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9313 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9314 if (!SWIG_IsOK(res2
)) {
9315 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9317 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9319 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9320 if (!SWIG_IsOK(ecode3
)) {
9321 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9323 arg3
= static_cast< int >(val3
);
9328 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9334 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9338 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9339 if (!SWIG_IsOK(ecode6
)) {
9340 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9342 arg6
= static_cast< long >(val6
);
9346 arg7
= wxString_in_helper(obj6
);
9347 if (arg7
== NULL
) SWIG_fail
;
9352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9353 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9354 wxPyEndAllowThreads(__tstate
);
9355 if (PyErr_Occurred()) SWIG_fail
;
9358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9374 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9375 PyObject
*resultobj
= 0;
9376 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9377 wxWindow
*result
= 0 ;
9380 PyObject
*swig_obj
[1] ;
9382 if (!args
) SWIG_fail
;
9384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9385 if (!SWIG_IsOK(res1
)) {
9386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9388 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9391 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9392 wxPyEndAllowThreads(__tstate
);
9393 if (PyErr_Occurred()) SWIG_fail
;
9396 resultobj
= wxPyMake_wxObject(result
, 0);
9404 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9405 PyObject
*resultobj
= 0;
9406 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9407 wxWindow
*result
= 0 ;
9410 PyObject
*swig_obj
[1] ;
9412 if (!args
) SWIG_fail
;
9414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9415 if (!SWIG_IsOK(res1
)) {
9416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9418 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9421 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9422 wxPyEndAllowThreads(__tstate
);
9423 if (PyErr_Occurred()) SWIG_fail
;
9426 resultobj
= wxPyMake_wxObject(result
, 0);
9434 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9435 PyObject
*resultobj
= 0;
9436 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9442 PyObject
* obj0
= 0 ;
9443 PyObject
* obj1
= 0 ;
9444 char * kwnames
[] = {
9445 (char *) "self",(char *) "mode", NULL
9448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9450 if (!SWIG_IsOK(res1
)) {
9451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9453 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9455 if (!SWIG_IsOK(ecode2
)) {
9456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9458 arg2
= static_cast< int >(val2
);
9460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9461 (arg1
)->SetSplitMode(arg2
);
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9465 resultobj
= SWIG_Py_Void();
9472 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9473 PyObject
*resultobj
= 0;
9474 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9478 PyObject
*swig_obj
[1] ;
9480 if (!args
) SWIG_fail
;
9482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9483 if (!SWIG_IsOK(res1
)) {
9484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9486 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 resultobj
= SWIG_From_int(static_cast< int >(result
));
9500 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
= 0;
9502 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9503 wxWindow
*arg2
= (wxWindow
*) 0 ;
9508 PyObject
* obj0
= 0 ;
9509 PyObject
* obj1
= 0 ;
9510 char * kwnames
[] = {
9511 (char *) "self",(char *) "window", NULL
9514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9516 if (!SWIG_IsOK(res1
)) {
9517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9519 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9521 if (!SWIG_IsOK(res2
)) {
9522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9524 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9527 (arg1
)->Initialize(arg2
);
9528 wxPyEndAllowThreads(__tstate
);
9529 if (PyErr_Occurred()) SWIG_fail
;
9531 resultobj
= SWIG_Py_Void();
9538 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9539 PyObject
*resultobj
= 0;
9540 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9541 wxWindow
*arg2
= (wxWindow
*) 0 ;
9542 wxWindow
*arg3
= (wxWindow
*) 0 ;
9543 int arg4
= (int) 0 ;
9553 PyObject
* obj0
= 0 ;
9554 PyObject
* obj1
= 0 ;
9555 PyObject
* obj2
= 0 ;
9556 PyObject
* obj3
= 0 ;
9557 char * kwnames
[] = {
9558 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9563 if (!SWIG_IsOK(res1
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9566 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9568 if (!SWIG_IsOK(res2
)) {
9569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9571 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9572 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9573 if (!SWIG_IsOK(res3
)) {
9574 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9576 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9578 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9579 if (!SWIG_IsOK(ecode4
)) {
9580 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9582 arg4
= static_cast< int >(val4
);
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9587 wxPyEndAllowThreads(__tstate
);
9588 if (PyErr_Occurred()) SWIG_fail
;
9591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9599 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
= 0;
9601 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9602 wxWindow
*arg2
= (wxWindow
*) 0 ;
9603 wxWindow
*arg3
= (wxWindow
*) 0 ;
9604 int arg4
= (int) 0 ;
9614 PyObject
* obj0
= 0 ;
9615 PyObject
* obj1
= 0 ;
9616 PyObject
* obj2
= 0 ;
9617 PyObject
* obj3
= 0 ;
9618 char * kwnames
[] = {
9619 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9622 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9623 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9624 if (!SWIG_IsOK(res1
)) {
9625 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9627 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9628 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9629 if (!SWIG_IsOK(res2
)) {
9630 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9632 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9633 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9634 if (!SWIG_IsOK(res3
)) {
9635 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9637 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9639 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9640 if (!SWIG_IsOK(ecode4
)) {
9641 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9643 arg4
= static_cast< int >(val4
);
9646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9647 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9648 wxPyEndAllowThreads(__tstate
);
9649 if (PyErr_Occurred()) SWIG_fail
;
9652 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9660 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9661 PyObject
*resultobj
= 0;
9662 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9663 wxWindow
*arg2
= (wxWindow
*) NULL
;
9669 PyObject
* obj0
= 0 ;
9670 PyObject
* obj1
= 0 ;
9671 char * kwnames
[] = {
9672 (char *) "self",(char *) "toRemove", NULL
9675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9677 if (!SWIG_IsOK(res1
)) {
9678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9680 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9682 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9683 if (!SWIG_IsOK(res2
)) {
9684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9686 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9690 result
= (bool)(arg1
)->Unsplit(arg2
);
9691 wxPyEndAllowThreads(__tstate
);
9692 if (PyErr_Occurred()) SWIG_fail
;
9695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9703 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9704 PyObject
*resultobj
= 0;
9705 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9706 wxWindow
*arg2
= (wxWindow
*) 0 ;
9707 wxWindow
*arg3
= (wxWindow
*) 0 ;
9715 PyObject
* obj0
= 0 ;
9716 PyObject
* obj1
= 0 ;
9717 PyObject
* obj2
= 0 ;
9718 char * kwnames
[] = {
9719 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9724 if (!SWIG_IsOK(res1
)) {
9725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9727 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9728 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9729 if (!SWIG_IsOK(res2
)) {
9730 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9732 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9733 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9734 if (!SWIG_IsOK(res3
)) {
9735 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9737 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9740 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9741 wxPyEndAllowThreads(__tstate
);
9742 if (PyErr_Occurred()) SWIG_fail
;
9745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9753 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9754 PyObject
*resultobj
= 0;
9755 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9758 PyObject
*swig_obj
[1] ;
9760 if (!args
) SWIG_fail
;
9762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9763 if (!SWIG_IsOK(res1
)) {
9764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9766 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9769 (arg1
)->UpdateSize();
9770 wxPyEndAllowThreads(__tstate
);
9771 if (PyErr_Occurred()) SWIG_fail
;
9773 resultobj
= SWIG_Py_Void();
9780 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9781 PyObject
*resultobj
= 0;
9782 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9786 PyObject
*swig_obj
[1] ;
9788 if (!args
) SWIG_fail
;
9790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9791 if (!SWIG_IsOK(res1
)) {
9792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9794 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9798 wxPyEndAllowThreads(__tstate
);
9799 if (PyErr_Occurred()) SWIG_fail
;
9802 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9810 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9811 PyObject
*resultobj
= 0;
9812 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9818 PyObject
* obj0
= 0 ;
9819 PyObject
* obj1
= 0 ;
9820 char * kwnames
[] = {
9821 (char *) "self",(char *) "width", NULL
9824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9826 if (!SWIG_IsOK(res1
)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9829 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9831 if (!SWIG_IsOK(ecode2
)) {
9832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9834 arg2
= static_cast< int >(val2
);
9836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9837 (arg1
)->SetSashSize(arg2
);
9838 wxPyEndAllowThreads(__tstate
);
9839 if (PyErr_Occurred()) SWIG_fail
;
9841 resultobj
= SWIG_Py_Void();
9848 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
= 0;
9850 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9856 PyObject
* obj0
= 0 ;
9857 PyObject
* obj1
= 0 ;
9858 char * kwnames
[] = {
9859 (char *) "self",(char *) "width", NULL
9862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9864 if (!SWIG_IsOK(res1
)) {
9865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9867 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9868 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9869 if (!SWIG_IsOK(ecode2
)) {
9870 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9872 arg2
= static_cast< int >(val2
);
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 (arg1
)->SetBorderSize(arg2
);
9876 wxPyEndAllowThreads(__tstate
);
9877 if (PyErr_Occurred()) SWIG_fail
;
9879 resultobj
= SWIG_Py_Void();
9886 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9887 PyObject
*resultobj
= 0;
9888 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9892 PyObject
*swig_obj
[1] ;
9894 if (!args
) SWIG_fail
;
9896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9897 if (!SWIG_IsOK(res1
)) {
9898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9900 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9903 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9904 wxPyEndAllowThreads(__tstate
);
9905 if (PyErr_Occurred()) SWIG_fail
;
9907 resultobj
= SWIG_From_int(static_cast< int >(result
));
9914 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9915 PyObject
*resultobj
= 0;
9916 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9920 PyObject
*swig_obj
[1] ;
9922 if (!args
) SWIG_fail
;
9924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9925 if (!SWIG_IsOK(res1
)) {
9926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9928 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_From_int(static_cast< int >(result
));
9942 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
= 0;
9944 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9946 bool arg3
= (bool) true ;
9953 PyObject
* obj0
= 0 ;
9954 PyObject
* obj1
= 0 ;
9955 PyObject
* obj2
= 0 ;
9956 char * kwnames
[] = {
9957 (char *) "self",(char *) "position",(char *) "redraw", NULL
9960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9962 if (!SWIG_IsOK(res1
)) {
9963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9965 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9967 if (!SWIG_IsOK(ecode2
)) {
9968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9970 arg2
= static_cast< int >(val2
);
9972 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9973 if (!SWIG_IsOK(ecode3
)) {
9974 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9976 arg3
= static_cast< bool >(val3
);
9979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9980 (arg1
)->SetSashPosition(arg2
,arg3
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9984 resultobj
= SWIG_Py_Void();
9991 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9992 PyObject
*resultobj
= 0;
9993 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9997 PyObject
*swig_obj
[1] ;
9999 if (!args
) SWIG_fail
;
10000 swig_obj
[0] = args
;
10001 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10002 if (!SWIG_IsOK(res1
)) {
10003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10005 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10008 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 resultobj
= SWIG_From_int(static_cast< int >(result
));
10019 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
= 0;
10021 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10027 PyObject
* obj0
= 0 ;
10028 PyObject
* obj1
= 0 ;
10029 char * kwnames
[] = {
10030 (char *) "self",(char *) "gravity", NULL
10033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10035 if (!SWIG_IsOK(res1
)) {
10036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10038 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10039 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10040 if (!SWIG_IsOK(ecode2
)) {
10041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10043 arg2
= static_cast< double >(val2
);
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 (arg1
)->SetSashGravity(arg2
);
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10050 resultobj
= SWIG_Py_Void();
10057 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10058 PyObject
*resultobj
= 0;
10059 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10063 PyObject
*swig_obj
[1] ;
10065 if (!args
) SWIG_fail
;
10066 swig_obj
[0] = args
;
10067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10068 if (!SWIG_IsOK(res1
)) {
10069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10071 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10074 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10075 wxPyEndAllowThreads(__tstate
);
10076 if (PyErr_Occurred()) SWIG_fail
;
10078 resultobj
= SWIG_From_double(static_cast< double >(result
));
10085 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10086 PyObject
*resultobj
= 0;
10087 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10093 PyObject
* obj0
= 0 ;
10094 PyObject
* obj1
= 0 ;
10095 char * kwnames
[] = {
10096 (char *) "self",(char *) "min", NULL
10099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10101 if (!SWIG_IsOK(res1
)) {
10102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10104 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10105 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10106 if (!SWIG_IsOK(ecode2
)) {
10107 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10109 arg2
= static_cast< int >(val2
);
10111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10112 (arg1
)->SetMinimumPaneSize(arg2
);
10113 wxPyEndAllowThreads(__tstate
);
10114 if (PyErr_Occurred()) SWIG_fail
;
10116 resultobj
= SWIG_Py_Void();
10123 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10124 PyObject
*resultobj
= 0;
10125 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10129 PyObject
*swig_obj
[1] ;
10131 if (!args
) SWIG_fail
;
10132 swig_obj
[0] = args
;
10133 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10134 if (!SWIG_IsOK(res1
)) {
10135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10137 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10140 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= SWIG_From_int(static_cast< int >(result
));
10151 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
= 0;
10153 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10156 int arg4
= (int) 5 ;
10166 PyObject
* obj0
= 0 ;
10167 PyObject
* obj1
= 0 ;
10168 PyObject
* obj2
= 0 ;
10169 PyObject
* obj3
= 0 ;
10170 char * kwnames
[] = {
10171 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10176 if (!SWIG_IsOK(res1
)) {
10177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10179 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10181 if (!SWIG_IsOK(ecode2
)) {
10182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10184 arg2
= static_cast< int >(val2
);
10185 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10186 if (!SWIG_IsOK(ecode3
)) {
10187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10189 arg3
= static_cast< int >(val3
);
10191 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10192 if (!SWIG_IsOK(ecode4
)) {
10193 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10195 arg4
= static_cast< int >(val4
);
10198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10199 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10200 wxPyEndAllowThreads(__tstate
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10212 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10213 PyObject
*resultobj
= 0;
10214 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10217 PyObject
*swig_obj
[1] ;
10219 if (!args
) SWIG_fail
;
10220 swig_obj
[0] = args
;
10221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10222 if (!SWIG_IsOK(res1
)) {
10223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10225 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 (arg1
)->SizeWindows();
10229 wxPyEndAllowThreads(__tstate
);
10230 if (PyErr_Occurred()) SWIG_fail
;
10232 resultobj
= SWIG_Py_Void();
10239 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10240 PyObject
*resultobj
= 0;
10241 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10247 PyObject
* obj0
= 0 ;
10248 PyObject
* obj1
= 0 ;
10249 char * kwnames
[] = {
10250 (char *) "self",(char *) "needUpdating", NULL
10253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10255 if (!SWIG_IsOK(res1
)) {
10256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10258 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10259 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10260 if (!SWIG_IsOK(ecode2
)) {
10261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10263 arg2
= static_cast< bool >(val2
);
10265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10266 (arg1
)->SetNeedUpdating(arg2
);
10267 wxPyEndAllowThreads(__tstate
);
10268 if (PyErr_Occurred()) SWIG_fail
;
10270 resultobj
= SWIG_Py_Void();
10277 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10278 PyObject
*resultobj
= 0;
10279 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10283 PyObject
*swig_obj
[1] ;
10285 if (!args
) SWIG_fail
;
10286 swig_obj
[0] = args
;
10287 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10288 if (!SWIG_IsOK(res1
)) {
10289 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10291 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10295 wxPyEndAllowThreads(__tstate
);
10296 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10307 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
= 0;
10309 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10310 SwigValueWrapper
<wxVisualAttributes
> result
;
10313 PyObject
* obj0
= 0 ;
10314 char * kwnames
[] = {
10315 (char *) "variant", NULL
10318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10320 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10321 if (!SWIG_IsOK(ecode1
)) {
10322 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10324 arg1
= static_cast< wxWindowVariant
>(val1
);
10327 if (!wxPyCheckForApp()) SWIG_fail
;
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10340 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10343 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10344 return SWIG_Py_Void();
10347 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10348 return SWIG_Python_InitShadowInstance(args
);
10351 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
= 0;
10353 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10354 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10355 wxSplitterEvent
*result
= 0 ;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10362 char * kwnames
[] = {
10363 (char *) "type",(char *) "splitter", NULL
10366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10368 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10369 if (!SWIG_IsOK(ecode1
)) {
10370 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10372 arg1
= static_cast< wxEventType
>(val1
);
10375 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10376 if (!SWIG_IsOK(res2
)) {
10377 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10379 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10384 wxPyEndAllowThreads(__tstate
);
10385 if (PyErr_Occurred()) SWIG_fail
;
10387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10394 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
= 0;
10396 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10402 PyObject
* obj0
= 0 ;
10403 PyObject
* obj1
= 0 ;
10404 char * kwnames
[] = {
10405 (char *) "self",(char *) "pos", NULL
10408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10410 if (!SWIG_IsOK(res1
)) {
10411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10413 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10415 if (!SWIG_IsOK(ecode2
)) {
10416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10418 arg2
= static_cast< int >(val2
);
10420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10421 (arg1
)->SetSashPosition(arg2
);
10422 wxPyEndAllowThreads(__tstate
);
10423 if (PyErr_Occurred()) SWIG_fail
;
10425 resultobj
= SWIG_Py_Void();
10432 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10433 PyObject
*resultobj
= 0;
10434 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10438 PyObject
*swig_obj
[1] ;
10440 if (!args
) SWIG_fail
;
10441 swig_obj
[0] = args
;
10442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10443 if (!SWIG_IsOK(res1
)) {
10444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10446 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10449 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10450 wxPyEndAllowThreads(__tstate
);
10451 if (PyErr_Occurred()) SWIG_fail
;
10453 resultobj
= SWIG_From_int(static_cast< int >(result
));
10460 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10461 PyObject
*resultobj
= 0;
10462 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10463 wxWindow
*result
= 0 ;
10466 PyObject
*swig_obj
[1] ;
10468 if (!args
) SWIG_fail
;
10469 swig_obj
[0] = args
;
10470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10471 if (!SWIG_IsOK(res1
)) {
10472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10474 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10482 resultobj
= wxPyMake_wxObject(result
, 0);
10490 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10491 PyObject
*resultobj
= 0;
10492 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10496 PyObject
*swig_obj
[1] ;
10498 if (!args
) SWIG_fail
;
10499 swig_obj
[0] = args
;
10500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10501 if (!SWIG_IsOK(res1
)) {
10502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10504 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10508 wxPyEndAllowThreads(__tstate
);
10509 if (PyErr_Occurred()) SWIG_fail
;
10511 resultobj
= SWIG_From_int(static_cast< int >(result
));
10518 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10519 PyObject
*resultobj
= 0;
10520 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10524 PyObject
*swig_obj
[1] ;
10526 if (!args
) SWIG_fail
;
10527 swig_obj
[0] = args
;
10528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10529 if (!SWIG_IsOK(res1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10532 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10536 wxPyEndAllowThreads(__tstate
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10539 resultobj
= SWIG_From_int(static_cast< int >(result
));
10546 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10549 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10550 return SWIG_Py_Void();
10553 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10554 return SWIG_Python_InitShadowInstance(args
);
10557 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10558 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10563 SWIGINTERN PyObject
*SashNameStr_get(void) {
10564 PyObject
*pyobj
= 0;
10568 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10570 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10577 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10578 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10583 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10584 PyObject
*pyobj
= 0;
10588 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10590 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10597 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
= 0;
10599 wxWindow
*arg1
= (wxWindow
*) 0 ;
10600 int arg2
= (int) -1 ;
10601 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10602 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10603 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10604 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10605 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10606 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10607 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10608 wxSashWindow
*result
= 0 ;
10617 bool temp6
= false ;
10618 PyObject
* obj0
= 0 ;
10619 PyObject
* obj1
= 0 ;
10620 PyObject
* obj2
= 0 ;
10621 PyObject
* obj3
= 0 ;
10622 PyObject
* obj4
= 0 ;
10623 PyObject
* obj5
= 0 ;
10624 char * kwnames
[] = {
10625 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10628 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10629 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10630 if (!SWIG_IsOK(res1
)) {
10631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10633 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10635 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10636 if (!SWIG_IsOK(ecode2
)) {
10637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10639 arg2
= static_cast< int >(val2
);
10644 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10650 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10654 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10655 if (!SWIG_IsOK(ecode5
)) {
10656 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10658 arg5
= static_cast< long >(val5
);
10662 arg6
= wxString_in_helper(obj5
);
10663 if (arg6
== NULL
) SWIG_fail
;
10668 if (!wxPyCheckForApp()) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10689 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10690 PyObject
*resultobj
= 0;
10691 wxSashWindow
*result
= 0 ;
10693 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10695 if (!wxPyCheckForApp()) SWIG_fail
;
10696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10697 result
= (wxSashWindow
*)new wxSashWindow();
10698 wxPyEndAllowThreads(__tstate
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10701 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10708 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10709 PyObject
*resultobj
= 0;
10710 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10711 wxWindow
*arg2
= (wxWindow
*) 0 ;
10712 int arg3
= (int) -1 ;
10713 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10714 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10715 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10716 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10717 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10718 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10719 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10731 bool temp7
= false ;
10732 PyObject
* obj0
= 0 ;
10733 PyObject
* obj1
= 0 ;
10734 PyObject
* obj2
= 0 ;
10735 PyObject
* obj3
= 0 ;
10736 PyObject
* obj4
= 0 ;
10737 PyObject
* obj5
= 0 ;
10738 PyObject
* obj6
= 0 ;
10739 char * kwnames
[] = {
10740 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10743 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10744 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10745 if (!SWIG_IsOK(res1
)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10748 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10749 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10750 if (!SWIG_IsOK(res2
)) {
10751 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10753 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10755 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10756 if (!SWIG_IsOK(ecode3
)) {
10757 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10759 arg3
= static_cast< int >(val3
);
10764 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10770 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10774 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10775 if (!SWIG_IsOK(ecode6
)) {
10776 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10778 arg6
= static_cast< long >(val6
);
10782 arg7
= wxString_in_helper(obj6
);
10783 if (arg7
== NULL
) SWIG_fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10789 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10810 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10811 PyObject
*resultobj
= 0;
10812 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10813 wxSashEdgePosition arg2
;
10821 PyObject
* obj0
= 0 ;
10822 PyObject
* obj1
= 0 ;
10823 PyObject
* obj2
= 0 ;
10824 char * kwnames
[] = {
10825 (char *) "self",(char *) "edge",(char *) "sash", NULL
10828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10830 if (!SWIG_IsOK(res1
)) {
10831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10833 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10835 if (!SWIG_IsOK(ecode2
)) {
10836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10838 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10839 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10840 if (!SWIG_IsOK(ecode3
)) {
10841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10843 arg3
= static_cast< bool >(val3
);
10845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10846 (arg1
)->SetSashVisible(arg2
,arg3
);
10847 wxPyEndAllowThreads(__tstate
);
10848 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= SWIG_Py_Void();
10857 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10858 PyObject
*resultobj
= 0;
10859 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10860 wxSashEdgePosition arg2
;
10866 PyObject
* obj0
= 0 ;
10867 PyObject
* obj1
= 0 ;
10868 char * kwnames
[] = {
10869 (char *) "self",(char *) "edge", NULL
10872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10874 if (!SWIG_IsOK(res1
)) {
10875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10877 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10878 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10879 if (!SWIG_IsOK(ecode2
)) {
10880 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10882 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10885 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10886 wxPyEndAllowThreads(__tstate
);
10887 if (PyErr_Occurred()) SWIG_fail
;
10890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10898 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
*resultobj
= 0;
10900 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10901 wxSashEdgePosition arg2
;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 PyObject
* obj2
= 0 ;
10912 char * kwnames
[] = {
10913 (char *) "self",(char *) "edge",(char *) "border", NULL
10916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10918 if (!SWIG_IsOK(res1
)) {
10919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10921 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10923 if (!SWIG_IsOK(ecode2
)) {
10924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10926 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10927 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10928 if (!SWIG_IsOK(ecode3
)) {
10929 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10931 arg3
= static_cast< bool >(val3
);
10933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10934 (arg1
)->SetSashBorder(arg2
,arg3
);
10935 wxPyEndAllowThreads(__tstate
);
10936 if (PyErr_Occurred()) SWIG_fail
;
10938 resultobj
= SWIG_Py_Void();
10945 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10946 PyObject
*resultobj
= 0;
10947 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10948 wxSashEdgePosition arg2
;
10954 PyObject
* obj0
= 0 ;
10955 PyObject
* obj1
= 0 ;
10956 char * kwnames
[] = {
10957 (char *) "self",(char *) "edge", NULL
10960 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10961 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10962 if (!SWIG_IsOK(res1
)) {
10963 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10965 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10966 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10967 if (!SWIG_IsOK(ecode2
)) {
10968 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10970 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10973 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10978 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10986 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
*resultobj
= 0;
10988 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10989 wxSashEdgePosition arg2
;
10995 PyObject
* obj0
= 0 ;
10996 PyObject
* obj1
= 0 ;
10997 char * kwnames
[] = {
10998 (char *) "self",(char *) "edge", NULL
11001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11003 if (!SWIG_IsOK(res1
)) {
11004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11006 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11008 if (!SWIG_IsOK(ecode2
)) {
11009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11011 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11014 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11015 wxPyEndAllowThreads(__tstate
);
11016 if (PyErr_Occurred()) SWIG_fail
;
11018 resultobj
= SWIG_From_int(static_cast< int >(result
));
11025 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11026 PyObject
*resultobj
= 0;
11027 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11033 PyObject
* obj0
= 0 ;
11034 PyObject
* obj1
= 0 ;
11035 char * kwnames
[] = {
11036 (char *) "self",(char *) "width", NULL
11039 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11040 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11041 if (!SWIG_IsOK(res1
)) {
11042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11044 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11045 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11046 if (!SWIG_IsOK(ecode2
)) {
11047 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11049 arg2
= static_cast< int >(val2
);
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 (arg1
)->SetDefaultBorderSize(arg2
);
11053 wxPyEndAllowThreads(__tstate
);
11054 if (PyErr_Occurred()) SWIG_fail
;
11056 resultobj
= SWIG_Py_Void();
11063 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11064 PyObject
*resultobj
= 0;
11065 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11069 PyObject
*swig_obj
[1] ;
11071 if (!args
) SWIG_fail
;
11072 swig_obj
[0] = args
;
11073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11074 if (!SWIG_IsOK(res1
)) {
11075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11077 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11081 wxPyEndAllowThreads(__tstate
);
11082 if (PyErr_Occurred()) SWIG_fail
;
11084 resultobj
= SWIG_From_int(static_cast< int >(result
));
11091 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11092 PyObject
*resultobj
= 0;
11093 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11099 PyObject
* obj0
= 0 ;
11100 PyObject
* obj1
= 0 ;
11101 char * kwnames
[] = {
11102 (char *) "self",(char *) "width", NULL
11105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11107 if (!SWIG_IsOK(res1
)) {
11108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11110 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11111 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11112 if (!SWIG_IsOK(ecode2
)) {
11113 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11115 arg2
= static_cast< int >(val2
);
11117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11118 (arg1
)->SetExtraBorderSize(arg2
);
11119 wxPyEndAllowThreads(__tstate
);
11120 if (PyErr_Occurred()) SWIG_fail
;
11122 resultobj
= SWIG_Py_Void();
11129 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11130 PyObject
*resultobj
= 0;
11131 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11135 PyObject
*swig_obj
[1] ;
11137 if (!args
) SWIG_fail
;
11138 swig_obj
[0] = args
;
11139 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11140 if (!SWIG_IsOK(res1
)) {
11141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11143 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11146 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11147 wxPyEndAllowThreads(__tstate
);
11148 if (PyErr_Occurred()) SWIG_fail
;
11150 resultobj
= SWIG_From_int(static_cast< int >(result
));
11157 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11158 PyObject
*resultobj
= 0;
11159 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11165 PyObject
* obj0
= 0 ;
11166 PyObject
* obj1
= 0 ;
11167 char * kwnames
[] = {
11168 (char *) "self",(char *) "min", NULL
11171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11173 if (!SWIG_IsOK(res1
)) {
11174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11176 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11177 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11178 if (!SWIG_IsOK(ecode2
)) {
11179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11181 arg2
= static_cast< int >(val2
);
11183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11184 (arg1
)->SetMinimumSizeX(arg2
);
11185 wxPyEndAllowThreads(__tstate
);
11186 if (PyErr_Occurred()) SWIG_fail
;
11188 resultobj
= SWIG_Py_Void();
11195 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11196 PyObject
*resultobj
= 0;
11197 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 char * kwnames
[] = {
11206 (char *) "self",(char *) "min", NULL
11209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11211 if (!SWIG_IsOK(res1
)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11214 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11216 if (!SWIG_IsOK(ecode2
)) {
11217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11219 arg2
= static_cast< int >(val2
);
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 (arg1
)->SetMinimumSizeY(arg2
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 resultobj
= SWIG_Py_Void();
11233 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11234 PyObject
*resultobj
= 0;
11235 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11239 PyObject
*swig_obj
[1] ;
11241 if (!args
) SWIG_fail
;
11242 swig_obj
[0] = args
;
11243 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11244 if (!SWIG_IsOK(res1
)) {
11245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11247 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11250 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 resultobj
= SWIG_From_int(static_cast< int >(result
));
11261 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11262 PyObject
*resultobj
= 0;
11263 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11267 PyObject
*swig_obj
[1] ;
11269 if (!args
) SWIG_fail
;
11270 swig_obj
[0] = args
;
11271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11272 if (!SWIG_IsOK(res1
)) {
11273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11275 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= SWIG_From_int(static_cast< int >(result
));
11289 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11290 PyObject
*resultobj
= 0;
11291 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11297 PyObject
* obj0
= 0 ;
11298 PyObject
* obj1
= 0 ;
11299 char * kwnames
[] = {
11300 (char *) "self",(char *) "max", NULL
11303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11304 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11305 if (!SWIG_IsOK(res1
)) {
11306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11308 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11309 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11310 if (!SWIG_IsOK(ecode2
)) {
11311 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11313 arg2
= static_cast< int >(val2
);
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 (arg1
)->SetMaximumSizeX(arg2
);
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= SWIG_Py_Void();
11327 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
= 0;
11329 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11335 PyObject
* obj0
= 0 ;
11336 PyObject
* obj1
= 0 ;
11337 char * kwnames
[] = {
11338 (char *) "self",(char *) "max", NULL
11341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11343 if (!SWIG_IsOK(res1
)) {
11344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11346 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11347 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11348 if (!SWIG_IsOK(ecode2
)) {
11349 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11351 arg2
= static_cast< int >(val2
);
11353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11354 (arg1
)->SetMaximumSizeY(arg2
);
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= SWIG_Py_Void();
11365 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11366 PyObject
*resultobj
= 0;
11367 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11371 PyObject
*swig_obj
[1] ;
11373 if (!args
) SWIG_fail
;
11374 swig_obj
[0] = args
;
11375 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11376 if (!SWIG_IsOK(res1
)) {
11377 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11379 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11383 wxPyEndAllowThreads(__tstate
);
11384 if (PyErr_Occurred()) SWIG_fail
;
11386 resultobj
= SWIG_From_int(static_cast< int >(result
));
11393 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11394 PyObject
*resultobj
= 0;
11395 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11399 PyObject
*swig_obj
[1] ;
11401 if (!args
) SWIG_fail
;
11402 swig_obj
[0] = args
;
11403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11404 if (!SWIG_IsOK(res1
)) {
11405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11407 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 resultobj
= SWIG_From_int(static_cast< int >(result
));
11421 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11422 PyObject
*resultobj
= 0;
11423 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11426 int arg4
= (int) 2 ;
11427 wxSashEdgePosition result
;
11436 PyObject
* obj0
= 0 ;
11437 PyObject
* obj1
= 0 ;
11438 PyObject
* obj2
= 0 ;
11439 PyObject
* obj3
= 0 ;
11440 char * kwnames
[] = {
11441 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11446 if (!SWIG_IsOK(res1
)) {
11447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11449 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11450 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11451 if (!SWIG_IsOK(ecode2
)) {
11452 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11454 arg2
= static_cast< int >(val2
);
11455 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11456 if (!SWIG_IsOK(ecode3
)) {
11457 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11459 arg3
= static_cast< int >(val3
);
11461 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11462 if (!SWIG_IsOK(ecode4
)) {
11463 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11465 arg4
= static_cast< int >(val4
);
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= SWIG_From_int(static_cast< int >(result
));
11480 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11481 PyObject
*resultobj
= 0;
11482 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11485 PyObject
*swig_obj
[1] ;
11487 if (!args
) SWIG_fail
;
11488 swig_obj
[0] = args
;
11489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11490 if (!SWIG_IsOK(res1
)) {
11491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11493 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11496 (arg1
)->SizeWindows();
11497 wxPyEndAllowThreads(__tstate
);
11498 if (PyErr_Occurred()) SWIG_fail
;
11500 resultobj
= SWIG_Py_Void();
11507 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11509 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11510 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11511 return SWIG_Py_Void();
11514 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11515 return SWIG_Python_InitShadowInstance(args
);
11518 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11519 PyObject
*resultobj
= 0;
11520 int arg1
= (int) 0 ;
11521 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11522 wxSashEvent
*result
= 0 ;
11527 PyObject
* obj0
= 0 ;
11528 PyObject
* obj1
= 0 ;
11529 char * kwnames
[] = {
11530 (char *) "id",(char *) "edge", NULL
11533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11535 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11536 if (!SWIG_IsOK(ecode1
)) {
11537 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11539 arg1
= static_cast< int >(val1
);
11542 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11543 if (!SWIG_IsOK(ecode2
)) {
11544 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11546 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11550 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11551 wxPyEndAllowThreads(__tstate
);
11552 if (PyErr_Occurred()) SWIG_fail
;
11554 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11561 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11562 PyObject
*resultobj
= 0;
11563 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11564 wxSashEdgePosition arg2
;
11569 PyObject
* obj0
= 0 ;
11570 PyObject
* obj1
= 0 ;
11571 char * kwnames
[] = {
11572 (char *) "self",(char *) "edge", NULL
11575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11577 if (!SWIG_IsOK(res1
)) {
11578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11580 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11582 if (!SWIG_IsOK(ecode2
)) {
11583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11585 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 (arg1
)->SetEdge(arg2
);
11589 wxPyEndAllowThreads(__tstate
);
11590 if (PyErr_Occurred()) SWIG_fail
;
11592 resultobj
= SWIG_Py_Void();
11599 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11600 PyObject
*resultobj
= 0;
11601 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11602 wxSashEdgePosition result
;
11605 PyObject
*swig_obj
[1] ;
11607 if (!args
) SWIG_fail
;
11608 swig_obj
[0] = args
;
11609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11610 if (!SWIG_IsOK(res1
)) {
11611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11613 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11617 wxPyEndAllowThreads(__tstate
);
11618 if (PyErr_Occurred()) SWIG_fail
;
11620 resultobj
= SWIG_From_int(static_cast< int >(result
));
11627 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11628 PyObject
*resultobj
= 0;
11629 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11634 PyObject
* obj0
= 0 ;
11635 PyObject
* obj1
= 0 ;
11636 char * kwnames
[] = {
11637 (char *) "self",(char *) "rect", NULL
11640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11642 if (!SWIG_IsOK(res1
)) {
11643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11645 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11648 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= SWIG_Py_Void();
11663 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11664 PyObject
*resultobj
= 0;
11665 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11669 PyObject
*swig_obj
[1] ;
11671 if (!args
) SWIG_fail
;
11672 swig_obj
[0] = args
;
11673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11674 if (!SWIG_IsOK(res1
)) {
11675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11677 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11681 wxPyEndAllowThreads(__tstate
);
11682 if (PyErr_Occurred()) SWIG_fail
;
11684 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11691 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11692 PyObject
*resultobj
= 0;
11693 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11694 wxSashDragStatus arg2
;
11699 PyObject
* obj0
= 0 ;
11700 PyObject
* obj1
= 0 ;
11701 char * kwnames
[] = {
11702 (char *) "self",(char *) "status", NULL
11705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11707 if (!SWIG_IsOK(res1
)) {
11708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11710 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11712 if (!SWIG_IsOK(ecode2
)) {
11713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11715 arg2
= static_cast< wxSashDragStatus
>(val2
);
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 (arg1
)->SetDragStatus(arg2
);
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= SWIG_Py_Void();
11729 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11730 PyObject
*resultobj
= 0;
11731 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11732 wxSashDragStatus result
;
11735 PyObject
*swig_obj
[1] ;
11737 if (!args
) SWIG_fail
;
11738 swig_obj
[0] = args
;
11739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11740 if (!SWIG_IsOK(res1
)) {
11741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11743 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11746 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11747 wxPyEndAllowThreads(__tstate
);
11748 if (PyErr_Occurred()) SWIG_fail
;
11750 resultobj
= SWIG_From_int(static_cast< int >(result
));
11757 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11759 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11760 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11761 return SWIG_Py_Void();
11764 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11765 return SWIG_Python_InitShadowInstance(args
);
11768 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11769 PyObject
*resultobj
= 0;
11770 int arg1
= (int) 0 ;
11771 wxQueryLayoutInfoEvent
*result
= 0 ;
11774 PyObject
* obj0
= 0 ;
11775 char * kwnames
[] = {
11776 (char *) "id", NULL
11779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11781 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11782 if (!SWIG_IsOK(ecode1
)) {
11783 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11785 arg1
= static_cast< int >(val1
);
11788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11789 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11790 wxPyEndAllowThreads(__tstate
);
11791 if (PyErr_Occurred()) SWIG_fail
;
11793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11800 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11801 PyObject
*resultobj
= 0;
11802 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11808 PyObject
* obj0
= 0 ;
11809 PyObject
* obj1
= 0 ;
11810 char * kwnames
[] = {
11811 (char *) "self",(char *) "length", NULL
11814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11816 if (!SWIG_IsOK(res1
)) {
11817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11819 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11821 if (!SWIG_IsOK(ecode2
)) {
11822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11824 arg2
= static_cast< int >(val2
);
11826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11827 (arg1
)->SetRequestedLength(arg2
);
11828 wxPyEndAllowThreads(__tstate
);
11829 if (PyErr_Occurred()) SWIG_fail
;
11831 resultobj
= SWIG_Py_Void();
11838 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11839 PyObject
*resultobj
= 0;
11840 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11844 PyObject
*swig_obj
[1] ;
11846 if (!args
) SWIG_fail
;
11847 swig_obj
[0] = args
;
11848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11849 if (!SWIG_IsOK(res1
)) {
11850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11852 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= SWIG_From_int(static_cast< int >(result
));
11866 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
= 0;
11868 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11874 PyObject
* obj0
= 0 ;
11875 PyObject
* obj1
= 0 ;
11876 char * kwnames
[] = {
11877 (char *) "self",(char *) "flags", NULL
11880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11882 if (!SWIG_IsOK(res1
)) {
11883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11885 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11887 if (!SWIG_IsOK(ecode2
)) {
11888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11890 arg2
= static_cast< int >(val2
);
11892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11893 (arg1
)->SetFlags(arg2
);
11894 wxPyEndAllowThreads(__tstate
);
11895 if (PyErr_Occurred()) SWIG_fail
;
11897 resultobj
= SWIG_Py_Void();
11904 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11905 PyObject
*resultobj
= 0;
11906 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11910 PyObject
*swig_obj
[1] ;
11912 if (!args
) SWIG_fail
;
11913 swig_obj
[0] = args
;
11914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11915 if (!SWIG_IsOK(res1
)) {
11916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11918 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11921 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11922 wxPyEndAllowThreads(__tstate
);
11923 if (PyErr_Occurred()) SWIG_fail
;
11925 resultobj
= SWIG_From_int(static_cast< int >(result
));
11932 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11933 PyObject
*resultobj
= 0;
11934 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11939 PyObject
* obj0
= 0 ;
11940 PyObject
* obj1
= 0 ;
11941 char * kwnames
[] = {
11942 (char *) "self",(char *) "size", NULL
11945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11947 if (!SWIG_IsOK(res1
)) {
11948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11950 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11953 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 (arg1
)->SetSize((wxSize
const &)*arg2
);
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11961 resultobj
= SWIG_Py_Void();
11968 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11969 PyObject
*resultobj
= 0;
11970 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11974 PyObject
*swig_obj
[1] ;
11976 if (!args
) SWIG_fail
;
11977 swig_obj
[0] = args
;
11978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11979 if (!SWIG_IsOK(res1
)) {
11980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11982 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
11986 wxPyEndAllowThreads(__tstate
);
11987 if (PyErr_Occurred()) SWIG_fail
;
11989 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11996 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11997 PyObject
*resultobj
= 0;
11998 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11999 wxLayoutOrientation arg2
;
12004 PyObject
* obj0
= 0 ;
12005 PyObject
* obj1
= 0 ;
12006 char * kwnames
[] = {
12007 (char *) "self",(char *) "orient", NULL
12010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12012 if (!SWIG_IsOK(res1
)) {
12013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12015 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12017 if (!SWIG_IsOK(ecode2
)) {
12018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12020 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 (arg1
)->SetOrientation(arg2
);
12024 wxPyEndAllowThreads(__tstate
);
12025 if (PyErr_Occurred()) SWIG_fail
;
12027 resultobj
= SWIG_Py_Void();
12034 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12035 PyObject
*resultobj
= 0;
12036 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12037 wxLayoutOrientation result
;
12040 PyObject
*swig_obj
[1] ;
12042 if (!args
) SWIG_fail
;
12043 swig_obj
[0] = args
;
12044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12045 if (!SWIG_IsOK(res1
)) {
12046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12048 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12051 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12052 wxPyEndAllowThreads(__tstate
);
12053 if (PyErr_Occurred()) SWIG_fail
;
12055 resultobj
= SWIG_From_int(static_cast< int >(result
));
12062 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12063 PyObject
*resultobj
= 0;
12064 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12065 wxLayoutAlignment arg2
;
12070 PyObject
* obj0
= 0 ;
12071 PyObject
* obj1
= 0 ;
12072 char * kwnames
[] = {
12073 (char *) "self",(char *) "align", NULL
12076 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12077 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12078 if (!SWIG_IsOK(res1
)) {
12079 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12081 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12083 if (!SWIG_IsOK(ecode2
)) {
12084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12086 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12089 (arg1
)->SetAlignment(arg2
);
12090 wxPyEndAllowThreads(__tstate
);
12091 if (PyErr_Occurred()) SWIG_fail
;
12093 resultobj
= SWIG_Py_Void();
12100 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12101 PyObject
*resultobj
= 0;
12102 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12103 wxLayoutAlignment result
;
12106 PyObject
*swig_obj
[1] ;
12108 if (!args
) SWIG_fail
;
12109 swig_obj
[0] = args
;
12110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12111 if (!SWIG_IsOK(res1
)) {
12112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12114 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12118 wxPyEndAllowThreads(__tstate
);
12119 if (PyErr_Occurred()) SWIG_fail
;
12121 resultobj
= SWIG_From_int(static_cast< int >(result
));
12128 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12130 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12131 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12132 return SWIG_Py_Void();
12135 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12136 return SWIG_Python_InitShadowInstance(args
);
12139 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
= 0;
12141 int arg1
= (int) 0 ;
12142 wxCalculateLayoutEvent
*result
= 0 ;
12145 PyObject
* obj0
= 0 ;
12146 char * kwnames
[] = {
12147 (char *) "id", NULL
12150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12152 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12153 if (!SWIG_IsOK(ecode1
)) {
12154 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12156 arg1
= static_cast< int >(val1
);
12159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12160 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12171 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
*resultobj
= 0;
12173 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12179 PyObject
* obj0
= 0 ;
12180 PyObject
* obj1
= 0 ;
12181 char * kwnames
[] = {
12182 (char *) "self",(char *) "flags", NULL
12185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12187 if (!SWIG_IsOK(res1
)) {
12188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12190 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12191 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12192 if (!SWIG_IsOK(ecode2
)) {
12193 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12195 arg2
= static_cast< int >(val2
);
12197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12198 (arg1
)->SetFlags(arg2
);
12199 wxPyEndAllowThreads(__tstate
);
12200 if (PyErr_Occurred()) SWIG_fail
;
12202 resultobj
= SWIG_Py_Void();
12209 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12210 PyObject
*resultobj
= 0;
12211 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12215 PyObject
*swig_obj
[1] ;
12217 if (!args
) SWIG_fail
;
12218 swig_obj
[0] = args
;
12219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12220 if (!SWIG_IsOK(res1
)) {
12221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12223 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12226 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 resultobj
= SWIG_From_int(static_cast< int >(result
));
12237 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12238 PyObject
*resultobj
= 0;
12239 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12244 PyObject
* obj0
= 0 ;
12245 PyObject
* obj1
= 0 ;
12246 char * kwnames
[] = {
12247 (char *) "self",(char *) "rect", NULL
12250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12252 if (!SWIG_IsOK(res1
)) {
12253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12255 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12258 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 (arg1
)->SetRect((wxRect
const &)*arg2
);
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= SWIG_Py_Void();
12273 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12274 PyObject
*resultobj
= 0;
12275 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12279 PyObject
*swig_obj
[1] ;
12281 if (!args
) SWIG_fail
;
12282 swig_obj
[0] = args
;
12283 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12284 if (!SWIG_IsOK(res1
)) {
12285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12287 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12290 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12301 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12303 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12304 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12305 return SWIG_Py_Void();
12308 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12309 return SWIG_Python_InitShadowInstance(args
);
12312 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
= 0;
12314 wxWindow
*arg1
= (wxWindow
*) 0 ;
12315 int arg2
= (int) -1 ;
12316 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12317 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12318 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12319 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12320 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12321 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12322 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12323 wxSashLayoutWindow
*result
= 0 ;
12332 bool temp6
= false ;
12333 PyObject
* obj0
= 0 ;
12334 PyObject
* obj1
= 0 ;
12335 PyObject
* obj2
= 0 ;
12336 PyObject
* obj3
= 0 ;
12337 PyObject
* obj4
= 0 ;
12338 PyObject
* obj5
= 0 ;
12339 char * kwnames
[] = {
12340 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12345 if (!SWIG_IsOK(res1
)) {
12346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12348 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12351 if (!SWIG_IsOK(ecode2
)) {
12352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12354 arg2
= static_cast< int >(val2
);
12359 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12365 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12369 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12370 if (!SWIG_IsOK(ecode5
)) {
12371 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12373 arg5
= static_cast< long >(val5
);
12377 arg6
= wxString_in_helper(obj5
);
12378 if (arg6
== NULL
) SWIG_fail
;
12383 if (!wxPyCheckForApp()) SWIG_fail
;
12384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12385 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12386 wxPyEndAllowThreads(__tstate
);
12387 if (PyErr_Occurred()) SWIG_fail
;
12389 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12404 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12405 PyObject
*resultobj
= 0;
12406 wxSashLayoutWindow
*result
= 0 ;
12408 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12410 if (!wxPyCheckForApp()) SWIG_fail
;
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12423 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
= 0;
12425 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12426 wxWindow
*arg2
= (wxWindow
*) 0 ;
12427 int arg3
= (int) -1 ;
12428 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12429 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12430 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12431 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12432 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12433 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12434 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12446 bool temp7
= false ;
12447 PyObject
* obj0
= 0 ;
12448 PyObject
* obj1
= 0 ;
12449 PyObject
* obj2
= 0 ;
12450 PyObject
* obj3
= 0 ;
12451 PyObject
* obj4
= 0 ;
12452 PyObject
* obj5
= 0 ;
12453 PyObject
* obj6
= 0 ;
12454 char * kwnames
[] = {
12455 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12460 if (!SWIG_IsOK(res1
)) {
12461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12463 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12464 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12465 if (!SWIG_IsOK(res2
)) {
12466 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12468 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12471 if (!SWIG_IsOK(ecode3
)) {
12472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12474 arg3
= static_cast< int >(val3
);
12479 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12485 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12489 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12490 if (!SWIG_IsOK(ecode6
)) {
12491 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12493 arg6
= static_cast< long >(val6
);
12497 arg7
= wxString_in_helper(obj6
);
12498 if (arg7
== NULL
) SWIG_fail
;
12503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12504 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12505 wxPyEndAllowThreads(__tstate
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12525 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12526 PyObject
*resultobj
= 0;
12527 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12528 wxLayoutAlignment result
;
12531 PyObject
*swig_obj
[1] ;
12533 if (!args
) SWIG_fail
;
12534 swig_obj
[0] = args
;
12535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12536 if (!SWIG_IsOK(res1
)) {
12537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12539 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12543 wxPyEndAllowThreads(__tstate
);
12544 if (PyErr_Occurred()) SWIG_fail
;
12546 resultobj
= SWIG_From_int(static_cast< int >(result
));
12553 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12554 PyObject
*resultobj
= 0;
12555 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12556 wxLayoutOrientation result
;
12559 PyObject
*swig_obj
[1] ;
12561 if (!args
) SWIG_fail
;
12562 swig_obj
[0] = args
;
12563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12564 if (!SWIG_IsOK(res1
)) {
12565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12567 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12574 resultobj
= SWIG_From_int(static_cast< int >(result
));
12581 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12582 PyObject
*resultobj
= 0;
12583 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12584 wxLayoutAlignment arg2
;
12589 PyObject
* obj0
= 0 ;
12590 PyObject
* obj1
= 0 ;
12591 char * kwnames
[] = {
12592 (char *) "self",(char *) "alignment", NULL
12595 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12596 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12597 if (!SWIG_IsOK(res1
)) {
12598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12600 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12601 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12602 if (!SWIG_IsOK(ecode2
)) {
12603 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12605 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 (arg1
)->SetAlignment(arg2
);
12609 wxPyEndAllowThreads(__tstate
);
12610 if (PyErr_Occurred()) SWIG_fail
;
12612 resultobj
= SWIG_Py_Void();
12619 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12620 PyObject
*resultobj
= 0;
12621 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12626 PyObject
* obj0
= 0 ;
12627 PyObject
* obj1
= 0 ;
12628 char * kwnames
[] = {
12629 (char *) "self",(char *) "size", NULL
12632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12634 if (!SWIG_IsOK(res1
)) {
12635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12637 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12640 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12645 wxPyEndAllowThreads(__tstate
);
12646 if (PyErr_Occurred()) SWIG_fail
;
12648 resultobj
= SWIG_Py_Void();
12655 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12656 PyObject
*resultobj
= 0;
12657 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12658 wxLayoutOrientation arg2
;
12663 PyObject
* obj0
= 0 ;
12664 PyObject
* obj1
= 0 ;
12665 char * kwnames
[] = {
12666 (char *) "self",(char *) "orientation", NULL
12669 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12670 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12671 if (!SWIG_IsOK(res1
)) {
12672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12674 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12675 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12676 if (!SWIG_IsOK(ecode2
)) {
12677 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12679 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12682 (arg1
)->SetOrientation(arg2
);
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 resultobj
= SWIG_Py_Void();
12693 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12696 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12697 return SWIG_Py_Void();
12700 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12701 return SWIG_Python_InitShadowInstance(args
);
12704 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12705 PyObject
*resultobj
= 0;
12706 wxLayoutAlgorithm
*result
= 0 ;
12708 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12711 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12722 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12723 PyObject
*resultobj
= 0;
12724 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12727 PyObject
*swig_obj
[1] ;
12729 if (!args
) SWIG_fail
;
12730 swig_obj
[0] = args
;
12731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12732 if (!SWIG_IsOK(res1
)) {
12733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12735 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12740 wxPyEndAllowThreads(__tstate
);
12741 if (PyErr_Occurred()) SWIG_fail
;
12743 resultobj
= SWIG_Py_Void();
12750 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12751 PyObject
*resultobj
= 0;
12752 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12753 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12754 wxRect
*arg3
= (wxRect
*) NULL
;
12762 PyObject
* obj0
= 0 ;
12763 PyObject
* obj1
= 0 ;
12764 PyObject
* obj2
= 0 ;
12765 char * kwnames
[] = {
12766 (char *) "self",(char *) "frame",(char *) "rect", NULL
12769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12771 if (!SWIG_IsOK(res1
)) {
12772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12774 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12775 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12776 if (!SWIG_IsOK(res2
)) {
12777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12779 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12781 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12782 if (!SWIG_IsOK(res3
)) {
12783 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12785 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12789 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12790 wxPyEndAllowThreads(__tstate
);
12791 if (PyErr_Occurred()) SWIG_fail
;
12794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12802 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12803 PyObject
*resultobj
= 0;
12804 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12805 wxFrame
*arg2
= (wxFrame
*) 0 ;
12806 wxWindow
*arg3
= (wxWindow
*) NULL
;
12814 PyObject
* obj0
= 0 ;
12815 PyObject
* obj1
= 0 ;
12816 PyObject
* obj2
= 0 ;
12817 char * kwnames
[] = {
12818 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12821 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12822 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12823 if (!SWIG_IsOK(res1
)) {
12824 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12826 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12827 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12828 if (!SWIG_IsOK(res2
)) {
12829 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12831 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12833 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12834 if (!SWIG_IsOK(res3
)) {
12835 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12837 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12841 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12854 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12855 PyObject
*resultobj
= 0;
12856 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12857 wxWindow
*arg2
= (wxWindow
*) 0 ;
12858 wxWindow
*arg3
= (wxWindow
*) NULL
;
12866 PyObject
* obj0
= 0 ;
12867 PyObject
* obj1
= 0 ;
12868 PyObject
* obj2
= 0 ;
12869 char * kwnames
[] = {
12870 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12875 if (!SWIG_IsOK(res1
)) {
12876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12878 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12879 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12880 if (!SWIG_IsOK(res2
)) {
12881 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12883 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12885 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12886 if (!SWIG_IsOK(res3
)) {
12887 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12889 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12898 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12906 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12908 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12909 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12910 return SWIG_Py_Void();
12913 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12914 return SWIG_Python_InitShadowInstance(args
);
12917 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
= 0;
12919 wxWindow
*arg1
= (wxWindow
*) 0 ;
12920 int arg2
= (int) wxBORDER_NONE
;
12921 wxPopupWindow
*result
= 0 ;
12926 PyObject
* obj0
= 0 ;
12927 PyObject
* obj1
= 0 ;
12928 char * kwnames
[] = {
12929 (char *) "parent",(char *) "flags", NULL
12932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12934 if (!SWIG_IsOK(res1
)) {
12935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12937 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12939 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12940 if (!SWIG_IsOK(ecode2
)) {
12941 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12943 arg2
= static_cast< int >(val2
);
12946 if (!wxPyCheckForApp()) SWIG_fail
;
12947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12948 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
12949 wxPyEndAllowThreads(__tstate
);
12950 if (PyErr_Occurred()) SWIG_fail
;
12952 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
12959 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12960 PyObject
*resultobj
= 0;
12961 wxPopupWindow
*result
= 0 ;
12963 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
12965 if (!wxPyCheckForApp()) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 result
= (wxPopupWindow
*)new wxPopupWindow();
12968 wxPyEndAllowThreads(__tstate
);
12969 if (PyErr_Occurred()) SWIG_fail
;
12971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
12978 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
*resultobj
= 0;
12980 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
12981 wxWindow
*arg2
= (wxWindow
*) 0 ;
12982 int arg3
= (int) wxBORDER_NONE
;
12990 PyObject
* obj0
= 0 ;
12991 PyObject
* obj1
= 0 ;
12992 PyObject
* obj2
= 0 ;
12993 char * kwnames
[] = {
12994 (char *) "self",(char *) "parent",(char *) "flags", NULL
12997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
12999 if (!SWIG_IsOK(res1
)) {
13000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13002 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13003 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13004 if (!SWIG_IsOK(res2
)) {
13005 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13007 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13009 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13010 if (!SWIG_IsOK(ecode3
)) {
13011 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13013 arg3
= static_cast< int >(val3
);
13016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13017 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13018 wxPyEndAllowThreads(__tstate
);
13019 if (PyErr_Occurred()) SWIG_fail
;
13022 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13030 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13031 PyObject
*resultobj
= 0;
13032 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13033 wxPoint
*arg2
= 0 ;
13039 PyObject
* obj0
= 0 ;
13040 PyObject
* obj1
= 0 ;
13041 PyObject
* obj2
= 0 ;
13042 char * kwnames
[] = {
13043 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13046 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13047 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13048 if (!SWIG_IsOK(res1
)) {
13049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13051 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13054 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13058 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13062 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13063 wxPyEndAllowThreads(__tstate
);
13064 if (PyErr_Occurred()) SWIG_fail
;
13066 resultobj
= SWIG_Py_Void();
13073 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13075 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13076 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13077 return SWIG_Py_Void();
13080 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13081 return SWIG_Python_InitShadowInstance(args
);
13084 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
= 0;
13086 wxWindow
*arg1
= (wxWindow
*) 0 ;
13087 int arg2
= (int) wxBORDER_NONE
;
13088 wxPyPopupTransientWindow
*result
= 0 ;
13093 PyObject
* obj0
= 0 ;
13094 PyObject
* obj1
= 0 ;
13095 char * kwnames
[] = {
13096 (char *) "parent",(char *) "style", NULL
13099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13101 if (!SWIG_IsOK(res1
)) {
13102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13104 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13106 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13107 if (!SWIG_IsOK(ecode2
)) {
13108 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13110 arg2
= static_cast< int >(val2
);
13113 if (!wxPyCheckForApp()) SWIG_fail
;
13114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13115 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13116 wxPyEndAllowThreads(__tstate
);
13117 if (PyErr_Occurred()) SWIG_fail
;
13119 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13126 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13127 PyObject
*resultobj
= 0;
13128 wxPyPopupTransientWindow
*result
= 0 ;
13130 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13132 if (!wxPyCheckForApp()) SWIG_fail
;
13133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13134 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13135 wxPyEndAllowThreads(__tstate
);
13136 if (PyErr_Occurred()) SWIG_fail
;
13138 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13145 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13146 PyObject
*resultobj
= 0;
13147 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13148 PyObject
*arg2
= (PyObject
*) 0 ;
13149 PyObject
*arg3
= (PyObject
*) 0 ;
13152 PyObject
* obj0
= 0 ;
13153 PyObject
* obj1
= 0 ;
13154 PyObject
* obj2
= 0 ;
13155 char * kwnames
[] = {
13156 (char *) "self",(char *) "self",(char *) "_class", NULL
13159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13161 if (!SWIG_IsOK(res1
)) {
13162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13164 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13169 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13170 wxPyEndAllowThreads(__tstate
);
13171 if (PyErr_Occurred()) SWIG_fail
;
13173 resultobj
= SWIG_Py_Void();
13180 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
= 0;
13182 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13183 wxWindow
*arg2
= (wxWindow
*) NULL
;
13188 PyObject
* obj0
= 0 ;
13189 PyObject
* obj1
= 0 ;
13190 char * kwnames
[] = {
13191 (char *) "self",(char *) "focus", NULL
13194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13196 if (!SWIG_IsOK(res1
)) {
13197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13199 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13201 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13202 if (!SWIG_IsOK(res2
)) {
13203 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13205 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13209 (arg1
)->Popup(arg2
);
13210 wxPyEndAllowThreads(__tstate
);
13211 if (PyErr_Occurred()) SWIG_fail
;
13213 resultobj
= SWIG_Py_Void();
13220 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13221 PyObject
*resultobj
= 0;
13222 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13225 PyObject
*swig_obj
[1] ;
13227 if (!args
) SWIG_fail
;
13228 swig_obj
[0] = args
;
13229 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13230 if (!SWIG_IsOK(res1
)) {
13231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13233 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13237 wxPyEndAllowThreads(__tstate
);
13238 if (PyErr_Occurred()) SWIG_fail
;
13240 resultobj
= SWIG_Py_Void();
13247 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13249 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13250 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13251 return SWIG_Py_Void();
13254 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13255 return SWIG_Python_InitShadowInstance(args
);
13258 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13259 PyObject
*resultobj
= 0;
13260 wxWindow
*arg1
= (wxWindow
*) 0 ;
13261 wxString
*arg2
= 0 ;
13262 int arg3
= (int) 100 ;
13263 wxRect
*arg4
= (wxRect
*) NULL
;
13264 wxTipWindow
*result
= 0 ;
13267 bool temp2
= false ;
13272 PyObject
* obj0
= 0 ;
13273 PyObject
* obj1
= 0 ;
13274 PyObject
* obj2
= 0 ;
13275 PyObject
* obj3
= 0 ;
13276 char * kwnames
[] = {
13277 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13282 if (!SWIG_IsOK(res1
)) {
13283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13285 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13287 arg2
= wxString_in_helper(obj1
);
13288 if (arg2
== NULL
) SWIG_fail
;
13292 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13293 if (!SWIG_IsOK(ecode3
)) {
13294 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13296 arg3
= static_cast< int >(val3
);
13299 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13300 if (!SWIG_IsOK(res4
)) {
13301 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13303 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13306 if (!wxPyCheckForApp()) SWIG_fail
;
13307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13308 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13309 wxPyEndAllowThreads(__tstate
);
13310 if (PyErr_Occurred()) SWIG_fail
;
13312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13327 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
= 0;
13329 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13334 PyObject
* obj0
= 0 ;
13335 PyObject
* obj1
= 0 ;
13336 char * kwnames
[] = {
13337 (char *) "self",(char *) "rectBound", NULL
13340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13342 if (!SWIG_IsOK(res1
)) {
13343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13345 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13348 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13352 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13356 resultobj
= SWIG_Py_Void();
13363 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13364 PyObject
*resultobj
= 0;
13365 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13368 PyObject
*swig_obj
[1] ;
13370 if (!args
) SWIG_fail
;
13371 swig_obj
[0] = args
;
13372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13373 if (!SWIG_IsOK(res1
)) {
13374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13376 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= SWIG_Py_Void();
13390 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13392 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13393 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13394 return SWIG_Py_Void();
13397 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13398 return SWIG_Python_InitShadowInstance(args
);
13401 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
= 0;
13403 wxWindow
*arg1
= (wxWindow
*) 0 ;
13404 int arg2
= (int) wxID_ANY
;
13405 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13406 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13407 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13408 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13409 long arg5
= (long) 0 ;
13410 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13411 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13412 wxPyVScrolledWindow
*result
= 0 ;
13421 bool temp6
= false ;
13422 PyObject
* obj0
= 0 ;
13423 PyObject
* obj1
= 0 ;
13424 PyObject
* obj2
= 0 ;
13425 PyObject
* obj3
= 0 ;
13426 PyObject
* obj4
= 0 ;
13427 PyObject
* obj5
= 0 ;
13428 char * kwnames
[] = {
13429 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13434 if (!SWIG_IsOK(res1
)) {
13435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13437 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13440 if (!SWIG_IsOK(ecode2
)) {
13441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13443 arg2
= static_cast< int >(val2
);
13448 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13454 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13458 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13459 if (!SWIG_IsOK(ecode5
)) {
13460 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13462 arg5
= static_cast< long >(val5
);
13466 arg6
= wxString_in_helper(obj5
);
13467 if (arg6
== NULL
) SWIG_fail
;
13472 if (!wxPyCheckForApp()) SWIG_fail
;
13473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13474 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13475 wxPyEndAllowThreads(__tstate
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13493 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13494 PyObject
*resultobj
= 0;
13495 wxPyVScrolledWindow
*result
= 0 ;
13497 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13499 if (!wxPyCheckForApp()) SWIG_fail
;
13500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13501 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13502 wxPyEndAllowThreads(__tstate
);
13503 if (PyErr_Occurred()) SWIG_fail
;
13505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13512 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13513 PyObject
*resultobj
= 0;
13514 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13515 PyObject
*arg2
= (PyObject
*) 0 ;
13516 PyObject
*arg3
= (PyObject
*) 0 ;
13519 PyObject
* obj0
= 0 ;
13520 PyObject
* obj1
= 0 ;
13521 PyObject
* obj2
= 0 ;
13522 char * kwnames
[] = {
13523 (char *) "self",(char *) "self",(char *) "_class", NULL
13526 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13527 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13528 if (!SWIG_IsOK(res1
)) {
13529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13531 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13536 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13537 wxPyEndAllowThreads(__tstate
);
13538 if (PyErr_Occurred()) SWIG_fail
;
13540 resultobj
= SWIG_Py_Void();
13547 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13548 PyObject
*resultobj
= 0;
13549 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13550 wxWindow
*arg2
= (wxWindow
*) 0 ;
13551 int arg3
= (int) wxID_ANY
;
13552 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13553 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13554 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13555 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13556 long arg6
= (long) 0 ;
13557 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13558 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13570 bool temp7
= false ;
13571 PyObject
* obj0
= 0 ;
13572 PyObject
* obj1
= 0 ;
13573 PyObject
* obj2
= 0 ;
13574 PyObject
* obj3
= 0 ;
13575 PyObject
* obj4
= 0 ;
13576 PyObject
* obj5
= 0 ;
13577 PyObject
* obj6
= 0 ;
13578 char * kwnames
[] = {
13579 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13584 if (!SWIG_IsOK(res1
)) {
13585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13587 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13588 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13589 if (!SWIG_IsOK(res2
)) {
13590 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13592 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13594 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13595 if (!SWIG_IsOK(ecode3
)) {
13596 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13598 arg3
= static_cast< int >(val3
);
13603 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13609 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13613 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13614 if (!SWIG_IsOK(ecode6
)) {
13615 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13617 arg6
= static_cast< long >(val6
);
13621 arg7
= wxString_in_helper(obj6
);
13622 if (arg7
== NULL
) SWIG_fail
;
13627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13628 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13649 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13650 PyObject
*resultobj
= 0;
13651 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13657 PyObject
* obj0
= 0 ;
13658 PyObject
* obj1
= 0 ;
13659 char * kwnames
[] = {
13660 (char *) "self",(char *) "count", NULL
13663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13665 if (!SWIG_IsOK(res1
)) {
13666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13668 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13669 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13670 if (!SWIG_IsOK(ecode2
)) {
13671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13673 arg2
= static_cast< size_t >(val2
);
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 (arg1
)->SetLineCount(arg2
);
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13680 resultobj
= SWIG_Py_Void();
13687 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13688 PyObject
*resultobj
= 0;
13689 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13696 PyObject
* obj0
= 0 ;
13697 PyObject
* obj1
= 0 ;
13698 char * kwnames
[] = {
13699 (char *) "self",(char *) "line", NULL
13702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13704 if (!SWIG_IsOK(res1
)) {
13705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13707 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13708 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13709 if (!SWIG_IsOK(ecode2
)) {
13710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13712 arg2
= static_cast< size_t >(val2
);
13714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13715 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13728 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
= 0;
13730 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13736 PyObject
* obj0
= 0 ;
13737 PyObject
* obj1
= 0 ;
13738 char * kwnames
[] = {
13739 (char *) "self",(char *) "line", NULL
13742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13744 if (!SWIG_IsOK(res1
)) {
13745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13747 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13748 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13749 if (!SWIG_IsOK(ecode2
)) {
13750 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13752 arg2
= static_cast< size_t >(val2
);
13754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13755 (arg1
)->RefreshLine(arg2
);
13756 wxPyEndAllowThreads(__tstate
);
13757 if (PyErr_Occurred()) SWIG_fail
;
13759 resultobj
= SWIG_Py_Void();
13766 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13767 PyObject
*resultobj
= 0;
13768 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13777 PyObject
* obj0
= 0 ;
13778 PyObject
* obj1
= 0 ;
13779 PyObject
* obj2
= 0 ;
13780 char * kwnames
[] = {
13781 (char *) "self",(char *) "from",(char *) "to", NULL
13784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13786 if (!SWIG_IsOK(res1
)) {
13787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13789 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13790 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13791 if (!SWIG_IsOK(ecode2
)) {
13792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13794 arg2
= static_cast< size_t >(val2
);
13795 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13796 if (!SWIG_IsOK(ecode3
)) {
13797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13799 arg3
= static_cast< size_t >(val3
);
13801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13802 (arg1
)->RefreshLines(arg2
,arg3
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13806 resultobj
= SWIG_Py_Void();
13813 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
= 0;
13815 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13825 PyObject
* obj0
= 0 ;
13826 PyObject
* obj1
= 0 ;
13827 PyObject
* obj2
= 0 ;
13828 char * kwnames
[] = {
13829 (char *) "self",(char *) "x",(char *) "y", NULL
13832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13834 if (!SWIG_IsOK(res1
)) {
13835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13837 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13838 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13839 if (!SWIG_IsOK(ecode2
)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13842 arg2
= static_cast< int >(val2
);
13843 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13844 if (!SWIG_IsOK(ecode3
)) {
13845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13847 arg3
= static_cast< int >(val3
);
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_From_int(static_cast< int >(result
));
13861 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
= 0;
13863 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13864 wxPoint
*arg2
= 0 ;
13869 PyObject
* obj0
= 0 ;
13870 PyObject
* obj1
= 0 ;
13871 char * kwnames
[] = {
13872 (char *) "self",(char *) "pt", NULL
13875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13877 if (!SWIG_IsOK(res1
)) {
13878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13880 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13883 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13887 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13888 wxPyEndAllowThreads(__tstate
);
13889 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= SWIG_From_int(static_cast< int >(result
));
13898 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13899 PyObject
*resultobj
= 0;
13900 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13903 PyObject
*swig_obj
[1] ;
13905 if (!args
) SWIG_fail
;
13906 swig_obj
[0] = args
;
13907 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13908 if (!SWIG_IsOK(res1
)) {
13909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13911 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13914 (arg1
)->RefreshAll();
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13918 resultobj
= SWIG_Py_Void();
13925 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13926 PyObject
*resultobj
= 0;
13927 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13931 PyObject
*swig_obj
[1] ;
13933 if (!args
) SWIG_fail
;
13934 swig_obj
[0] = args
;
13935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13936 if (!SWIG_IsOK(res1
)) {
13937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13939 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13942 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13946 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13953 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13954 PyObject
*resultobj
= 0;
13955 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13959 PyObject
*swig_obj
[1] ;
13961 if (!args
) SWIG_fail
;
13962 swig_obj
[0] = args
;
13963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13964 if (!SWIG_IsOK(res1
)) {
13965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13967 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13970 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13974 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13981 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13982 PyObject
*resultobj
= 0;
13983 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13987 PyObject
*swig_obj
[1] ;
13989 if (!args
) SWIG_fail
;
13990 swig_obj
[0] = args
;
13991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13992 if (!SWIG_IsOK(res1
)) {
13993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13995 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13998 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14002 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14009 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14010 PyObject
*resultobj
= 0;
14011 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14018 PyObject
* obj0
= 0 ;
14019 PyObject
* obj1
= 0 ;
14020 char * kwnames
[] = {
14021 (char *) "self",(char *) "line", NULL
14024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14026 if (!SWIG_IsOK(res1
)) {
14027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14029 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14030 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14031 if (!SWIG_IsOK(ecode2
)) {
14032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14034 arg2
= static_cast< size_t >(val2
);
14036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14037 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14038 wxPyEndAllowThreads(__tstate
);
14039 if (PyErr_Occurred()) SWIG_fail
;
14042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14050 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14051 PyObject
*resultobj
= 0;
14052 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14056 PyObject
*swig_obj
[1] ;
14058 if (!args
) SWIG_fail
;
14059 swig_obj
[0] = args
;
14060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14061 if (!SWIG_IsOK(res1
)) {
14062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14064 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14067 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14068 wxPyEndAllowThreads(__tstate
);
14069 if (PyErr_Occurred()) SWIG_fail
;
14071 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14078 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14079 PyObject
*resultobj
= 0;
14080 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14084 PyObject
*swig_obj
[1] ;
14086 if (!args
) SWIG_fail
;
14087 swig_obj
[0] = args
;
14088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14089 if (!SWIG_IsOK(res1
)) {
14090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14092 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14095 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14096 wxPyEndAllowThreads(__tstate
);
14097 if (PyErr_Occurred()) SWIG_fail
;
14099 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14106 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14107 PyObject
*resultobj
= 0;
14108 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14110 bool arg3
= (bool) false ;
14118 PyObject
* obj0
= 0 ;
14119 PyObject
* obj1
= 0 ;
14120 PyObject
* obj2
= 0 ;
14121 char * kwnames
[] = {
14122 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14127 if (!SWIG_IsOK(res1
)) {
14128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14130 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14131 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14132 if (!SWIG_IsOK(ecode2
)) {
14133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14135 arg2
= static_cast< size_t >(val2
);
14137 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14138 if (!SWIG_IsOK(ecode3
)) {
14139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14141 arg3
= static_cast< bool >(val3
);
14144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14145 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14146 wxPyEndAllowThreads(__tstate
);
14147 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14156 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14157 PyObject
*resultobj
= 0;
14158 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14168 PyObject
* obj0
= 0 ;
14169 PyObject
* obj1
= 0 ;
14170 PyObject
* obj2
= 0 ;
14171 char * kwnames
[] = {
14172 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14175 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14176 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14177 if (!SWIG_IsOK(res1
)) {
14178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14180 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14181 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14182 if (!SWIG_IsOK(ecode2
)) {
14183 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14185 arg2
= static_cast< size_t >(val2
);
14186 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14187 if (!SWIG_IsOK(ecode3
)) {
14188 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14190 arg3
= static_cast< size_t >(val3
);
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= SWIG_From_int(static_cast< int >(result
));
14204 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14206 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14207 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14208 return SWIG_Py_Void();
14211 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14212 return SWIG_Python_InitShadowInstance(args
);
14215 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14216 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14221 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14222 PyObject
*pyobj
= 0;
14226 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14228 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14235 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
= 0;
14237 wxWindow
*arg1
= (wxWindow
*) 0 ;
14238 int arg2
= (int) wxID_ANY
;
14239 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14240 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14241 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14242 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14243 long arg5
= (long) 0 ;
14244 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14245 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14246 wxPyVListBox
*result
= 0 ;
14255 bool temp6
= false ;
14256 PyObject
* obj0
= 0 ;
14257 PyObject
* obj1
= 0 ;
14258 PyObject
* obj2
= 0 ;
14259 PyObject
* obj3
= 0 ;
14260 PyObject
* obj4
= 0 ;
14261 PyObject
* obj5
= 0 ;
14262 char * kwnames
[] = {
14263 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14268 if (!SWIG_IsOK(res1
)) {
14269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14271 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14273 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14274 if (!SWIG_IsOK(ecode2
)) {
14275 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14277 arg2
= static_cast< int >(val2
);
14282 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14288 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14292 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14293 if (!SWIG_IsOK(ecode5
)) {
14294 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14296 arg5
= static_cast< long >(val5
);
14300 arg6
= wxString_in_helper(obj5
);
14301 if (arg6
== NULL
) SWIG_fail
;
14306 if (!wxPyCheckForApp()) SWIG_fail
;
14307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14308 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14327 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14328 PyObject
*resultobj
= 0;
14329 wxPyVListBox
*result
= 0 ;
14331 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14333 if (!wxPyCheckForApp()) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= (wxPyVListBox
*)new wxPyVListBox();
14336 wxPyEndAllowThreads(__tstate
);
14337 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14346 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
= 0;
14348 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14349 PyObject
*arg2
= (PyObject
*) 0 ;
14350 PyObject
*arg3
= (PyObject
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 PyObject
* obj1
= 0 ;
14355 PyObject
* obj2
= 0 ;
14356 char * kwnames
[] = {
14357 (char *) "self",(char *) "self",(char *) "_class", NULL
14360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14362 if (!SWIG_IsOK(res1
)) {
14363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14365 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14370 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14371 wxPyEndAllowThreads(__tstate
);
14372 if (PyErr_Occurred()) SWIG_fail
;
14374 resultobj
= SWIG_Py_Void();
14381 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14382 PyObject
*resultobj
= 0;
14383 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14384 wxWindow
*arg2
= (wxWindow
*) 0 ;
14385 int arg3
= (int) wxID_ANY
;
14386 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14387 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14388 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14389 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14390 long arg6
= (long) 0 ;
14391 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14392 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14404 bool temp7
= false ;
14405 PyObject
* obj0
= 0 ;
14406 PyObject
* obj1
= 0 ;
14407 PyObject
* obj2
= 0 ;
14408 PyObject
* obj3
= 0 ;
14409 PyObject
* obj4
= 0 ;
14410 PyObject
* obj5
= 0 ;
14411 PyObject
* obj6
= 0 ;
14412 char * kwnames
[] = {
14413 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14418 if (!SWIG_IsOK(res1
)) {
14419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14421 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14422 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14423 if (!SWIG_IsOK(res2
)) {
14424 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14426 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14428 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14429 if (!SWIG_IsOK(ecode3
)) {
14430 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14432 arg3
= static_cast< int >(val3
);
14437 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14443 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14447 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14448 if (!SWIG_IsOK(ecode6
)) {
14449 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14451 arg6
= static_cast< long >(val6
);
14455 arg7
= wxString_in_helper(obj6
);
14456 if (arg7
== NULL
) SWIG_fail
;
14461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14462 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14463 wxPyEndAllowThreads(__tstate
);
14464 if (PyErr_Occurred()) SWIG_fail
;
14467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14483 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14484 PyObject
*resultobj
= 0;
14485 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14489 PyObject
*swig_obj
[1] ;
14491 if (!args
) SWIG_fail
;
14492 swig_obj
[0] = args
;
14493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14494 if (!SWIG_IsOK(res1
)) {
14495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14497 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14500 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14501 wxPyEndAllowThreads(__tstate
);
14502 if (PyErr_Occurred()) SWIG_fail
;
14504 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14511 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14512 PyObject
*resultobj
= 0;
14513 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14517 PyObject
*swig_obj
[1] ;
14519 if (!args
) SWIG_fail
;
14520 swig_obj
[0] = args
;
14521 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14522 if (!SWIG_IsOK(res1
)) {
14523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14525 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14528 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14529 wxPyEndAllowThreads(__tstate
);
14530 if (PyErr_Occurred()) SWIG_fail
;
14533 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14541 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14542 PyObject
*resultobj
= 0;
14543 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14547 PyObject
*swig_obj
[1] ;
14549 if (!args
) SWIG_fail
;
14550 swig_obj
[0] = args
;
14551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14552 if (!SWIG_IsOK(res1
)) {
14553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14555 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14558 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14562 resultobj
= SWIG_From_int(static_cast< int >(result
));
14569 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
= 0;
14571 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 PyObject
* obj1
= 0 ;
14580 char * kwnames
[] = {
14581 (char *) "self",(char *) "item", NULL
14584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14586 if (!SWIG_IsOK(res1
)) {
14587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14589 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14590 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14591 if (!SWIG_IsOK(ecode2
)) {
14592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14594 arg2
= static_cast< size_t >(val2
);
14596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14597 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14598 wxPyEndAllowThreads(__tstate
);
14599 if (PyErr_Occurred()) SWIG_fail
;
14602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14610 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14611 PyObject
*resultobj
= 0;
14612 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14619 PyObject
* obj0
= 0 ;
14620 PyObject
* obj1
= 0 ;
14621 char * kwnames
[] = {
14622 (char *) "self",(char *) "item", NULL
14625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14627 if (!SWIG_IsOK(res1
)) {
14628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14630 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14631 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14632 if (!SWIG_IsOK(ecode2
)) {
14633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14635 arg2
= static_cast< size_t >(val2
);
14637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14638 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14639 wxPyEndAllowThreads(__tstate
);
14640 if (PyErr_Occurred()) SWIG_fail
;
14643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14651 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14652 PyObject
*resultobj
= 0;
14653 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14657 PyObject
*swig_obj
[1] ;
14659 if (!args
) SWIG_fail
;
14660 swig_obj
[0] = args
;
14661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14662 if (!SWIG_IsOK(res1
)) {
14663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14665 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14668 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14679 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14680 PyObject
*resultobj
= 0;
14681 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14682 PyObject
*result
= 0 ;
14685 PyObject
*swig_obj
[1] ;
14687 if (!args
) SWIG_fail
;
14688 swig_obj
[0] = args
;
14689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14690 if (!SWIG_IsOK(res1
)) {
14691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14693 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14696 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14697 wxPyEndAllowThreads(__tstate
);
14698 if (PyErr_Occurred()) SWIG_fail
;
14700 resultobj
= result
;
14707 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
= 0;
14709 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14710 unsigned long arg2
;
14711 PyObject
*result
= 0 ;
14714 unsigned long val2
;
14716 PyObject
* obj0
= 0 ;
14717 PyObject
* obj1
= 0 ;
14718 char * kwnames
[] = {
14719 (char *) "self",(char *) "cookie", NULL
14722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14724 if (!SWIG_IsOK(res1
)) {
14725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14727 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14728 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14729 if (!SWIG_IsOK(ecode2
)) {
14730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14732 arg2
= static_cast< unsigned long >(val2
);
14734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14735 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14736 wxPyEndAllowThreads(__tstate
);
14737 if (PyErr_Occurred()) SWIG_fail
;
14739 resultobj
= result
;
14746 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14747 PyObject
*resultobj
= 0;
14748 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14752 PyObject
*swig_obj
[1] ;
14754 if (!args
) SWIG_fail
;
14755 swig_obj
[0] = args
;
14756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14757 if (!SWIG_IsOK(res1
)) {
14758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14760 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14763 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14774 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14775 PyObject
*resultobj
= 0;
14776 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14777 wxColour
*result
= 0 ;
14780 PyObject
*swig_obj
[1] ;
14782 if (!args
) SWIG_fail
;
14783 swig_obj
[0] = args
;
14784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14785 if (!SWIG_IsOK(res1
)) {
14786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14788 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14793 result
= (wxColour
*) &_result_ref
;
14795 wxPyEndAllowThreads(__tstate
);
14796 if (PyErr_Occurred()) SWIG_fail
;
14798 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14805 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14806 PyObject
*resultobj
= 0;
14807 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14813 PyObject
* obj0
= 0 ;
14814 PyObject
* obj1
= 0 ;
14815 char * kwnames
[] = {
14816 (char *) "self",(char *) "count", NULL
14819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14821 if (!SWIG_IsOK(res1
)) {
14822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14824 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14825 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14826 if (!SWIG_IsOK(ecode2
)) {
14827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14829 arg2
= static_cast< size_t >(val2
);
14831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14832 (arg1
)->SetItemCount(arg2
);
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= SWIG_Py_Void();
14843 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14844 PyObject
*resultobj
= 0;
14845 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14848 PyObject
*swig_obj
[1] ;
14850 if (!args
) SWIG_fail
;
14851 swig_obj
[0] = args
;
14852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14853 if (!SWIG_IsOK(res1
)) {
14854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14856 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14860 wxPyEndAllowThreads(__tstate
);
14861 if (PyErr_Occurred()) SWIG_fail
;
14863 resultobj
= SWIG_Py_Void();
14870 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14871 PyObject
*resultobj
= 0;
14872 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14878 PyObject
* obj0
= 0 ;
14879 PyObject
* obj1
= 0 ;
14880 char * kwnames
[] = {
14881 (char *) "self",(char *) "selection", NULL
14884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14886 if (!SWIG_IsOK(res1
)) {
14887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14889 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14891 if (!SWIG_IsOK(ecode2
)) {
14892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14894 arg2
= static_cast< int >(val2
);
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 (arg1
)->SetSelection(arg2
);
14898 wxPyEndAllowThreads(__tstate
);
14899 if (PyErr_Occurred()) SWIG_fail
;
14901 resultobj
= SWIG_Py_Void();
14908 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14909 PyObject
*resultobj
= 0;
14910 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14912 bool arg3
= (bool) true ;
14920 PyObject
* obj0
= 0 ;
14921 PyObject
* obj1
= 0 ;
14922 PyObject
* obj2
= 0 ;
14923 char * kwnames
[] = {
14924 (char *) "self",(char *) "item",(char *) "select", NULL
14927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14929 if (!SWIG_IsOK(res1
)) {
14930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14932 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14933 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14934 if (!SWIG_IsOK(ecode2
)) {
14935 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14937 arg2
= static_cast< size_t >(val2
);
14939 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14940 if (!SWIG_IsOK(ecode3
)) {
14941 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14943 arg3
= static_cast< bool >(val3
);
14946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14947 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14948 wxPyEndAllowThreads(__tstate
);
14949 if (PyErr_Occurred()) SWIG_fail
;
14952 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14960 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
= 0;
14962 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14972 PyObject
* obj0
= 0 ;
14973 PyObject
* obj1
= 0 ;
14974 PyObject
* obj2
= 0 ;
14975 char * kwnames
[] = {
14976 (char *) "self",(char *) "from",(char *) "to", NULL
14979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14981 if (!SWIG_IsOK(res1
)) {
14982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14984 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14985 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14986 if (!SWIG_IsOK(ecode2
)) {
14987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14989 arg2
= static_cast< size_t >(val2
);
14990 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14991 if (!SWIG_IsOK(ecode3
)) {
14992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14994 arg3
= static_cast< size_t >(val3
);
14996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14997 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14998 wxPyEndAllowThreads(__tstate
);
14999 if (PyErr_Occurred()) SWIG_fail
;
15002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15010 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15011 PyObject
*resultobj
= 0;
15012 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15018 PyObject
* obj0
= 0 ;
15019 PyObject
* obj1
= 0 ;
15020 char * kwnames
[] = {
15021 (char *) "self",(char *) "item", NULL
15024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15026 if (!SWIG_IsOK(res1
)) {
15027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15029 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15030 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15031 if (!SWIG_IsOK(ecode2
)) {
15032 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15034 arg2
= static_cast< size_t >(val2
);
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 (arg1
)->Toggle(arg2
);
15038 wxPyEndAllowThreads(__tstate
);
15039 if (PyErr_Occurred()) SWIG_fail
;
15041 resultobj
= SWIG_Py_Void();
15048 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15049 PyObject
*resultobj
= 0;
15050 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15054 PyObject
*swig_obj
[1] ;
15056 if (!args
) SWIG_fail
;
15057 swig_obj
[0] = args
;
15058 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15059 if (!SWIG_IsOK(res1
)) {
15060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15062 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15065 result
= (bool)(arg1
)->SelectAll();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15078 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15079 PyObject
*resultobj
= 0;
15080 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15084 PyObject
*swig_obj
[1] ;
15086 if (!args
) SWIG_fail
;
15087 swig_obj
[0] = args
;
15088 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15089 if (!SWIG_IsOK(res1
)) {
15090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15092 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15095 result
= (bool)(arg1
)->DeselectAll();
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15108 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15109 PyObject
*resultobj
= 0;
15110 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15111 wxPoint
*arg2
= 0 ;
15115 PyObject
* obj0
= 0 ;
15116 PyObject
* obj1
= 0 ;
15117 char * kwnames
[] = {
15118 (char *) "self",(char *) "pt", NULL
15121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15123 if (!SWIG_IsOK(res1
)) {
15124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15126 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15129 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15133 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= SWIG_Py_Void();
15144 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
= 0;
15146 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15155 PyObject
* obj0
= 0 ;
15156 PyObject
* obj1
= 0 ;
15157 PyObject
* obj2
= 0 ;
15158 char * kwnames
[] = {
15159 (char *) "self",(char *) "x",(char *) "y", NULL
15162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15164 if (!SWIG_IsOK(res1
)) {
15165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15167 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15169 if (!SWIG_IsOK(ecode2
)) {
15170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15172 arg2
= static_cast< int >(val2
);
15173 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15174 if (!SWIG_IsOK(ecode3
)) {
15175 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15177 arg3
= static_cast< int >(val3
);
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 (arg1
)->SetMargins(arg2
,arg3
);
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= SWIG_Py_Void();
15191 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
= 0;
15193 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15194 wxColour
*arg2
= 0 ;
15198 PyObject
* obj0
= 0 ;
15199 PyObject
* obj1
= 0 ;
15200 char * kwnames
[] = {
15201 (char *) "self",(char *) "col", NULL
15204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15206 if (!SWIG_IsOK(res1
)) {
15207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15209 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15212 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15217 wxPyEndAllowThreads(__tstate
);
15218 if (PyErr_Occurred()) SWIG_fail
;
15220 resultobj
= SWIG_Py_Void();
15227 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15228 PyObject
*resultobj
= 0;
15229 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15240 PyObject
* obj0
= 0 ;
15241 PyObject
* obj1
= 0 ;
15242 PyObject
* obj2
= 0 ;
15243 PyObject
* obj3
= 0 ;
15244 char * kwnames
[] = {
15245 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15250 if (!SWIG_IsOK(res1
)) {
15251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15253 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15254 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15255 if (!SWIG_IsOK(res2
)) {
15256 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15259 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15261 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15264 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15266 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15267 if (!SWIG_IsOK(ecode4
)) {
15268 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15270 arg4
= static_cast< size_t >(val4
);
15272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15273 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15274 wxPyEndAllowThreads(__tstate
);
15275 if (PyErr_Occurred()) SWIG_fail
;
15277 resultobj
= SWIG_Py_Void();
15284 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15285 PyObject
*resultobj
= 0;
15286 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15297 PyObject
* obj0
= 0 ;
15298 PyObject
* obj1
= 0 ;
15299 PyObject
* obj2
= 0 ;
15300 PyObject
* obj3
= 0 ;
15301 char * kwnames
[] = {
15302 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15307 if (!SWIG_IsOK(res1
)) {
15308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15310 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15311 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15312 if (!SWIG_IsOK(res2
)) {
15313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15316 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15318 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15321 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15323 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15324 if (!SWIG_IsOK(ecode4
)) {
15325 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15327 arg4
= static_cast< size_t >(val4
);
15329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15330 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15331 wxPyEndAllowThreads(__tstate
);
15332 if (PyErr_Occurred()) SWIG_fail
;
15334 resultobj
= SWIG_Py_Void();
15341 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15343 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15344 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15345 return SWIG_Py_Void();
15348 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15349 return SWIG_Python_InitShadowInstance(args
);
15352 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15353 PyObject
*resultobj
= 0;
15354 wxWindow
*arg1
= (wxWindow
*) 0 ;
15355 int arg2
= (int) wxID_ANY
;
15356 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15357 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15358 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15359 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15360 long arg5
= (long) 0 ;
15361 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15362 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15363 wxPyHtmlListBox
*result
= 0 ;
15372 bool temp6
= false ;
15373 PyObject
* obj0
= 0 ;
15374 PyObject
* obj1
= 0 ;
15375 PyObject
* obj2
= 0 ;
15376 PyObject
* obj3
= 0 ;
15377 PyObject
* obj4
= 0 ;
15378 PyObject
* obj5
= 0 ;
15379 char * kwnames
[] = {
15380 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15385 if (!SWIG_IsOK(res1
)) {
15386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15388 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15390 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15391 if (!SWIG_IsOK(ecode2
)) {
15392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15394 arg2
= static_cast< int >(val2
);
15399 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15405 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15409 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15410 if (!SWIG_IsOK(ecode5
)) {
15411 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15413 arg5
= static_cast< long >(val5
);
15417 arg6
= wxString_in_helper(obj5
);
15418 if (arg6
== NULL
) SWIG_fail
;
15423 if (!wxPyCheckForApp()) SWIG_fail
;
15424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15425 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15426 wxPyEndAllowThreads(__tstate
);
15427 if (PyErr_Occurred()) SWIG_fail
;
15429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15444 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15445 PyObject
*resultobj
= 0;
15446 wxPyHtmlListBox
*result
= 0 ;
15448 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15450 if (!wxPyCheckForApp()) SWIG_fail
;
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15456 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15463 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
= 0;
15465 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15466 PyObject
*arg2
= (PyObject
*) 0 ;
15467 PyObject
*arg3
= (PyObject
*) 0 ;
15470 PyObject
* obj0
= 0 ;
15471 PyObject
* obj1
= 0 ;
15472 PyObject
* obj2
= 0 ;
15473 char * kwnames
[] = {
15474 (char *) "self",(char *) "self",(char *) "_class", NULL
15477 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15478 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15479 if (!SWIG_IsOK(res1
)) {
15480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15482 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15487 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 resultobj
= SWIG_Py_Void();
15498 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15499 PyObject
*resultobj
= 0;
15500 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15501 wxWindow
*arg2
= (wxWindow
*) 0 ;
15502 int arg3
= (int) wxID_ANY
;
15503 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15504 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15505 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15506 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15507 long arg6
= (long) 0 ;
15508 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15509 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15521 bool temp7
= false ;
15522 PyObject
* obj0
= 0 ;
15523 PyObject
* obj1
= 0 ;
15524 PyObject
* obj2
= 0 ;
15525 PyObject
* obj3
= 0 ;
15526 PyObject
* obj4
= 0 ;
15527 PyObject
* obj5
= 0 ;
15528 PyObject
* obj6
= 0 ;
15529 char * kwnames
[] = {
15530 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15533 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15534 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15535 if (!SWIG_IsOK(res1
)) {
15536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15538 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15539 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15540 if (!SWIG_IsOK(res2
)) {
15541 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15543 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15545 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15546 if (!SWIG_IsOK(ecode3
)) {
15547 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15549 arg3
= static_cast< int >(val3
);
15554 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15560 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15564 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15565 if (!SWIG_IsOK(ecode6
)) {
15566 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15568 arg6
= static_cast< long >(val6
);
15572 arg7
= wxString_in_helper(obj6
);
15573 if (arg7
== NULL
) SWIG_fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15580 wxPyEndAllowThreads(__tstate
);
15581 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15600 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
= 0;
15602 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15608 PyObject
* obj0
= 0 ;
15609 PyObject
* obj1
= 0 ;
15610 char * kwnames
[] = {
15611 (char *) "self",(char *) "count", NULL
15614 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15615 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15616 if (!SWIG_IsOK(res1
)) {
15617 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15619 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15620 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15621 if (!SWIG_IsOK(ecode2
)) {
15622 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15624 arg2
= static_cast< size_t >(val2
);
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 (arg1
)->SetItemCount(arg2
);
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15631 resultobj
= SWIG_Py_Void();
15638 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15639 PyObject
*resultobj
= 0;
15640 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15641 wxFileSystem
*result
= 0 ;
15644 PyObject
*swig_obj
[1] ;
15646 if (!args
) SWIG_fail
;
15647 swig_obj
[0] = args
;
15648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15649 if (!SWIG_IsOK(res1
)) {
15650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15652 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15656 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15657 result
= (wxFileSystem
*) &_result_ref
;
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15662 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15669 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
= 0;
15671 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15673 wxHtmlLinkInfo
*arg3
= 0 ;
15680 PyObject
* obj0
= 0 ;
15681 PyObject
* obj1
= 0 ;
15682 PyObject
* obj2
= 0 ;
15683 char * kwnames
[] = {
15684 (char *) "self",(char *) "n",(char *) "link", NULL
15687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15689 if (!SWIG_IsOK(res1
)) {
15690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15692 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15693 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15694 if (!SWIG_IsOK(ecode2
)) {
15695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15697 arg2
= static_cast< size_t >(val2
);
15698 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15699 if (!SWIG_IsOK(res3
)) {
15700 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15705 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15708 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15709 wxPyEndAllowThreads(__tstate
);
15710 if (PyErr_Occurred()) SWIG_fail
;
15712 resultobj
= SWIG_Py_Void();
15719 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15721 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15722 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15723 return SWIG_Py_Void();
15726 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15727 return SWIG_Python_InitShadowInstance(args
);
15730 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15731 PyObject
*resultobj
= 0;
15732 wxPyTaskBarIcon
*result
= 0 ;
15734 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15736 if (!wxPyCheckForApp()) SWIG_fail
;
15737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15738 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15749 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15750 PyObject
*resultobj
= 0;
15751 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15754 PyObject
*swig_obj
[1] ;
15756 if (!args
) SWIG_fail
;
15757 swig_obj
[0] = args
;
15758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15759 if (!SWIG_IsOK(res1
)) {
15760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15762 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15767 wxPyEndAllowThreads(__tstate
);
15768 if (PyErr_Occurred()) SWIG_fail
;
15770 resultobj
= SWIG_Py_Void();
15777 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15778 PyObject
*resultobj
= 0;
15779 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15780 PyObject
*arg2
= (PyObject
*) 0 ;
15781 PyObject
*arg3
= (PyObject
*) 0 ;
15787 PyObject
* obj0
= 0 ;
15788 PyObject
* obj1
= 0 ;
15789 PyObject
* obj2
= 0 ;
15790 PyObject
* obj3
= 0 ;
15791 char * kwnames
[] = {
15792 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15797 if (!SWIG_IsOK(res1
)) {
15798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15800 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15803 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15804 if (!SWIG_IsOK(ecode4
)) {
15805 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15807 arg4
= static_cast< int >(val4
);
15809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15810 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15811 wxPyEndAllowThreads(__tstate
);
15812 if (PyErr_Occurred()) SWIG_fail
;
15814 resultobj
= SWIG_Py_Void();
15821 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15822 PyObject
*resultobj
= 0;
15823 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15826 PyObject
*swig_obj
[1] ;
15828 if (!args
) SWIG_fail
;
15829 swig_obj
[0] = args
;
15830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15831 if (!SWIG_IsOK(res1
)) {
15832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15834 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 wxPyTaskBarIcon_Destroy(arg1
);
15838 wxPyEndAllowThreads(__tstate
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15841 resultobj
= SWIG_Py_Void();
15848 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15849 PyObject
*resultobj
= 0;
15850 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15854 PyObject
*swig_obj
[1] ;
15856 if (!args
) SWIG_fail
;
15857 swig_obj
[0] = args
;
15858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15859 if (!SWIG_IsOK(res1
)) {
15860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15862 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15865 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15866 wxPyEndAllowThreads(__tstate
);
15867 if (PyErr_Occurred()) SWIG_fail
;
15870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15878 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15879 PyObject
*resultobj
= 0;
15880 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15884 PyObject
*swig_obj
[1] ;
15886 if (!args
) SWIG_fail
;
15887 swig_obj
[0] = args
;
15888 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15889 if (!SWIG_IsOK(res1
)) {
15890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15892 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15895 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15896 wxPyEndAllowThreads(__tstate
);
15897 if (PyErr_Occurred()) SWIG_fail
;
15900 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15908 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
= 0;
15910 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15912 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15913 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15919 bool temp3
= false ;
15920 PyObject
* obj0
= 0 ;
15921 PyObject
* obj1
= 0 ;
15922 PyObject
* obj2
= 0 ;
15923 char * kwnames
[] = {
15924 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15929 if (!SWIG_IsOK(res1
)) {
15930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15932 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15933 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15934 if (!SWIG_IsOK(res2
)) {
15935 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15938 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15940 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15943 arg3
= wxString_in_helper(obj2
);
15944 if (arg3
== NULL
) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15951 wxPyEndAllowThreads(__tstate
);
15952 if (PyErr_Occurred()) SWIG_fail
;
15955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15971 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15972 PyObject
*resultobj
= 0;
15973 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15977 PyObject
*swig_obj
[1] ;
15979 if (!args
) SWIG_fail
;
15980 swig_obj
[0] = args
;
15981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15982 if (!SWIG_IsOK(res1
)) {
15983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15985 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15988 result
= (bool)(arg1
)->RemoveIcon();
15989 wxPyEndAllowThreads(__tstate
);
15990 if (PyErr_Occurred()) SWIG_fail
;
15993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16001 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
= 0;
16003 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16004 wxMenu
*arg2
= (wxMenu
*) 0 ;
16010 PyObject
* obj0
= 0 ;
16011 PyObject
* obj1
= 0 ;
16012 char * kwnames
[] = {
16013 (char *) "self",(char *) "menu", NULL
16016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16018 if (!SWIG_IsOK(res1
)) {
16019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16021 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16022 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16023 if (!SWIG_IsOK(res2
)) {
16024 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16026 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16029 result
= (bool)(arg1
)->PopupMenu(arg2
);
16030 wxPyEndAllowThreads(__tstate
);
16031 if (PyErr_Occurred()) SWIG_fail
;
16034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16042 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16044 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16045 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16046 return SWIG_Py_Void();
16049 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16050 return SWIG_Python_InitShadowInstance(args
);
16053 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
= 0;
16056 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16057 wxTaskBarIconEvent
*result
= 0 ;
16062 PyObject
* obj0
= 0 ;
16063 PyObject
* obj1
= 0 ;
16064 char * kwnames
[] = {
16065 (char *) "evtType",(char *) "tbIcon", NULL
16068 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16069 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16070 if (!SWIG_IsOK(ecode1
)) {
16071 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16073 arg1
= static_cast< wxEventType
>(val1
);
16074 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16075 if (!SWIG_IsOK(res2
)) {
16076 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16078 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16082 wxPyEndAllowThreads(__tstate
);
16083 if (PyErr_Occurred()) SWIG_fail
;
16085 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16092 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16095 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16096 return SWIG_Py_Void();
16099 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16100 return SWIG_Python_InitShadowInstance(args
);
16103 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16104 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16109 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16110 PyObject
*pyobj
= 0;
16114 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16116 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16123 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16124 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16129 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16130 PyObject
*pyobj
= 0;
16134 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16136 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16143 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16144 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16149 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16150 PyObject
*pyobj
= 0;
16154 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16156 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16163 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16164 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16169 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16170 PyObject
*pyobj
= 0;
16174 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16176 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16183 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16184 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16189 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16190 PyObject
*pyobj
= 0;
16194 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16196 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16203 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16204 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16209 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16210 PyObject
*pyobj
= 0;
16214 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16216 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16223 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16224 PyObject
*resultobj
= 0;
16225 wxColourData
*result
= 0 ;
16227 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16230 result
= (wxColourData
*)new wxColourData();
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16241 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16242 PyObject
*resultobj
= 0;
16243 wxColourData
*arg1
= (wxColourData
*) 0 ;
16246 PyObject
*swig_obj
[1] ;
16248 if (!args
) SWIG_fail
;
16249 swig_obj
[0] = args
;
16250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16251 if (!SWIG_IsOK(res1
)) {
16252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16254 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16259 wxPyEndAllowThreads(__tstate
);
16260 if (PyErr_Occurred()) SWIG_fail
;
16262 resultobj
= SWIG_Py_Void();
16269 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16270 PyObject
*resultobj
= 0;
16271 wxColourData
*arg1
= (wxColourData
*) 0 ;
16275 PyObject
*swig_obj
[1] ;
16277 if (!args
) SWIG_fail
;
16278 swig_obj
[0] = args
;
16279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16280 if (!SWIG_IsOK(res1
)) {
16281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16283 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16286 result
= (bool)(arg1
)->GetChooseFull();
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16299 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16300 PyObject
*resultobj
= 0;
16301 wxColourData
*arg1
= (wxColourData
*) 0 ;
16305 PyObject
*swig_obj
[1] ;
16307 if (!args
) SWIG_fail
;
16308 swig_obj
[0] = args
;
16309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16310 if (!SWIG_IsOK(res1
)) {
16311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16313 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16316 result
= (arg1
)->GetColour();
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16327 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
= 0;
16329 wxColourData
*arg1
= (wxColourData
*) 0 ;
16336 PyObject
* obj0
= 0 ;
16337 PyObject
* obj1
= 0 ;
16338 char * kwnames
[] = {
16339 (char *) "self",(char *) "i", NULL
16342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16344 if (!SWIG_IsOK(res1
)) {
16345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16347 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16349 if (!SWIG_IsOK(ecode2
)) {
16350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16352 arg2
= static_cast< int >(val2
);
16354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16355 result
= (arg1
)->GetCustomColour(arg2
);
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16359 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16366 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
= 0;
16368 wxColourData
*arg1
= (wxColourData
*) 0 ;
16374 PyObject
* obj0
= 0 ;
16375 PyObject
* obj1
= 0 ;
16376 char * kwnames
[] = {
16377 (char *) "self",(char *) "flag", NULL
16380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16382 if (!SWIG_IsOK(res1
)) {
16383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16385 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16386 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16387 if (!SWIG_IsOK(ecode2
)) {
16388 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16390 arg2
= static_cast< int >(val2
);
16392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16393 (arg1
)->SetChooseFull(arg2
);
16394 wxPyEndAllowThreads(__tstate
);
16395 if (PyErr_Occurred()) SWIG_fail
;
16397 resultobj
= SWIG_Py_Void();
16404 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16405 PyObject
*resultobj
= 0;
16406 wxColourData
*arg1
= (wxColourData
*) 0 ;
16407 wxColour
*arg2
= 0 ;
16411 PyObject
* obj0
= 0 ;
16412 PyObject
* obj1
= 0 ;
16413 char * kwnames
[] = {
16414 (char *) "self",(char *) "colour", NULL
16417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16419 if (!SWIG_IsOK(res1
)) {
16420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16422 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16425 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16429 (arg1
)->SetColour((wxColour
const &)*arg2
);
16430 wxPyEndAllowThreads(__tstate
);
16431 if (PyErr_Occurred()) SWIG_fail
;
16433 resultobj
= SWIG_Py_Void();
16440 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16441 PyObject
*resultobj
= 0;
16442 wxColourData
*arg1
= (wxColourData
*) 0 ;
16444 wxColour
*arg3
= 0 ;
16450 PyObject
* obj0
= 0 ;
16451 PyObject
* obj1
= 0 ;
16452 PyObject
* obj2
= 0 ;
16453 char * kwnames
[] = {
16454 (char *) "self",(char *) "i",(char *) "colour", NULL
16457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16459 if (!SWIG_IsOK(res1
)) {
16460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16462 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16464 if (!SWIG_IsOK(ecode2
)) {
16465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16467 arg2
= static_cast< int >(val2
);
16470 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= SWIG_Py_Void();
16485 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16487 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16488 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16489 return SWIG_Py_Void();
16492 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16493 return SWIG_Python_InitShadowInstance(args
);
16496 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
= 0;
16498 wxWindow
*arg1
= (wxWindow
*) 0 ;
16499 wxColourData
*arg2
= (wxColourData
*) NULL
;
16500 wxColourDialog
*result
= 0 ;
16505 PyObject
* obj0
= 0 ;
16506 PyObject
* obj1
= 0 ;
16507 char * kwnames
[] = {
16508 (char *) "parent",(char *) "data", NULL
16511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16513 if (!SWIG_IsOK(res1
)) {
16514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16516 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16518 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16519 if (!SWIG_IsOK(res2
)) {
16520 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16522 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16525 if (!wxPyCheckForApp()) SWIG_fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16538 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16539 PyObject
*resultobj
= 0;
16540 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16541 wxColourData
*result
= 0 ;
16544 PyObject
*swig_obj
[1] ;
16546 if (!args
) SWIG_fail
;
16547 swig_obj
[0] = args
;
16548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16549 if (!SWIG_IsOK(res1
)) {
16550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16552 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16556 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16557 result
= (wxColourData
*) &_result_ref
;
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16569 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16571 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16572 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16573 return SWIG_Py_Void();
16576 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16577 return SWIG_Python_InitShadowInstance(args
);
16580 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16581 PyObject
*resultobj
= 0;
16582 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16583 wxColour
const &arg2_defvalue
= wxNullColour
;
16584 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16585 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16586 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16591 bool temp3
= false ;
16592 PyObject
* obj0
= 0 ;
16593 PyObject
* obj1
= 0 ;
16594 PyObject
* obj2
= 0 ;
16595 char * kwnames
[] = {
16596 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16602 if (!SWIG_IsOK(res1
)) {
16603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16605 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16610 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16615 arg3
= wxString_in_helper(obj2
);
16616 if (arg3
== NULL
) SWIG_fail
;
16621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16622 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16623 wxPyEndAllowThreads(__tstate
);
16624 if (PyErr_Occurred()) SWIG_fail
;
16626 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16641 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16642 PyObject
*resultobj
= 0;
16643 wxWindow
*arg1
= (wxWindow
*) 0 ;
16644 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16645 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16646 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16647 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16648 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16649 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16650 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16651 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16652 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16653 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16654 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16655 wxDirDialog
*result
= 0 ;
16658 bool temp2
= false ;
16659 bool temp3
= false ;
16664 bool temp7
= false ;
16665 PyObject
* obj0
= 0 ;
16666 PyObject
* obj1
= 0 ;
16667 PyObject
* obj2
= 0 ;
16668 PyObject
* obj3
= 0 ;
16669 PyObject
* obj4
= 0 ;
16670 PyObject
* obj5
= 0 ;
16671 PyObject
* obj6
= 0 ;
16672 char * kwnames
[] = {
16673 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16678 if (!SWIG_IsOK(res1
)) {
16679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16681 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16684 arg2
= wxString_in_helper(obj1
);
16685 if (arg2
== NULL
) SWIG_fail
;
16691 arg3
= wxString_in_helper(obj2
);
16692 if (arg3
== NULL
) SWIG_fail
;
16697 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16698 if (!SWIG_IsOK(ecode4
)) {
16699 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16701 arg4
= static_cast< long >(val4
);
16706 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16712 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16717 arg7
= wxString_in_helper(obj6
);
16718 if (arg7
== NULL
) SWIG_fail
;
16723 if (!wxPyCheckForApp()) SWIG_fail
;
16724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16725 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16726 wxPyEndAllowThreads(__tstate
);
16727 if (PyErr_Occurred()) SWIG_fail
;
16729 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16760 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16761 PyObject
*resultobj
= 0;
16762 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16766 PyObject
*swig_obj
[1] ;
16768 if (!args
) SWIG_fail
;
16769 swig_obj
[0] = args
;
16770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16771 if (!SWIG_IsOK(res1
)) {
16772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16774 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 result
= (arg1
)->GetPath();
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16783 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16785 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16794 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16795 PyObject
*resultobj
= 0;
16796 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16800 PyObject
*swig_obj
[1] ;
16802 if (!args
) SWIG_fail
;
16803 swig_obj
[0] = args
;
16804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16805 if (!SWIG_IsOK(res1
)) {
16806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16808 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16811 result
= (arg1
)->GetMessage();
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16828 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16829 PyObject
*resultobj
= 0;
16830 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16831 wxString
*arg2
= 0 ;
16834 bool temp2
= false ;
16835 PyObject
* obj0
= 0 ;
16836 PyObject
* obj1
= 0 ;
16837 char * kwnames
[] = {
16838 (char *) "self",(char *) "message", NULL
16841 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16842 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16843 if (!SWIG_IsOK(res1
)) {
16844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16846 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16848 arg2
= wxString_in_helper(obj1
);
16849 if (arg2
== NULL
) SWIG_fail
;
16853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16854 (arg1
)->SetMessage((wxString
const &)*arg2
);
16855 wxPyEndAllowThreads(__tstate
);
16856 if (PyErr_Occurred()) SWIG_fail
;
16858 resultobj
= SWIG_Py_Void();
16873 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
= 0;
16875 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16876 wxString
*arg2
= 0 ;
16879 bool temp2
= false ;
16880 PyObject
* obj0
= 0 ;
16881 PyObject
* obj1
= 0 ;
16882 char * kwnames
[] = {
16883 (char *) "self",(char *) "path", NULL
16886 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16887 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16888 if (!SWIG_IsOK(res1
)) {
16889 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16891 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16893 arg2
= wxString_in_helper(obj1
);
16894 if (arg2
== NULL
) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 (arg1
)->SetPath((wxString
const &)*arg2
);
16900 wxPyEndAllowThreads(__tstate
);
16901 if (PyErr_Occurred()) SWIG_fail
;
16903 resultobj
= SWIG_Py_Void();
16918 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16920 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16921 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16922 return SWIG_Py_Void();
16925 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16926 return SWIG_Python_InitShadowInstance(args
);
16929 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
= 0;
16931 wxWindow
*arg1
= (wxWindow
*) 0 ;
16932 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16933 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16934 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16935 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16936 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16937 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16938 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16939 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16940 long arg6
= (long) wxFD_DEFAULT_STYLE
;
16941 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16942 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16943 wxFileDialog
*result
= 0 ;
16946 bool temp2
= false ;
16947 bool temp3
= false ;
16948 bool temp4
= false ;
16949 bool temp5
= false ;
16953 PyObject
* obj0
= 0 ;
16954 PyObject
* obj1
= 0 ;
16955 PyObject
* obj2
= 0 ;
16956 PyObject
* obj3
= 0 ;
16957 PyObject
* obj4
= 0 ;
16958 PyObject
* obj5
= 0 ;
16959 PyObject
* obj6
= 0 ;
16960 char * kwnames
[] = {
16961 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16966 if (!SWIG_IsOK(res1
)) {
16967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16969 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16972 arg2
= wxString_in_helper(obj1
);
16973 if (arg2
== NULL
) SWIG_fail
;
16979 arg3
= wxString_in_helper(obj2
);
16980 if (arg3
== NULL
) SWIG_fail
;
16986 arg4
= wxString_in_helper(obj3
);
16987 if (arg4
== NULL
) SWIG_fail
;
16993 arg5
= wxString_in_helper(obj4
);
16994 if (arg5
== NULL
) SWIG_fail
;
16999 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17000 if (!SWIG_IsOK(ecode6
)) {
17001 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17003 arg6
= static_cast< long >(val6
);
17008 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17012 if (!wxPyCheckForApp()) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17015 wxPyEndAllowThreads(__tstate
);
17016 if (PyErr_Occurred()) SWIG_fail
;
17018 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17057 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17058 PyObject
*resultobj
= 0;
17059 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17060 wxString
*arg2
= 0 ;
17063 bool temp2
= false ;
17064 PyObject
* obj0
= 0 ;
17065 PyObject
* obj1
= 0 ;
17066 char * kwnames
[] = {
17067 (char *) "self",(char *) "message", NULL
17070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17072 if (!SWIG_IsOK(res1
)) {
17073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17075 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17077 arg2
= wxString_in_helper(obj1
);
17078 if (arg2
== NULL
) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 (arg1
)->SetMessage((wxString
const &)*arg2
);
17084 wxPyEndAllowThreads(__tstate
);
17085 if (PyErr_Occurred()) SWIG_fail
;
17087 resultobj
= SWIG_Py_Void();
17102 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17103 PyObject
*resultobj
= 0;
17104 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17105 wxString
*arg2
= 0 ;
17108 bool temp2
= false ;
17109 PyObject
* obj0
= 0 ;
17110 PyObject
* obj1
= 0 ;
17111 char * kwnames
[] = {
17112 (char *) "self",(char *) "path", NULL
17115 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17116 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17117 if (!SWIG_IsOK(res1
)) {
17118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17120 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17122 arg2
= wxString_in_helper(obj1
);
17123 if (arg2
== NULL
) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 (arg1
)->SetPath((wxString
const &)*arg2
);
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17132 resultobj
= SWIG_Py_Void();
17147 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17148 PyObject
*resultobj
= 0;
17149 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17150 wxString
*arg2
= 0 ;
17153 bool temp2
= false ;
17154 PyObject
* obj0
= 0 ;
17155 PyObject
* obj1
= 0 ;
17156 char * kwnames
[] = {
17157 (char *) "self",(char *) "dir", NULL
17160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17162 if (!SWIG_IsOK(res1
)) {
17163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17165 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17167 arg2
= wxString_in_helper(obj1
);
17168 if (arg2
== NULL
) SWIG_fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17174 wxPyEndAllowThreads(__tstate
);
17175 if (PyErr_Occurred()) SWIG_fail
;
17177 resultobj
= SWIG_Py_Void();
17192 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17193 PyObject
*resultobj
= 0;
17194 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17195 wxString
*arg2
= 0 ;
17198 bool temp2
= false ;
17199 PyObject
* obj0
= 0 ;
17200 PyObject
* obj1
= 0 ;
17201 char * kwnames
[] = {
17202 (char *) "self",(char *) "name", NULL
17205 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17206 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17207 if (!SWIG_IsOK(res1
)) {
17208 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17210 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17212 arg2
= wxString_in_helper(obj1
);
17213 if (arg2
== NULL
) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 (arg1
)->SetFilename((wxString
const &)*arg2
);
17219 wxPyEndAllowThreads(__tstate
);
17220 if (PyErr_Occurred()) SWIG_fail
;
17222 resultobj
= SWIG_Py_Void();
17237 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
= 0;
17239 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17240 wxString
*arg2
= 0 ;
17243 bool temp2
= false ;
17244 PyObject
* obj0
= 0 ;
17245 PyObject
* obj1
= 0 ;
17246 char * kwnames
[] = {
17247 (char *) "self",(char *) "wildCard", NULL
17250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17252 if (!SWIG_IsOK(res1
)) {
17253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17255 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17257 arg2
= wxString_in_helper(obj1
);
17258 if (arg2
== NULL
) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17264 wxPyEndAllowThreads(__tstate
);
17265 if (PyErr_Occurred()) SWIG_fail
;
17267 resultobj
= SWIG_Py_Void();
17282 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17283 PyObject
*resultobj
= 0;
17284 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 char * kwnames
[] = {
17293 (char *) "self",(char *) "filterIndex", NULL
17296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17298 if (!SWIG_IsOK(res1
)) {
17299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17301 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17302 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17303 if (!SWIG_IsOK(ecode2
)) {
17304 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17306 arg2
= static_cast< int >(val2
);
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 (arg1
)->SetFilterIndex(arg2
);
17310 wxPyEndAllowThreads(__tstate
);
17311 if (PyErr_Occurred()) SWIG_fail
;
17313 resultobj
= SWIG_Py_Void();
17320 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17321 PyObject
*resultobj
= 0;
17322 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17326 PyObject
*swig_obj
[1] ;
17328 if (!args
) SWIG_fail
;
17329 swig_obj
[0] = args
;
17330 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17331 if (!SWIG_IsOK(res1
)) {
17332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17334 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17337 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17338 wxPyEndAllowThreads(__tstate
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17343 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17345 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17354 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17355 PyObject
*resultobj
= 0;
17356 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17360 PyObject
*swig_obj
[1] ;
17362 if (!args
) SWIG_fail
;
17363 swig_obj
[0] = args
;
17364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17365 if (!SWIG_IsOK(res1
)) {
17366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17368 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17371 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17377 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17379 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17388 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17389 PyObject
*resultobj
= 0;
17390 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17394 PyObject
*swig_obj
[1] ;
17396 if (!args
) SWIG_fail
;
17397 swig_obj
[0] = args
;
17398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17399 if (!SWIG_IsOK(res1
)) {
17400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17402 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17405 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17406 wxPyEndAllowThreads(__tstate
);
17407 if (PyErr_Occurred()) SWIG_fail
;
17411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17422 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17423 PyObject
*resultobj
= 0;
17424 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17428 PyObject
*swig_obj
[1] ;
17430 if (!args
) SWIG_fail
;
17431 swig_obj
[0] = args
;
17432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17433 if (!SWIG_IsOK(res1
)) {
17434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17436 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17439 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17456 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17457 PyObject
*resultobj
= 0;
17458 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17462 PyObject
*swig_obj
[1] ;
17464 if (!args
) SWIG_fail
;
17465 swig_obj
[0] = args
;
17466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17467 if (!SWIG_IsOK(res1
)) {
17468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17470 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17473 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17474 wxPyEndAllowThreads(__tstate
);
17475 if (PyErr_Occurred()) SWIG_fail
;
17479 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17481 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17490 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17491 PyObject
*resultobj
= 0;
17492 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17496 PyObject
*swig_obj
[1] ;
17498 if (!args
) SWIG_fail
;
17499 swig_obj
[0] = args
;
17500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17501 if (!SWIG_IsOK(res1
)) {
17502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17504 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17508 wxPyEndAllowThreads(__tstate
);
17509 if (PyErr_Occurred()) SWIG_fail
;
17511 resultobj
= SWIG_From_int(static_cast< int >(result
));
17518 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17519 PyObject
*resultobj
= 0;
17520 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17521 PyObject
*result
= 0 ;
17524 PyObject
*swig_obj
[1] ;
17526 if (!args
) SWIG_fail
;
17527 swig_obj
[0] = args
;
17528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17529 if (!SWIG_IsOK(res1
)) {
17530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17532 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17535 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17536 wxPyEndAllowThreads(__tstate
);
17537 if (PyErr_Occurred()) SWIG_fail
;
17539 resultobj
= result
;
17546 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17547 PyObject
*resultobj
= 0;
17548 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17549 PyObject
*result
= 0 ;
17552 PyObject
*swig_obj
[1] ;
17554 if (!args
) SWIG_fail
;
17555 swig_obj
[0] = args
;
17556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17557 if (!SWIG_IsOK(res1
)) {
17558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17560 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17563 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 resultobj
= result
;
17574 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17577 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17578 return SWIG_Py_Void();
17581 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17582 return SWIG_Python_InitShadowInstance(args
);
17585 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17586 PyObject
*resultobj
= 0;
17587 wxWindow
*arg1
= (wxWindow
*) 0 ;
17588 wxString
*arg2
= 0 ;
17589 wxString
*arg3
= 0 ;
17590 int arg4
= (int) 0 ;
17591 wxString
*arg5
= (wxString
*) NULL
;
17592 long arg6
= (long) wxCHOICEDLG_STYLE
;
17593 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17594 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17595 wxMultiChoiceDialog
*result
= 0 ;
17598 bool temp2
= false ;
17599 bool temp3
= false ;
17603 PyObject
* obj0
= 0 ;
17604 PyObject
* obj1
= 0 ;
17605 PyObject
* obj2
= 0 ;
17606 PyObject
* obj3
= 0 ;
17607 PyObject
* obj4
= 0 ;
17608 PyObject
* obj5
= 0 ;
17609 char * kwnames
[] = {
17610 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17615 if (!SWIG_IsOK(res1
)) {
17616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17618 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17620 arg2
= wxString_in_helper(obj1
);
17621 if (arg2
== NULL
) SWIG_fail
;
17625 arg3
= wxString_in_helper(obj2
);
17626 if (arg3
== NULL
) SWIG_fail
;
17631 arg4
= PyList_Size(obj3
);
17632 arg5
= wxString_LIST_helper(obj3
);
17633 if (arg5
== NULL
) SWIG_fail
;
17637 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17638 if (!SWIG_IsOK(ecode6
)) {
17639 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17641 arg6
= static_cast< long >(val6
);
17646 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17650 if (!wxPyCheckForApp()) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17653 wxPyEndAllowThreads(__tstate
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17656 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17666 if (arg5
) delete [] arg5
;
17679 if (arg5
) delete [] arg5
;
17685 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17686 PyObject
*resultobj
= 0;
17687 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17688 wxArrayInt
*arg2
= 0 ;
17691 bool temp2
= false ;
17692 PyObject
* obj0
= 0 ;
17693 PyObject
* obj1
= 0 ;
17694 char * kwnames
[] = {
17695 (char *) "self",(char *) "selections", NULL
17698 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17699 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17700 if (!SWIG_IsOK(res1
)) {
17701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17703 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17705 if (! PySequence_Check(obj1
)) {
17706 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17709 arg2
= new wxArrayInt
;
17711 int i
, len
=PySequence_Length(obj1
);
17712 for (i
=0; i
<len
; i
++) {
17713 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17714 PyObject
* number
= PyNumber_Int(item
);
17715 arg2
->Add(PyInt_AS_LONG(number
));
17721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17722 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17723 wxPyEndAllowThreads(__tstate
);
17724 if (PyErr_Occurred()) SWIG_fail
;
17726 resultobj
= SWIG_Py_Void();
17728 if (temp2
) delete arg2
;
17733 if (temp2
) delete arg2
;
17739 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17740 PyObject
*resultobj
= 0;
17741 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17742 PyObject
*result
= 0 ;
17745 PyObject
*swig_obj
[1] ;
17747 if (!args
) SWIG_fail
;
17748 swig_obj
[0] = args
;
17749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17750 if (!SWIG_IsOK(res1
)) {
17751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17753 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17756 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17757 wxPyEndAllowThreads(__tstate
);
17758 if (PyErr_Occurred()) SWIG_fail
;
17760 resultobj
= result
;
17767 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17770 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17771 return SWIG_Py_Void();
17774 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17775 return SWIG_Python_InitShadowInstance(args
);
17778 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17779 PyObject
*resultobj
= 0;
17780 wxWindow
*arg1
= (wxWindow
*) 0 ;
17781 wxString
*arg2
= 0 ;
17782 wxString
*arg3
= 0 ;
17784 wxString
*arg5
= (wxString
*) 0 ;
17785 long arg6
= (long) wxCHOICEDLG_STYLE
;
17786 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17787 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17788 wxSingleChoiceDialog
*result
= 0 ;
17791 bool temp2
= false ;
17792 bool temp3
= false ;
17796 PyObject
* obj0
= 0 ;
17797 PyObject
* obj1
= 0 ;
17798 PyObject
* obj2
= 0 ;
17799 PyObject
* obj3
= 0 ;
17800 PyObject
* obj4
= 0 ;
17801 PyObject
* obj5
= 0 ;
17802 char * kwnames
[] = {
17803 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17808 if (!SWIG_IsOK(res1
)) {
17809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17811 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17813 arg2
= wxString_in_helper(obj1
);
17814 if (arg2
== NULL
) SWIG_fail
;
17818 arg3
= wxString_in_helper(obj2
);
17819 if (arg3
== NULL
) SWIG_fail
;
17823 arg4
= PyList_Size(obj3
);
17824 arg5
= wxString_LIST_helper(obj3
);
17825 if (arg5
== NULL
) SWIG_fail
;
17828 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17829 if (!SWIG_IsOK(ecode6
)) {
17830 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17832 arg6
= static_cast< long >(val6
);
17837 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17841 if (!wxPyCheckForApp()) SWIG_fail
;
17842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17843 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17844 wxPyEndAllowThreads(__tstate
);
17845 if (PyErr_Occurred()) SWIG_fail
;
17847 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17857 if (arg5
) delete [] arg5
;
17870 if (arg5
) delete [] arg5
;
17876 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17877 PyObject
*resultobj
= 0;
17878 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17882 PyObject
*swig_obj
[1] ;
17884 if (!args
) SWIG_fail
;
17885 swig_obj
[0] = args
;
17886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17887 if (!SWIG_IsOK(res1
)) {
17888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17890 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17893 result
= (int)(arg1
)->GetSelection();
17894 wxPyEndAllowThreads(__tstate
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17897 resultobj
= SWIG_From_int(static_cast< int >(result
));
17904 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17905 PyObject
*resultobj
= 0;
17906 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17910 PyObject
*swig_obj
[1] ;
17912 if (!args
) SWIG_fail
;
17913 swig_obj
[0] = args
;
17914 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17915 if (!SWIG_IsOK(res1
)) {
17916 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17918 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17921 result
= (arg1
)->GetStringSelection();
17922 wxPyEndAllowThreads(__tstate
);
17923 if (PyErr_Occurred()) SWIG_fail
;
17927 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17929 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17938 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17939 PyObject
*resultobj
= 0;
17940 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17946 PyObject
* obj0
= 0 ;
17947 PyObject
* obj1
= 0 ;
17948 char * kwnames
[] = {
17949 (char *) "self",(char *) "sel", NULL
17952 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17953 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17954 if (!SWIG_IsOK(res1
)) {
17955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17957 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17958 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17959 if (!SWIG_IsOK(ecode2
)) {
17960 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17962 arg2
= static_cast< int >(val2
);
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 (arg1
)->SetSelection(arg2
);
17966 wxPyEndAllowThreads(__tstate
);
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= SWIG_Py_Void();
17976 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17978 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17979 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17980 return SWIG_Py_Void();
17983 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17984 return SWIG_Python_InitShadowInstance(args
);
17987 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17988 PyObject
*resultobj
= 0;
17989 wxWindow
*arg1
= (wxWindow
*) 0 ;
17990 wxString
*arg2
= 0 ;
17991 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17992 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17993 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17994 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17995 long arg5
= (long) wxTextEntryDialogStyle
;
17996 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17997 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17998 wxTextEntryDialog
*result
= 0 ;
18001 bool temp2
= false ;
18002 bool temp3
= false ;
18003 bool temp4
= false ;
18007 PyObject
* obj0
= 0 ;
18008 PyObject
* obj1
= 0 ;
18009 PyObject
* obj2
= 0 ;
18010 PyObject
* obj3
= 0 ;
18011 PyObject
* obj4
= 0 ;
18012 PyObject
* obj5
= 0 ;
18013 char * kwnames
[] = {
18014 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18019 if (!SWIG_IsOK(res1
)) {
18020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18022 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18024 arg2
= wxString_in_helper(obj1
);
18025 if (arg2
== NULL
) SWIG_fail
;
18030 arg3
= wxString_in_helper(obj2
);
18031 if (arg3
== NULL
) SWIG_fail
;
18037 arg4
= wxString_in_helper(obj3
);
18038 if (arg4
== NULL
) SWIG_fail
;
18043 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18044 if (!SWIG_IsOK(ecode5
)) {
18045 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18047 arg5
= static_cast< long >(val5
);
18052 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18056 if (!wxPyCheckForApp()) SWIG_fail
;
18057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18058 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18059 wxPyEndAllowThreads(__tstate
);
18060 if (PyErr_Occurred()) SWIG_fail
;
18062 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18093 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18094 PyObject
*resultobj
= 0;
18095 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18099 PyObject
*swig_obj
[1] ;
18101 if (!args
) SWIG_fail
;
18102 swig_obj
[0] = args
;
18103 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18104 if (!SWIG_IsOK(res1
)) {
18105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18107 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 result
= (arg1
)->GetValue();
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18116 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18118 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18127 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18128 PyObject
*resultobj
= 0;
18129 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18130 wxString
*arg2
= 0 ;
18133 bool temp2
= false ;
18134 PyObject
* obj0
= 0 ;
18135 PyObject
* obj1
= 0 ;
18136 char * kwnames
[] = {
18137 (char *) "self",(char *) "value", NULL
18140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18142 if (!SWIG_IsOK(res1
)) {
18143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18145 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18147 arg2
= wxString_in_helper(obj1
);
18148 if (arg2
== NULL
) SWIG_fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 (arg1
)->SetValue((wxString
const &)*arg2
);
18154 wxPyEndAllowThreads(__tstate
);
18155 if (PyErr_Occurred()) SWIG_fail
;
18157 resultobj
= SWIG_Py_Void();
18172 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18174 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18175 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18176 return SWIG_Py_Void();
18179 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18180 return SWIG_Python_InitShadowInstance(args
);
18183 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18184 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18189 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18190 PyObject
*pyobj
= 0;
18194 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18196 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18203 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18204 PyObject
*resultobj
= 0;
18205 wxWindow
*arg1
= (wxWindow
*) 0 ;
18206 wxString
*arg2
= 0 ;
18207 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18208 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18209 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18210 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18211 long arg5
= (long) wxTextEntryDialogStyle
;
18212 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18213 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18214 wxPasswordEntryDialog
*result
= 0 ;
18217 bool temp2
= false ;
18218 bool temp3
= false ;
18219 bool temp4
= false ;
18223 PyObject
* obj0
= 0 ;
18224 PyObject
* obj1
= 0 ;
18225 PyObject
* obj2
= 0 ;
18226 PyObject
* obj3
= 0 ;
18227 PyObject
* obj4
= 0 ;
18228 PyObject
* obj5
= 0 ;
18229 char * kwnames
[] = {
18230 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18235 if (!SWIG_IsOK(res1
)) {
18236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18238 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18240 arg2
= wxString_in_helper(obj1
);
18241 if (arg2
== NULL
) SWIG_fail
;
18246 arg3
= wxString_in_helper(obj2
);
18247 if (arg3
== NULL
) SWIG_fail
;
18253 arg4
= wxString_in_helper(obj3
);
18254 if (arg4
== NULL
) SWIG_fail
;
18259 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18260 if (!SWIG_IsOK(ecode5
)) {
18261 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18263 arg5
= static_cast< long >(val5
);
18268 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18273 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18274 wxPyEndAllowThreads(__tstate
);
18275 if (PyErr_Occurred()) SWIG_fail
;
18277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18308 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18311 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18312 return SWIG_Py_Void();
18315 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18316 return SWIG_Python_InitShadowInstance(args
);
18319 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
= 0;
18321 wxWindow
*arg1
= (wxWindow
*) 0 ;
18322 wxString
*arg2
= 0 ;
18323 wxString
*arg3
= 0 ;
18324 wxString
*arg4
= 0 ;
18328 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18329 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18330 wxNumberEntryDialog
*result
= 0 ;
18333 bool temp2
= false ;
18334 bool temp3
= false ;
18335 bool temp4
= false ;
18343 PyObject
* obj0
= 0 ;
18344 PyObject
* obj1
= 0 ;
18345 PyObject
* obj2
= 0 ;
18346 PyObject
* obj3
= 0 ;
18347 PyObject
* obj4
= 0 ;
18348 PyObject
* obj5
= 0 ;
18349 PyObject
* obj6
= 0 ;
18350 PyObject
* obj7
= 0 ;
18351 char * kwnames
[] = {
18352 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18357 if (!SWIG_IsOK(res1
)) {
18358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18360 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18362 arg2
= wxString_in_helper(obj1
);
18363 if (arg2
== NULL
) SWIG_fail
;
18367 arg3
= wxString_in_helper(obj2
);
18368 if (arg3
== NULL
) SWIG_fail
;
18372 arg4
= wxString_in_helper(obj3
);
18373 if (arg4
== NULL
) SWIG_fail
;
18376 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18377 if (!SWIG_IsOK(ecode5
)) {
18378 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18380 arg5
= static_cast< long >(val5
);
18381 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18382 if (!SWIG_IsOK(ecode6
)) {
18383 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18385 arg6
= static_cast< long >(val6
);
18386 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18387 if (!SWIG_IsOK(ecode7
)) {
18388 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18390 arg7
= static_cast< long >(val7
);
18394 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18398 if (!wxPyCheckForApp()) SWIG_fail
;
18399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18400 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18435 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18436 PyObject
*resultobj
= 0;
18437 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18441 PyObject
*swig_obj
[1] ;
18443 if (!args
) SWIG_fail
;
18444 swig_obj
[0] = args
;
18445 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18446 if (!SWIG_IsOK(res1
)) {
18447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18449 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18452 result
= (long)(arg1
)->GetValue();
18453 wxPyEndAllowThreads(__tstate
);
18454 if (PyErr_Occurred()) SWIG_fail
;
18456 resultobj
= SWIG_From_long(static_cast< long >(result
));
18463 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18465 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18466 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18467 return SWIG_Py_Void();
18470 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18471 return SWIG_Python_InitShadowInstance(args
);
18474 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18475 PyObject
*resultobj
= 0;
18476 wxFontData
*result
= 0 ;
18478 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 result
= (wxFontData
*)new wxFontData();
18482 wxPyEndAllowThreads(__tstate
);
18483 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18492 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18493 PyObject
*resultobj
= 0;
18494 wxFontData
*arg1
= (wxFontData
*) 0 ;
18497 PyObject
*swig_obj
[1] ;
18499 if (!args
) SWIG_fail
;
18500 swig_obj
[0] = args
;
18501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18502 if (!SWIG_IsOK(res1
)) {
18503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18505 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 wxPyEndAllowThreads(__tstate
);
18511 if (PyErr_Occurred()) SWIG_fail
;
18513 resultobj
= SWIG_Py_Void();
18520 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18521 PyObject
*resultobj
= 0;
18522 wxFontData
*arg1
= (wxFontData
*) 0 ;
18528 PyObject
* obj0
= 0 ;
18529 PyObject
* obj1
= 0 ;
18530 char * kwnames
[] = {
18531 (char *) "self",(char *) "enable", NULL
18534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18536 if (!SWIG_IsOK(res1
)) {
18537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18539 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18540 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18541 if (!SWIG_IsOK(ecode2
)) {
18542 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18544 arg2
= static_cast< bool >(val2
);
18546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18547 (arg1
)->EnableEffects(arg2
);
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 resultobj
= SWIG_Py_Void();
18558 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18559 PyObject
*resultobj
= 0;
18560 wxFontData
*arg1
= (wxFontData
*) 0 ;
18564 PyObject
*swig_obj
[1] ;
18566 if (!args
) SWIG_fail
;
18567 swig_obj
[0] = args
;
18568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18569 if (!SWIG_IsOK(res1
)) {
18570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18572 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18575 result
= (bool)(arg1
)->GetAllowSymbols();
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18588 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18589 PyObject
*resultobj
= 0;
18590 wxFontData
*arg1
= (wxFontData
*) 0 ;
18594 PyObject
*swig_obj
[1] ;
18596 if (!args
) SWIG_fail
;
18597 swig_obj
[0] = args
;
18598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18599 if (!SWIG_IsOK(res1
)) {
18600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18602 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (arg1
)->GetColour();
18606 wxPyEndAllowThreads(__tstate
);
18607 if (PyErr_Occurred()) SWIG_fail
;
18609 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18616 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18617 PyObject
*resultobj
= 0;
18618 wxFontData
*arg1
= (wxFontData
*) 0 ;
18622 PyObject
*swig_obj
[1] ;
18624 if (!args
) SWIG_fail
;
18625 swig_obj
[0] = args
;
18626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18627 if (!SWIG_IsOK(res1
)) {
18628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18630 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 result
= (arg1
)->GetChosenFont();
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18644 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18645 PyObject
*resultobj
= 0;
18646 wxFontData
*arg1
= (wxFontData
*) 0 ;
18650 PyObject
*swig_obj
[1] ;
18652 if (!args
) SWIG_fail
;
18653 swig_obj
[0] = args
;
18654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18655 if (!SWIG_IsOK(res1
)) {
18656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18658 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18661 result
= (bool)(arg1
)->GetEnableEffects();
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18674 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18675 PyObject
*resultobj
= 0;
18676 wxFontData
*arg1
= (wxFontData
*) 0 ;
18680 PyObject
*swig_obj
[1] ;
18682 if (!args
) SWIG_fail
;
18683 swig_obj
[0] = args
;
18684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18685 if (!SWIG_IsOK(res1
)) {
18686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18688 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 result
= (arg1
)->GetInitialFont();
18692 wxPyEndAllowThreads(__tstate
);
18693 if (PyErr_Occurred()) SWIG_fail
;
18695 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18702 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18703 PyObject
*resultobj
= 0;
18704 wxFontData
*arg1
= (wxFontData
*) 0 ;
18708 PyObject
*swig_obj
[1] ;
18710 if (!args
) SWIG_fail
;
18711 swig_obj
[0] = args
;
18712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18713 if (!SWIG_IsOK(res1
)) {
18714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18716 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18719 result
= (bool)(arg1
)->GetShowHelp();
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18732 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18733 PyObject
*resultobj
= 0;
18734 wxFontData
*arg1
= (wxFontData
*) 0 ;
18740 PyObject
* obj0
= 0 ;
18741 PyObject
* obj1
= 0 ;
18742 char * kwnames
[] = {
18743 (char *) "self",(char *) "allowSymbols", NULL
18746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18748 if (!SWIG_IsOK(res1
)) {
18749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18751 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18752 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18753 if (!SWIG_IsOK(ecode2
)) {
18754 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18756 arg2
= static_cast< bool >(val2
);
18758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18759 (arg1
)->SetAllowSymbols(arg2
);
18760 wxPyEndAllowThreads(__tstate
);
18761 if (PyErr_Occurred()) SWIG_fail
;
18763 resultobj
= SWIG_Py_Void();
18770 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18771 PyObject
*resultobj
= 0;
18772 wxFontData
*arg1
= (wxFontData
*) 0 ;
18778 PyObject
* obj0
= 0 ;
18779 PyObject
* obj1
= 0 ;
18780 char * kwnames
[] = {
18781 (char *) "self",(char *) "font", NULL
18784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18786 if (!SWIG_IsOK(res1
)) {
18787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18789 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18790 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18791 if (!SWIG_IsOK(res2
)) {
18792 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18795 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18797 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18800 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18801 wxPyEndAllowThreads(__tstate
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 resultobj
= SWIG_Py_Void();
18811 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18812 PyObject
*resultobj
= 0;
18813 wxFontData
*arg1
= (wxFontData
*) 0 ;
18814 wxColour
*arg2
= 0 ;
18818 PyObject
* obj0
= 0 ;
18819 PyObject
* obj1
= 0 ;
18820 char * kwnames
[] = {
18821 (char *) "self",(char *) "colour", NULL
18824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18826 if (!SWIG_IsOK(res1
)) {
18827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18829 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18832 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18836 (arg1
)->SetColour((wxColour
const &)*arg2
);
18837 wxPyEndAllowThreads(__tstate
);
18838 if (PyErr_Occurred()) SWIG_fail
;
18840 resultobj
= SWIG_Py_Void();
18847 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18848 PyObject
*resultobj
= 0;
18849 wxFontData
*arg1
= (wxFontData
*) 0 ;
18855 PyObject
* obj0
= 0 ;
18856 PyObject
* obj1
= 0 ;
18857 char * kwnames
[] = {
18858 (char *) "self",(char *) "font", NULL
18861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18863 if (!SWIG_IsOK(res1
)) {
18864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18866 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18867 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18868 if (!SWIG_IsOK(res2
)) {
18869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18872 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18874 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18877 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18878 wxPyEndAllowThreads(__tstate
);
18879 if (PyErr_Occurred()) SWIG_fail
;
18881 resultobj
= SWIG_Py_Void();
18888 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18889 PyObject
*resultobj
= 0;
18890 wxFontData
*arg1
= (wxFontData
*) 0 ;
18899 PyObject
* obj0
= 0 ;
18900 PyObject
* obj1
= 0 ;
18901 PyObject
* obj2
= 0 ;
18902 char * kwnames
[] = {
18903 (char *) "self",(char *) "min",(char *) "max", NULL
18906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18908 if (!SWIG_IsOK(res1
)) {
18909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18911 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18912 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18913 if (!SWIG_IsOK(ecode2
)) {
18914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18916 arg2
= static_cast< int >(val2
);
18917 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18918 if (!SWIG_IsOK(ecode3
)) {
18919 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18921 arg3
= static_cast< int >(val3
);
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 (arg1
)->SetRange(arg2
,arg3
);
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 resultobj
= SWIG_Py_Void();
18935 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18936 PyObject
*resultobj
= 0;
18937 wxFontData
*arg1
= (wxFontData
*) 0 ;
18943 PyObject
* obj0
= 0 ;
18944 PyObject
* obj1
= 0 ;
18945 char * kwnames
[] = {
18946 (char *) "self",(char *) "showHelp", NULL
18949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18951 if (!SWIG_IsOK(res1
)) {
18952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18954 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18955 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18956 if (!SWIG_IsOK(ecode2
)) {
18957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18959 arg2
= static_cast< bool >(val2
);
18961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18962 (arg1
)->SetShowHelp(arg2
);
18963 wxPyEndAllowThreads(__tstate
);
18964 if (PyErr_Occurred()) SWIG_fail
;
18966 resultobj
= SWIG_Py_Void();
18973 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18975 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18976 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18977 return SWIG_Py_Void();
18980 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18981 return SWIG_Python_InitShadowInstance(args
);
18984 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
= 0;
18986 wxWindow
*arg1
= (wxWindow
*) 0 ;
18987 wxFontData
*arg2
= 0 ;
18988 wxFontDialog
*result
= 0 ;
18993 PyObject
* obj0
= 0 ;
18994 PyObject
* obj1
= 0 ;
18995 char * kwnames
[] = {
18996 (char *) "parent",(char *) "data", NULL
18999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19001 if (!SWIG_IsOK(res1
)) {
19002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19004 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19005 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19006 if (!SWIG_IsOK(res2
)) {
19007 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19010 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19012 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19014 if (!wxPyCheckForApp()) SWIG_fail
;
19015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19016 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19027 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19028 PyObject
*resultobj
= 0;
19029 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19030 wxFontData
*result
= 0 ;
19033 PyObject
*swig_obj
[1] ;
19035 if (!args
) SWIG_fail
;
19036 swig_obj
[0] = args
;
19037 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19038 if (!SWIG_IsOK(res1
)) {
19039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19041 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19045 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19046 result
= (wxFontData
*) &_result_ref
;
19048 wxPyEndAllowThreads(__tstate
);
19049 if (PyErr_Occurred()) SWIG_fail
;
19051 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19058 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19060 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19061 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19062 return SWIG_Py_Void();
19065 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19066 return SWIG_Python_InitShadowInstance(args
);
19069 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19070 PyObject
*resultobj
= 0;
19071 wxWindow
*arg1
= (wxWindow
*) NULL
;
19072 wxFont
const &arg2_defvalue
= wxNullFont
;
19073 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19074 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19075 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19081 bool temp3
= false ;
19082 PyObject
* obj0
= 0 ;
19083 PyObject
* obj1
= 0 ;
19084 PyObject
* obj2
= 0 ;
19085 char * kwnames
[] = {
19086 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19091 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19092 if (!SWIG_IsOK(res1
)) {
19093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19095 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19098 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19099 if (!SWIG_IsOK(res2
)) {
19100 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19103 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19105 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19109 arg3
= wxString_in_helper(obj2
);
19110 if (arg3
== NULL
) SWIG_fail
;
19115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19116 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19120 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19135 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
= 0;
19137 wxWindow
*arg1
= (wxWindow
*) 0 ;
19138 wxString
*arg2
= 0 ;
19139 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19140 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19141 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19142 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19143 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19144 wxMessageDialog
*result
= 0 ;
19147 bool temp2
= false ;
19148 bool temp3
= false ;
19152 PyObject
* obj0
= 0 ;
19153 PyObject
* obj1
= 0 ;
19154 PyObject
* obj2
= 0 ;
19155 PyObject
* obj3
= 0 ;
19156 PyObject
* obj4
= 0 ;
19157 char * kwnames
[] = {
19158 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19163 if (!SWIG_IsOK(res1
)) {
19164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19166 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19168 arg2
= wxString_in_helper(obj1
);
19169 if (arg2
== NULL
) SWIG_fail
;
19174 arg3
= wxString_in_helper(obj2
);
19175 if (arg3
== NULL
) SWIG_fail
;
19180 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19181 if (!SWIG_IsOK(ecode4
)) {
19182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19184 arg4
= static_cast< long >(val4
);
19189 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19193 if (!wxPyCheckForApp()) SWIG_fail
;
19194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19195 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19222 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19225 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19226 return SWIG_Py_Void();
19229 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19230 return SWIG_Python_InitShadowInstance(args
);
19233 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
= 0;
19235 wxString
*arg1
= 0 ;
19236 wxString
*arg2
= 0 ;
19237 int arg3
= (int) 100 ;
19238 wxWindow
*arg4
= (wxWindow
*) NULL
;
19239 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19240 wxProgressDialog
*result
= 0 ;
19241 bool temp1
= false ;
19242 bool temp2
= false ;
19249 PyObject
* obj0
= 0 ;
19250 PyObject
* obj1
= 0 ;
19251 PyObject
* obj2
= 0 ;
19252 PyObject
* obj3
= 0 ;
19253 PyObject
* obj4
= 0 ;
19254 char * kwnames
[] = {
19255 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19258 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19260 arg1
= wxString_in_helper(obj0
);
19261 if (arg1
== NULL
) SWIG_fail
;
19265 arg2
= wxString_in_helper(obj1
);
19266 if (arg2
== NULL
) SWIG_fail
;
19270 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19271 if (!SWIG_IsOK(ecode3
)) {
19272 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19274 arg3
= static_cast< int >(val3
);
19277 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19278 if (!SWIG_IsOK(res4
)) {
19279 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19281 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19284 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19285 if (!SWIG_IsOK(ecode5
)) {
19286 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19288 arg5
= static_cast< int >(val5
);
19291 if (!wxPyCheckForApp()) SWIG_fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19320 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19321 PyObject
*resultobj
= 0;
19322 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19324 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19325 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19326 bool *arg4
= (bool *) 0 ;
19332 bool temp3
= false ;
19334 int res4
= SWIG_TMPOBJ
;
19335 PyObject
* obj0
= 0 ;
19336 PyObject
* obj1
= 0 ;
19337 PyObject
* obj2
= 0 ;
19338 char * kwnames
[] = {
19339 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19345 if (!SWIG_IsOK(res1
)) {
19346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19348 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19349 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19350 if (!SWIG_IsOK(ecode2
)) {
19351 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19353 arg2
= static_cast< int >(val2
);
19356 arg3
= wxString_in_helper(obj2
);
19357 if (arg3
== NULL
) SWIG_fail
;
19362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19363 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19364 wxPyEndAllowThreads(__tstate
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19370 if (SWIG_IsTmpObj(res4
)) {
19371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19373 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19390 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19391 PyObject
*resultobj
= 0;
19392 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19395 PyObject
*swig_obj
[1] ;
19397 if (!args
) SWIG_fail
;
19398 swig_obj
[0] = args
;
19399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19400 if (!SWIG_IsOK(res1
)) {
19401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19403 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19407 wxPyEndAllowThreads(__tstate
);
19408 if (PyErr_Occurred()) SWIG_fail
;
19410 resultobj
= SWIG_Py_Void();
19417 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19419 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19420 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19421 return SWIG_Py_Void();
19424 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19425 return SWIG_Python_InitShadowInstance(args
);
19428 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19429 PyObject
*resultobj
= 0;
19430 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19431 int arg2
= (int) 0 ;
19432 wxFindDialogEvent
*result
= 0 ;
19437 PyObject
* obj0
= 0 ;
19438 PyObject
* obj1
= 0 ;
19439 char * kwnames
[] = {
19440 (char *) "commandType",(char *) "id", NULL
19443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19445 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19446 if (!SWIG_IsOK(ecode1
)) {
19447 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19449 arg1
= static_cast< wxEventType
>(val1
);
19452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19453 if (!SWIG_IsOK(ecode2
)) {
19454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19456 arg2
= static_cast< int >(val2
);
19459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19460 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19471 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19472 PyObject
*resultobj
= 0;
19473 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19477 PyObject
*swig_obj
[1] ;
19479 if (!args
) SWIG_fail
;
19480 swig_obj
[0] = args
;
19481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19482 if (!SWIG_IsOK(res1
)) {
19483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19485 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19488 result
= (int)(arg1
)->GetFlags();
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 resultobj
= SWIG_From_int(static_cast< int >(result
));
19499 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19500 PyObject
*resultobj
= 0;
19501 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19502 wxString
*result
= 0 ;
19505 PyObject
*swig_obj
[1] ;
19507 if (!args
) SWIG_fail
;
19508 swig_obj
[0] = args
;
19509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19510 if (!SWIG_IsOK(res1
)) {
19511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19513 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19517 wxString
const &_result_ref
= (arg1
)->GetFindString();
19518 result
= (wxString
*) &_result_ref
;
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19527 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19536 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19537 PyObject
*resultobj
= 0;
19538 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19539 wxString
*result
= 0 ;
19542 PyObject
*swig_obj
[1] ;
19544 if (!args
) SWIG_fail
;
19545 swig_obj
[0] = args
;
19546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19547 if (!SWIG_IsOK(res1
)) {
19548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19550 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19554 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19555 result
= (wxString
*) &_result_ref
;
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19562 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19564 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19573 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19574 PyObject
*resultobj
= 0;
19575 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19576 wxFindReplaceDialog
*result
= 0 ;
19579 PyObject
*swig_obj
[1] ;
19581 if (!args
) SWIG_fail
;
19582 swig_obj
[0] = args
;
19583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19584 if (!SWIG_IsOK(res1
)) {
19585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19587 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19590 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19591 wxPyEndAllowThreads(__tstate
);
19592 if (PyErr_Occurred()) SWIG_fail
;
19594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19601 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19602 PyObject
*resultobj
= 0;
19603 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19609 PyObject
* obj0
= 0 ;
19610 PyObject
* obj1
= 0 ;
19611 char * kwnames
[] = {
19612 (char *) "self",(char *) "flags", NULL
19615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19617 if (!SWIG_IsOK(res1
)) {
19618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19620 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19621 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19622 if (!SWIG_IsOK(ecode2
)) {
19623 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19625 arg2
= static_cast< int >(val2
);
19627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19628 (arg1
)->SetFlags(arg2
);
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19632 resultobj
= SWIG_Py_Void();
19639 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19640 PyObject
*resultobj
= 0;
19641 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19642 wxString
*arg2
= 0 ;
19645 bool temp2
= false ;
19646 PyObject
* obj0
= 0 ;
19647 PyObject
* obj1
= 0 ;
19648 char * kwnames
[] = {
19649 (char *) "self",(char *) "str", NULL
19652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19654 if (!SWIG_IsOK(res1
)) {
19655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19657 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19659 arg2
= wxString_in_helper(obj1
);
19660 if (arg2
== NULL
) SWIG_fail
;
19664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19665 (arg1
)->SetFindString((wxString
const &)*arg2
);
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19669 resultobj
= SWIG_Py_Void();
19684 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19685 PyObject
*resultobj
= 0;
19686 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19687 wxString
*arg2
= 0 ;
19690 bool temp2
= false ;
19691 PyObject
* obj0
= 0 ;
19692 PyObject
* obj1
= 0 ;
19693 char * kwnames
[] = {
19694 (char *) "self",(char *) "str", NULL
19697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19699 if (!SWIG_IsOK(res1
)) {
19700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19702 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19704 arg2
= wxString_in_helper(obj1
);
19705 if (arg2
== NULL
) SWIG_fail
;
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19710 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19711 wxPyEndAllowThreads(__tstate
);
19712 if (PyErr_Occurred()) SWIG_fail
;
19714 resultobj
= SWIG_Py_Void();
19729 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19731 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19732 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19733 return SWIG_Py_Void();
19736 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19737 return SWIG_Python_InitShadowInstance(args
);
19740 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
= 0;
19742 int arg1
= (int) 0 ;
19743 wxFindReplaceData
*result
= 0 ;
19746 PyObject
* obj0
= 0 ;
19747 char * kwnames
[] = {
19748 (char *) "flags", NULL
19751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19753 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19754 if (!SWIG_IsOK(ecode1
)) {
19755 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19757 arg1
= static_cast< int >(val1
);
19760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19761 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19772 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19773 PyObject
*resultobj
= 0;
19774 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19777 PyObject
*swig_obj
[1] ;
19779 if (!args
) SWIG_fail
;
19780 swig_obj
[0] = args
;
19781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19782 if (!SWIG_IsOK(res1
)) {
19783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19785 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 wxPyEndAllowThreads(__tstate
);
19791 if (PyErr_Occurred()) SWIG_fail
;
19793 resultobj
= SWIG_Py_Void();
19800 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19801 PyObject
*resultobj
= 0;
19802 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19803 wxString
*result
= 0 ;
19806 PyObject
*swig_obj
[1] ;
19808 if (!args
) SWIG_fail
;
19809 swig_obj
[0] = args
;
19810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19811 if (!SWIG_IsOK(res1
)) {
19812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19814 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 wxString
const &_result_ref
= (arg1
)->GetFindString();
19819 result
= (wxString
*) &_result_ref
;
19821 wxPyEndAllowThreads(__tstate
);
19822 if (PyErr_Occurred()) SWIG_fail
;
19826 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19828 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19837 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19838 PyObject
*resultobj
= 0;
19839 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19840 wxString
*result
= 0 ;
19843 PyObject
*swig_obj
[1] ;
19845 if (!args
) SWIG_fail
;
19846 swig_obj
[0] = args
;
19847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19848 if (!SWIG_IsOK(res1
)) {
19849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19851 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19856 result
= (wxString
*) &_result_ref
;
19858 wxPyEndAllowThreads(__tstate
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19863 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19865 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19874 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19875 PyObject
*resultobj
= 0;
19876 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19880 PyObject
*swig_obj
[1] ;
19882 if (!args
) SWIG_fail
;
19883 swig_obj
[0] = args
;
19884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19885 if (!SWIG_IsOK(res1
)) {
19886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19888 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19891 result
= (int)(arg1
)->GetFlags();
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= SWIG_From_int(static_cast< int >(result
));
19902 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
= 0;
19904 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19910 PyObject
* obj0
= 0 ;
19911 PyObject
* obj1
= 0 ;
19912 char * kwnames
[] = {
19913 (char *) "self",(char *) "flags", NULL
19916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19918 if (!SWIG_IsOK(res1
)) {
19919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19921 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19923 if (!SWIG_IsOK(ecode2
)) {
19924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19926 arg2
= static_cast< int >(val2
);
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 (arg1
)->SetFlags(arg2
);
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19933 resultobj
= SWIG_Py_Void();
19940 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19941 PyObject
*resultobj
= 0;
19942 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19943 wxString
*arg2
= 0 ;
19946 bool temp2
= false ;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 char * kwnames
[] = {
19950 (char *) "self",(char *) "str", NULL
19953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19955 if (!SWIG_IsOK(res1
)) {
19956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19958 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19960 arg2
= wxString_in_helper(obj1
);
19961 if (arg2
== NULL
) SWIG_fail
;
19965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19966 (arg1
)->SetFindString((wxString
const &)*arg2
);
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19970 resultobj
= SWIG_Py_Void();
19985 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
= 0;
19987 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19988 wxString
*arg2
= 0 ;
19991 bool temp2
= false ;
19992 PyObject
* obj0
= 0 ;
19993 PyObject
* obj1
= 0 ;
19994 char * kwnames
[] = {
19995 (char *) "self",(char *) "str", NULL
19998 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20000 if (!SWIG_IsOK(res1
)) {
20001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20003 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20005 arg2
= wxString_in_helper(obj1
);
20006 if (arg2
== NULL
) SWIG_fail
;
20010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20011 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20012 wxPyEndAllowThreads(__tstate
);
20013 if (PyErr_Occurred()) SWIG_fail
;
20015 resultobj
= SWIG_Py_Void();
20030 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20032 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20033 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20034 return SWIG_Py_Void();
20037 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20038 return SWIG_Python_InitShadowInstance(args
);
20041 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20042 PyObject
*resultobj
= 0;
20043 wxWindow
*arg1
= (wxWindow
*) 0 ;
20044 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20045 wxString
*arg3
= 0 ;
20046 int arg4
= (int) 0 ;
20047 wxFindReplaceDialog
*result
= 0 ;
20052 bool temp3
= false ;
20055 PyObject
* obj0
= 0 ;
20056 PyObject
* obj1
= 0 ;
20057 PyObject
* obj2
= 0 ;
20058 PyObject
* obj3
= 0 ;
20059 char * kwnames
[] = {
20060 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20065 if (!SWIG_IsOK(res1
)) {
20066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20068 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20069 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20070 if (!SWIG_IsOK(res2
)) {
20071 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20073 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20075 arg3
= wxString_in_helper(obj2
);
20076 if (arg3
== NULL
) SWIG_fail
;
20080 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20081 if (!SWIG_IsOK(ecode4
)) {
20082 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20084 arg4
= static_cast< int >(val4
);
20087 if (!wxPyCheckForApp()) SWIG_fail
;
20088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20089 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20090 wxPyEndAllowThreads(__tstate
);
20091 if (PyErr_Occurred()) SWIG_fail
;
20093 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20108 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20109 PyObject
*resultobj
= 0;
20110 wxFindReplaceDialog
*result
= 0 ;
20112 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20114 if (!wxPyCheckForApp()) SWIG_fail
;
20115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20116 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20117 wxPyEndAllowThreads(__tstate
);
20118 if (PyErr_Occurred()) SWIG_fail
;
20120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20127 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
= 0;
20129 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20130 wxWindow
*arg2
= (wxWindow
*) 0 ;
20131 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20132 wxString
*arg4
= 0 ;
20133 int arg5
= (int) 0 ;
20141 bool temp4
= false ;
20144 PyObject
* obj0
= 0 ;
20145 PyObject
* obj1
= 0 ;
20146 PyObject
* obj2
= 0 ;
20147 PyObject
* obj3
= 0 ;
20148 PyObject
* obj4
= 0 ;
20149 char * kwnames
[] = {
20150 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20155 if (!SWIG_IsOK(res1
)) {
20156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20158 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20159 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20160 if (!SWIG_IsOK(res2
)) {
20161 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20163 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20164 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20165 if (!SWIG_IsOK(res3
)) {
20166 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20168 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20170 arg4
= wxString_in_helper(obj3
);
20171 if (arg4
== NULL
) SWIG_fail
;
20175 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20176 if (!SWIG_IsOK(ecode5
)) {
20177 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20179 arg5
= static_cast< int >(val5
);
20182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20183 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20184 wxPyEndAllowThreads(__tstate
);
20185 if (PyErr_Occurred()) SWIG_fail
;
20188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20204 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20205 PyObject
*resultobj
= 0;
20206 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20207 wxFindReplaceData
*result
= 0 ;
20210 PyObject
*swig_obj
[1] ;
20212 if (!args
) SWIG_fail
;
20213 swig_obj
[0] = args
;
20214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20215 if (!SWIG_IsOK(res1
)) {
20216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20218 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20221 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20232 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20233 PyObject
*resultobj
= 0;
20234 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20235 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20240 PyObject
* obj0
= 0 ;
20241 PyObject
* obj1
= 0 ;
20242 char * kwnames
[] = {
20243 (char *) "self",(char *) "data", NULL
20246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20248 if (!SWIG_IsOK(res1
)) {
20249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20251 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20253 if (!SWIG_IsOK(res2
)) {
20254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20256 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 (arg1
)->SetData(arg2
);
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 resultobj
= SWIG_Py_Void();
20270 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20273 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20274 return SWIG_Py_Void();
20277 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20278 return SWIG_Python_InitShadowInstance(args
);
20281 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20282 PyObject
*resultobj
= 0;
20283 wxWindow
*arg1
= (wxWindow
*) 0 ;
20284 int arg2
= (int) (int)-1 ;
20285 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20286 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20287 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20288 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20289 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20290 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20291 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20292 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20293 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20294 wxMDIParentFrame
*result
= 0 ;
20299 bool temp3
= false ;
20304 bool temp7
= false ;
20305 PyObject
* obj0
= 0 ;
20306 PyObject
* obj1
= 0 ;
20307 PyObject
* obj2
= 0 ;
20308 PyObject
* obj3
= 0 ;
20309 PyObject
* obj4
= 0 ;
20310 PyObject
* obj5
= 0 ;
20311 PyObject
* obj6
= 0 ;
20312 char * kwnames
[] = {
20313 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20318 if (!SWIG_IsOK(res1
)) {
20319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20321 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20323 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20324 if (!SWIG_IsOK(ecode2
)) {
20325 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20327 arg2
= static_cast< int >(val2
);
20331 arg3
= wxString_in_helper(obj2
);
20332 if (arg3
== NULL
) SWIG_fail
;
20339 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20345 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20349 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20350 if (!SWIG_IsOK(ecode6
)) {
20351 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20353 arg6
= static_cast< long >(val6
);
20357 arg7
= wxString_in_helper(obj6
);
20358 if (arg7
== NULL
) SWIG_fail
;
20363 if (!wxPyCheckForApp()) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20366 wxPyEndAllowThreads(__tstate
);
20367 if (PyErr_Occurred()) SWIG_fail
;
20369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20392 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20393 PyObject
*resultobj
= 0;
20394 wxMDIParentFrame
*result
= 0 ;
20396 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20398 if (!wxPyCheckForApp()) SWIG_fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20401 wxPyEndAllowThreads(__tstate
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20411 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20412 PyObject
*resultobj
= 0;
20413 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20414 wxWindow
*arg2
= (wxWindow
*) 0 ;
20415 int arg3
= (int) (int)-1 ;
20416 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20417 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20418 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20419 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20420 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20421 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20422 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20423 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20424 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20432 bool temp4
= false ;
20437 bool temp8
= false ;
20438 PyObject
* obj0
= 0 ;
20439 PyObject
* obj1
= 0 ;
20440 PyObject
* obj2
= 0 ;
20441 PyObject
* obj3
= 0 ;
20442 PyObject
* obj4
= 0 ;
20443 PyObject
* obj5
= 0 ;
20444 PyObject
* obj6
= 0 ;
20445 PyObject
* obj7
= 0 ;
20446 char * kwnames
[] = {
20447 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20452 if (!SWIG_IsOK(res1
)) {
20453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20455 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20456 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20457 if (!SWIG_IsOK(res2
)) {
20458 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20460 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20463 if (!SWIG_IsOK(ecode3
)) {
20464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20466 arg3
= static_cast< int >(val3
);
20470 arg4
= wxString_in_helper(obj3
);
20471 if (arg4
== NULL
) SWIG_fail
;
20478 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20484 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20488 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20489 if (!SWIG_IsOK(ecode7
)) {
20490 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20492 arg7
= static_cast< long >(val7
);
20496 arg8
= wxString_in_helper(obj7
);
20497 if (arg8
== NULL
) SWIG_fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20504 wxPyEndAllowThreads(__tstate
);
20505 if (PyErr_Occurred()) SWIG_fail
;
20508 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20532 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20533 PyObject
*resultobj
= 0;
20534 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20537 PyObject
*swig_obj
[1] ;
20539 if (!args
) SWIG_fail
;
20540 swig_obj
[0] = args
;
20541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20542 if (!SWIG_IsOK(res1
)) {
20543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20545 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20548 (arg1
)->ActivateNext();
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= SWIG_Py_Void();
20559 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20560 PyObject
*resultobj
= 0;
20561 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20564 PyObject
*swig_obj
[1] ;
20566 if (!args
) SWIG_fail
;
20567 swig_obj
[0] = args
;
20568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20569 if (!SWIG_IsOK(res1
)) {
20570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20572 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 (arg1
)->ActivatePrevious();
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20579 resultobj
= SWIG_Py_Void();
20586 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20587 PyObject
*resultobj
= 0;
20588 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20591 PyObject
*swig_obj
[1] ;
20593 if (!args
) SWIG_fail
;
20594 swig_obj
[0] = args
;
20595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20596 if (!SWIG_IsOK(res1
)) {
20597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20599 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 (arg1
)->ArrangeIcons();
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= SWIG_Py_Void();
20613 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20614 PyObject
*resultobj
= 0;
20615 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20618 PyObject
*swig_obj
[1] ;
20620 if (!args
) SWIG_fail
;
20621 swig_obj
[0] = args
;
20622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20623 if (!SWIG_IsOK(res1
)) {
20624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20626 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20630 wxPyEndAllowThreads(__tstate
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 resultobj
= SWIG_Py_Void();
20640 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20641 PyObject
*resultobj
= 0;
20642 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20643 wxMDIChildFrame
*result
= 0 ;
20646 PyObject
*swig_obj
[1] ;
20648 if (!args
) SWIG_fail
;
20649 swig_obj
[0] = args
;
20650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20651 if (!SWIG_IsOK(res1
)) {
20652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20654 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20662 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20670 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20671 PyObject
*resultobj
= 0;
20672 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20673 wxMDIClientWindow
*result
= 0 ;
20676 PyObject
*swig_obj
[1] ;
20678 if (!args
) SWIG_fail
;
20679 swig_obj
[0] = args
;
20680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20681 if (!SWIG_IsOK(res1
)) {
20682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20684 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20688 wxPyEndAllowThreads(__tstate
);
20689 if (PyErr_Occurred()) SWIG_fail
;
20692 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20700 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20701 PyObject
*resultobj
= 0;
20702 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20703 wxWindow
*result
= 0 ;
20706 PyObject
*swig_obj
[1] ;
20708 if (!args
) SWIG_fail
;
20709 swig_obj
[0] = args
;
20710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20711 if (!SWIG_IsOK(res1
)) {
20712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20714 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 result
= (wxWindow
*)(arg1
)->GetToolBar();
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20722 resultobj
= wxPyMake_wxObject(result
, 0);
20730 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20731 PyObject
*resultobj
= 0;
20732 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20733 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20738 PyObject
* obj0
= 0 ;
20739 PyObject
* obj1
= 0 ;
20740 char * kwnames
[] = {
20741 (char *) "self",(char *) "orient", NULL
20744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20746 if (!SWIG_IsOK(res1
)) {
20747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20749 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20751 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20752 if (!SWIG_IsOK(ecode2
)) {
20753 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20755 arg2
= static_cast< wxOrientation
>(val2
);
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 (arg1
)->Tile(arg2
);
20760 wxPyEndAllowThreads(__tstate
);
20761 if (PyErr_Occurred()) SWIG_fail
;
20763 resultobj
= SWIG_Py_Void();
20770 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20772 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20773 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20774 return SWIG_Py_Void();
20777 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20778 return SWIG_Python_InitShadowInstance(args
);
20781 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20782 PyObject
*resultobj
= 0;
20783 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20784 int arg2
= (int) (int)-1 ;
20785 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20786 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20787 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20788 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20789 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20790 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20791 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20792 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20793 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20794 wxMDIChildFrame
*result
= 0 ;
20799 bool temp3
= false ;
20804 bool temp7
= false ;
20805 PyObject
* obj0
= 0 ;
20806 PyObject
* obj1
= 0 ;
20807 PyObject
* obj2
= 0 ;
20808 PyObject
* obj3
= 0 ;
20809 PyObject
* obj4
= 0 ;
20810 PyObject
* obj5
= 0 ;
20811 PyObject
* obj6
= 0 ;
20812 char * kwnames
[] = {
20813 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20818 if (!SWIG_IsOK(res1
)) {
20819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20821 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20824 if (!SWIG_IsOK(ecode2
)) {
20825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20827 arg2
= static_cast< int >(val2
);
20831 arg3
= wxString_in_helper(obj2
);
20832 if (arg3
== NULL
) SWIG_fail
;
20839 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20845 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20849 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20850 if (!SWIG_IsOK(ecode6
)) {
20851 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20853 arg6
= static_cast< long >(val6
);
20857 arg7
= wxString_in_helper(obj6
);
20858 if (arg7
== NULL
) SWIG_fail
;
20863 if (!wxPyCheckForApp()) SWIG_fail
;
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20892 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20893 PyObject
*resultobj
= 0;
20894 wxMDIChildFrame
*result
= 0 ;
20896 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20898 if (!wxPyCheckForApp()) SWIG_fail
;
20899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20900 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20904 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20911 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20912 PyObject
*resultobj
= 0;
20913 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20914 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20915 int arg3
= (int) (int)-1 ;
20916 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20917 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20918 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20919 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20920 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20921 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20922 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20923 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20924 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20932 bool temp4
= false ;
20937 bool temp8
= false ;
20938 PyObject
* obj0
= 0 ;
20939 PyObject
* obj1
= 0 ;
20940 PyObject
* obj2
= 0 ;
20941 PyObject
* obj3
= 0 ;
20942 PyObject
* obj4
= 0 ;
20943 PyObject
* obj5
= 0 ;
20944 PyObject
* obj6
= 0 ;
20945 PyObject
* obj7
= 0 ;
20946 char * kwnames
[] = {
20947 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20951 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20952 if (!SWIG_IsOK(res1
)) {
20953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20955 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20957 if (!SWIG_IsOK(res2
)) {
20958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20960 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20962 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20963 if (!SWIG_IsOK(ecode3
)) {
20964 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20966 arg3
= static_cast< int >(val3
);
20970 arg4
= wxString_in_helper(obj3
);
20971 if (arg4
== NULL
) SWIG_fail
;
20978 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20984 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20988 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20989 if (!SWIG_IsOK(ecode7
)) {
20990 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20992 arg7
= static_cast< long >(val7
);
20996 arg8
= wxString_in_helper(obj7
);
20997 if (arg8
== NULL
) SWIG_fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21032 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21033 PyObject
*resultobj
= 0;
21034 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21037 PyObject
*swig_obj
[1] ;
21039 if (!args
) SWIG_fail
;
21040 swig_obj
[0] = args
;
21041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21042 if (!SWIG_IsOK(res1
)) {
21043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21045 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21048 (arg1
)->Activate();
21049 wxPyEndAllowThreads(__tstate
);
21050 if (PyErr_Occurred()) SWIG_fail
;
21052 resultobj
= SWIG_Py_Void();
21059 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21062 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21063 return SWIG_Py_Void();
21066 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21067 return SWIG_Python_InitShadowInstance(args
);
21070 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21071 PyObject
*resultobj
= 0;
21072 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21073 long arg2
= (long) 0 ;
21074 wxMDIClientWindow
*result
= 0 ;
21079 PyObject
* obj0
= 0 ;
21080 PyObject
* obj1
= 0 ;
21081 char * kwnames
[] = {
21082 (char *) "parent",(char *) "style", NULL
21085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21087 if (!SWIG_IsOK(res1
)) {
21088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21090 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21092 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21093 if (!SWIG_IsOK(ecode2
)) {
21094 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21096 arg2
= static_cast< long >(val2
);
21099 if (!wxPyCheckForApp()) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21102 wxPyEndAllowThreads(__tstate
);
21103 if (PyErr_Occurred()) SWIG_fail
;
21105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21112 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21113 PyObject
*resultobj
= 0;
21114 wxMDIClientWindow
*result
= 0 ;
21116 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21118 if (!wxPyCheckForApp()) SWIG_fail
;
21119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21120 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21121 wxPyEndAllowThreads(__tstate
);
21122 if (PyErr_Occurred()) SWIG_fail
;
21124 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21131 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21132 PyObject
*resultobj
= 0;
21133 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21134 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21135 long arg3
= (long) 0 ;
21143 PyObject
* obj0
= 0 ;
21144 PyObject
* obj1
= 0 ;
21145 PyObject
* obj2
= 0 ;
21146 char * kwnames
[] = {
21147 (char *) "self",(char *) "parent",(char *) "style", NULL
21150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21152 if (!SWIG_IsOK(res1
)) {
21153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21155 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21157 if (!SWIG_IsOK(res2
)) {
21158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21160 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21162 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21163 if (!SWIG_IsOK(ecode3
)) {
21164 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21166 arg3
= static_cast< long >(val3
);
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21183 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21186 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21187 return SWIG_Py_Void();
21190 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21191 return SWIG_Python_InitShadowInstance(args
);
21194 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21195 PyObject
*resultobj
= 0;
21196 wxWindow
*arg1
= (wxWindow
*) 0 ;
21197 int arg2
= (int) (int)-1 ;
21198 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21199 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21200 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21201 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21202 long arg5
= (long) 0 ;
21203 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21204 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21205 wxPyWindow
*result
= 0 ;
21214 bool temp6
= false ;
21215 PyObject
* obj0
= 0 ;
21216 PyObject
* obj1
= 0 ;
21217 PyObject
* obj2
= 0 ;
21218 PyObject
* obj3
= 0 ;
21219 PyObject
* obj4
= 0 ;
21220 PyObject
* obj5
= 0 ;
21221 char * kwnames
[] = {
21222 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21227 if (!SWIG_IsOK(res1
)) {
21228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21230 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21232 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21233 if (!SWIG_IsOK(ecode2
)) {
21234 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21236 arg2
= static_cast< int >(val2
);
21241 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21247 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21251 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21252 if (!SWIG_IsOK(ecode5
)) {
21253 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21255 arg5
= static_cast< long >(val5
);
21259 arg6
= wxString_in_helper(obj5
);
21260 if (arg6
== NULL
) SWIG_fail
;
21265 if (!wxPyCheckForApp()) SWIG_fail
;
21266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21267 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21268 wxPyEndAllowThreads(__tstate
);
21269 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21286 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21287 PyObject
*resultobj
= 0;
21288 wxPyWindow
*result
= 0 ;
21290 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21292 if (!wxPyCheckForApp()) SWIG_fail
;
21293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21294 result
= (wxPyWindow
*)new wxPyWindow();
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21298 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21305 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
= 0;
21307 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21308 PyObject
*arg2
= (PyObject
*) 0 ;
21309 PyObject
*arg3
= (PyObject
*) 0 ;
21312 PyObject
* obj0
= 0 ;
21313 PyObject
* obj1
= 0 ;
21314 PyObject
* obj2
= 0 ;
21315 char * kwnames
[] = {
21316 (char *) "self",(char *) "self",(char *) "_class", NULL
21319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21321 if (!SWIG_IsOK(res1
)) {
21322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21324 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21329 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21333 resultobj
= SWIG_Py_Void();
21340 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
= 0;
21342 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21347 PyObject
* obj0
= 0 ;
21348 PyObject
* obj1
= 0 ;
21349 char * kwnames
[] = {
21350 (char *) "self",(char *) "size", NULL
21353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21355 if (!SWIG_IsOK(res1
)) {
21356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21358 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21361 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21365 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21366 wxPyEndAllowThreads(__tstate
);
21367 if (PyErr_Occurred()) SWIG_fail
;
21369 resultobj
= SWIG_Py_Void();
21376 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21377 PyObject
*resultobj
= 0;
21378 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21379 wxDC
*arg2
= (wxDC
*) 0 ;
21385 PyObject
* obj0
= 0 ;
21386 PyObject
* obj1
= 0 ;
21387 char * kwnames
[] = {
21388 (char *) "self",(char *) "dc", NULL
21391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21393 if (!SWIG_IsOK(res1
)) {
21394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21396 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21397 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21398 if (!SWIG_IsOK(res2
)) {
21399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21401 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21405 wxPyEndAllowThreads(__tstate
);
21406 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21417 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21418 PyObject
*resultobj
= 0;
21419 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21436 PyObject
* obj2
= 0 ;
21437 PyObject
* obj3
= 0 ;
21438 PyObject
* obj4
= 0 ;
21439 char * kwnames
[] = {
21440 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21445 if (!SWIG_IsOK(res1
)) {
21446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21448 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21450 if (!SWIG_IsOK(ecode2
)) {
21451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21453 arg2
= static_cast< int >(val2
);
21454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21455 if (!SWIG_IsOK(ecode3
)) {
21456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21458 arg3
= static_cast< int >(val3
);
21459 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21460 if (!SWIG_IsOK(ecode4
)) {
21461 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21463 arg4
= static_cast< int >(val4
);
21464 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21465 if (!SWIG_IsOK(ecode5
)) {
21466 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21468 arg5
= static_cast< int >(val5
);
21470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21471 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21472 wxPyEndAllowThreads(__tstate
);
21473 if (PyErr_Occurred()) SWIG_fail
;
21475 resultobj
= SWIG_Py_Void();
21482 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
= 0;
21484 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21489 int arg6
= (int) wxSIZE_AUTO
;
21502 PyObject
* obj0
= 0 ;
21503 PyObject
* obj1
= 0 ;
21504 PyObject
* obj2
= 0 ;
21505 PyObject
* obj3
= 0 ;
21506 PyObject
* obj4
= 0 ;
21507 PyObject
* obj5
= 0 ;
21508 char * kwnames
[] = {
21509 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21514 if (!SWIG_IsOK(res1
)) {
21515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21517 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21518 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21519 if (!SWIG_IsOK(ecode2
)) {
21520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21522 arg2
= static_cast< int >(val2
);
21523 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21524 if (!SWIG_IsOK(ecode3
)) {
21525 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21527 arg3
= static_cast< int >(val3
);
21528 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21529 if (!SWIG_IsOK(ecode4
)) {
21530 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21532 arg4
= static_cast< int >(val4
);
21533 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21534 if (!SWIG_IsOK(ecode5
)) {
21535 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21537 arg5
= static_cast< int >(val5
);
21539 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21540 if (!SWIG_IsOK(ecode6
)) {
21541 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21543 arg6
= static_cast< int >(val6
);
21546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21547 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21548 wxPyEndAllowThreads(__tstate
);
21549 if (PyErr_Occurred()) SWIG_fail
;
21551 resultobj
= SWIG_Py_Void();
21558 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21559 PyObject
*resultobj
= 0;
21560 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21569 PyObject
* obj0
= 0 ;
21570 PyObject
* obj1
= 0 ;
21571 PyObject
* obj2
= 0 ;
21572 char * kwnames
[] = {
21573 (char *) "self",(char *) "width",(char *) "height", NULL
21576 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21577 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21578 if (!SWIG_IsOK(res1
)) {
21579 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21581 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21582 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21583 if (!SWIG_IsOK(ecode2
)) {
21584 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21586 arg2
= static_cast< int >(val2
);
21587 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21588 if (!SWIG_IsOK(ecode3
)) {
21589 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21591 arg3
= static_cast< int >(val3
);
21593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21594 (arg1
)->DoSetClientSize(arg2
,arg3
);
21595 wxPyEndAllowThreads(__tstate
);
21596 if (PyErr_Occurred()) SWIG_fail
;
21598 resultobj
= SWIG_Py_Void();
21605 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
= 0;
21607 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21616 PyObject
* obj0
= 0 ;
21617 PyObject
* obj1
= 0 ;
21618 PyObject
* obj2
= 0 ;
21619 char * kwnames
[] = {
21620 (char *) "self",(char *) "x",(char *) "y", NULL
21623 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21624 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21625 if (!SWIG_IsOK(res1
)) {
21626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21628 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21629 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21630 if (!SWIG_IsOK(ecode2
)) {
21631 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21633 arg2
= static_cast< int >(val2
);
21634 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21635 if (!SWIG_IsOK(ecode3
)) {
21636 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21638 arg3
= static_cast< int >(val3
);
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21642 wxPyEndAllowThreads(__tstate
);
21643 if (PyErr_Occurred()) SWIG_fail
;
21645 resultobj
= SWIG_Py_Void();
21652 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21653 PyObject
*resultobj
= 0;
21654 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21655 int *arg2
= (int *) 0 ;
21656 int *arg3
= (int *) 0 ;
21660 int res2
= SWIG_TMPOBJ
;
21662 int res3
= SWIG_TMPOBJ
;
21663 PyObject
*swig_obj
[1] ;
21667 if (!args
) SWIG_fail
;
21668 swig_obj
[0] = args
;
21669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21670 if (!SWIG_IsOK(res1
)) {
21671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21673 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21677 wxPyEndAllowThreads(__tstate
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21680 resultobj
= SWIG_Py_Void();
21681 if (SWIG_IsTmpObj(res2
)) {
21682 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21684 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21685 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21687 if (SWIG_IsTmpObj(res3
)) {
21688 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21690 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21691 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21699 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21700 PyObject
*resultobj
= 0;
21701 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21702 int *arg2
= (int *) 0 ;
21703 int *arg3
= (int *) 0 ;
21707 int res2
= SWIG_TMPOBJ
;
21709 int res3
= SWIG_TMPOBJ
;
21710 PyObject
*swig_obj
[1] ;
21714 if (!args
) SWIG_fail
;
21715 swig_obj
[0] = args
;
21716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21717 if (!SWIG_IsOK(res1
)) {
21718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21720 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21724 wxPyEndAllowThreads(__tstate
);
21725 if (PyErr_Occurred()) SWIG_fail
;
21727 resultobj
= SWIG_Py_Void();
21728 if (SWIG_IsTmpObj(res2
)) {
21729 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21731 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21732 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21734 if (SWIG_IsTmpObj(res3
)) {
21735 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21737 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21738 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21746 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21747 PyObject
*resultobj
= 0;
21748 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21749 int *arg2
= (int *) 0 ;
21750 int *arg3
= (int *) 0 ;
21754 int res2
= SWIG_TMPOBJ
;
21756 int res3
= SWIG_TMPOBJ
;
21757 PyObject
*swig_obj
[1] ;
21761 if (!args
) SWIG_fail
;
21762 swig_obj
[0] = args
;
21763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21764 if (!SWIG_IsOK(res1
)) {
21765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21767 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21771 wxPyEndAllowThreads(__tstate
);
21772 if (PyErr_Occurred()) SWIG_fail
;
21774 resultobj
= SWIG_Py_Void();
21775 if (SWIG_IsTmpObj(res2
)) {
21776 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21778 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21779 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21781 if (SWIG_IsTmpObj(res3
)) {
21782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21784 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21793 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21794 PyObject
*resultobj
= 0;
21795 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21799 PyObject
*swig_obj
[1] ;
21801 if (!args
) SWIG_fail
;
21802 swig_obj
[0] = args
;
21803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21804 if (!SWIG_IsOK(res1
)) {
21805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21807 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21811 wxPyEndAllowThreads(__tstate
);
21812 if (PyErr_Occurred()) SWIG_fail
;
21814 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21821 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21822 PyObject
*resultobj
= 0;
21823 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21827 PyObject
*swig_obj
[1] ;
21829 if (!args
) SWIG_fail
;
21830 swig_obj
[0] = args
;
21831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21832 if (!SWIG_IsOK(res1
)) {
21833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21835 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21838 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21839 wxPyEndAllowThreads(__tstate
);
21840 if (PyErr_Occurred()) SWIG_fail
;
21842 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21849 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21850 PyObject
*resultobj
= 0;
21851 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21852 SwigValueWrapper
<wxVisualAttributes
> result
;
21855 PyObject
*swig_obj
[1] ;
21857 if (!args
) SWIG_fail
;
21858 swig_obj
[0] = args
;
21859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21860 if (!SWIG_IsOK(res1
)) {
21861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21863 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21866 result
= (arg1
)->GetDefaultAttributes();
21867 wxPyEndAllowThreads(__tstate
);
21868 if (PyErr_Occurred()) SWIG_fail
;
21870 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21877 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21878 PyObject
*resultobj
= 0;
21879 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21882 PyObject
*swig_obj
[1] ;
21884 if (!args
) SWIG_fail
;
21885 swig_obj
[0] = args
;
21886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21887 if (!SWIG_IsOK(res1
)) {
21888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21890 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21893 (arg1
)->OnInternalIdle();
21894 wxPyEndAllowThreads(__tstate
);
21895 if (PyErr_Occurred()) SWIG_fail
;
21897 resultobj
= SWIG_Py_Void();
21904 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21906 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21907 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21908 return SWIG_Py_Void();
21911 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21912 return SWIG_Python_InitShadowInstance(args
);
21915 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21916 PyObject
*resultobj
= 0;
21917 wxWindow
*arg1
= (wxWindow
*) 0 ;
21918 int arg2
= (int) (int)-1 ;
21919 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21920 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21921 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21922 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21923 long arg5
= (long) 0 ;
21924 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21925 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21926 wxPyPanel
*result
= 0 ;
21935 bool temp6
= false ;
21936 PyObject
* obj0
= 0 ;
21937 PyObject
* obj1
= 0 ;
21938 PyObject
* obj2
= 0 ;
21939 PyObject
* obj3
= 0 ;
21940 PyObject
* obj4
= 0 ;
21941 PyObject
* obj5
= 0 ;
21942 char * kwnames
[] = {
21943 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21948 if (!SWIG_IsOK(res1
)) {
21949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21951 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21954 if (!SWIG_IsOK(ecode2
)) {
21955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21957 arg2
= static_cast< int >(val2
);
21962 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21968 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21972 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21973 if (!SWIG_IsOK(ecode5
)) {
21974 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21976 arg5
= static_cast< long >(val5
);
21980 arg6
= wxString_in_helper(obj5
);
21981 if (arg6
== NULL
) SWIG_fail
;
21986 if (!wxPyCheckForApp()) SWIG_fail
;
21987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21988 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21989 wxPyEndAllowThreads(__tstate
);
21990 if (PyErr_Occurred()) SWIG_fail
;
21992 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22007 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22008 PyObject
*resultobj
= 0;
22009 wxPyPanel
*result
= 0 ;
22011 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22013 if (!wxPyCheckForApp()) SWIG_fail
;
22014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22015 result
= (wxPyPanel
*)new wxPyPanel();
22016 wxPyEndAllowThreads(__tstate
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22026 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
= 0;
22028 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22029 PyObject
*arg2
= (PyObject
*) 0 ;
22030 PyObject
*arg3
= (PyObject
*) 0 ;
22033 PyObject
* obj0
= 0 ;
22034 PyObject
* obj1
= 0 ;
22035 PyObject
* obj2
= 0 ;
22036 char * kwnames
[] = {
22037 (char *) "self",(char *) "self",(char *) "_class", NULL
22040 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22041 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22042 if (!SWIG_IsOK(res1
)) {
22043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22045 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22050 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22051 wxPyEndAllowThreads(__tstate
);
22052 if (PyErr_Occurred()) SWIG_fail
;
22054 resultobj
= SWIG_Py_Void();
22061 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22062 PyObject
*resultobj
= 0;
22063 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 char * kwnames
[] = {
22071 (char *) "self",(char *) "size", NULL
22074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22076 if (!SWIG_IsOK(res1
)) {
22077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22079 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22082 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22087 wxPyEndAllowThreads(__tstate
);
22088 if (PyErr_Occurred()) SWIG_fail
;
22090 resultobj
= SWIG_Py_Void();
22097 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22098 PyObject
*resultobj
= 0;
22099 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22100 wxDC
*arg2
= (wxDC
*) 0 ;
22106 PyObject
* obj0
= 0 ;
22107 PyObject
* obj1
= 0 ;
22108 char * kwnames
[] = {
22109 (char *) "self",(char *) "dc", NULL
22112 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22113 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22114 if (!SWIG_IsOK(res1
)) {
22115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22117 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22118 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22119 if (!SWIG_IsOK(res2
)) {
22120 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22122 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22126 wxPyEndAllowThreads(__tstate
);
22127 if (PyErr_Occurred()) SWIG_fail
;
22130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22138 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22139 PyObject
*resultobj
= 0;
22140 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22155 PyObject
* obj0
= 0 ;
22156 PyObject
* obj1
= 0 ;
22157 PyObject
* obj2
= 0 ;
22158 PyObject
* obj3
= 0 ;
22159 PyObject
* obj4
= 0 ;
22160 char * kwnames
[] = {
22161 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22166 if (!SWIG_IsOK(res1
)) {
22167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22169 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22170 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22171 if (!SWIG_IsOK(ecode2
)) {
22172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22174 arg2
= static_cast< int >(val2
);
22175 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22176 if (!SWIG_IsOK(ecode3
)) {
22177 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22179 arg3
= static_cast< int >(val3
);
22180 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22181 if (!SWIG_IsOK(ecode4
)) {
22182 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22184 arg4
= static_cast< int >(val4
);
22185 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22186 if (!SWIG_IsOK(ecode5
)) {
22187 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22189 arg5
= static_cast< int >(val5
);
22191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22192 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22193 wxPyEndAllowThreads(__tstate
);
22194 if (PyErr_Occurred()) SWIG_fail
;
22196 resultobj
= SWIG_Py_Void();
22203 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22204 PyObject
*resultobj
= 0;
22205 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22210 int arg6
= (int) wxSIZE_AUTO
;
22223 PyObject
* obj0
= 0 ;
22224 PyObject
* obj1
= 0 ;
22225 PyObject
* obj2
= 0 ;
22226 PyObject
* obj3
= 0 ;
22227 PyObject
* obj4
= 0 ;
22228 PyObject
* obj5
= 0 ;
22229 char * kwnames
[] = {
22230 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22235 if (!SWIG_IsOK(res1
)) {
22236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22238 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22239 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22240 if (!SWIG_IsOK(ecode2
)) {
22241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22243 arg2
= static_cast< int >(val2
);
22244 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22245 if (!SWIG_IsOK(ecode3
)) {
22246 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22248 arg3
= static_cast< int >(val3
);
22249 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22250 if (!SWIG_IsOK(ecode4
)) {
22251 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22253 arg4
= static_cast< int >(val4
);
22254 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22255 if (!SWIG_IsOK(ecode5
)) {
22256 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22258 arg5
= static_cast< int >(val5
);
22260 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22261 if (!SWIG_IsOK(ecode6
)) {
22262 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22264 arg6
= static_cast< int >(val6
);
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 resultobj
= SWIG_Py_Void();
22279 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
= 0;
22281 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22290 PyObject
* obj0
= 0 ;
22291 PyObject
* obj1
= 0 ;
22292 PyObject
* obj2
= 0 ;
22293 char * kwnames
[] = {
22294 (char *) "self",(char *) "width",(char *) "height", NULL
22297 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22298 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22299 if (!SWIG_IsOK(res1
)) {
22300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22302 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22303 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22304 if (!SWIG_IsOK(ecode2
)) {
22305 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22307 arg2
= static_cast< int >(val2
);
22308 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22309 if (!SWIG_IsOK(ecode3
)) {
22310 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22312 arg3
= static_cast< int >(val3
);
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 (arg1
)->DoSetClientSize(arg2
,arg3
);
22316 wxPyEndAllowThreads(__tstate
);
22317 if (PyErr_Occurred()) SWIG_fail
;
22319 resultobj
= SWIG_Py_Void();
22326 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22327 PyObject
*resultobj
= 0;
22328 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22337 PyObject
* obj0
= 0 ;
22338 PyObject
* obj1
= 0 ;
22339 PyObject
* obj2
= 0 ;
22340 char * kwnames
[] = {
22341 (char *) "self",(char *) "x",(char *) "y", NULL
22344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22346 if (!SWIG_IsOK(res1
)) {
22347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22349 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22351 if (!SWIG_IsOK(ecode2
)) {
22352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22354 arg2
= static_cast< int >(val2
);
22355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22356 if (!SWIG_IsOK(ecode3
)) {
22357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22359 arg3
= static_cast< int >(val3
);
22361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22362 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22363 wxPyEndAllowThreads(__tstate
);
22364 if (PyErr_Occurred()) SWIG_fail
;
22366 resultobj
= SWIG_Py_Void();
22373 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22374 PyObject
*resultobj
= 0;
22375 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22376 int *arg2
= (int *) 0 ;
22377 int *arg3
= (int *) 0 ;
22381 int res2
= SWIG_TMPOBJ
;
22383 int res3
= SWIG_TMPOBJ
;
22384 PyObject
*swig_obj
[1] ;
22388 if (!args
) SWIG_fail
;
22389 swig_obj
[0] = args
;
22390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22391 if (!SWIG_IsOK(res1
)) {
22392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22394 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22397 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22398 wxPyEndAllowThreads(__tstate
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22401 resultobj
= SWIG_Py_Void();
22402 if (SWIG_IsTmpObj(res2
)) {
22403 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22405 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22406 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22408 if (SWIG_IsTmpObj(res3
)) {
22409 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22411 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22412 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22420 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22421 PyObject
*resultobj
= 0;
22422 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22423 int *arg2
= (int *) 0 ;
22424 int *arg3
= (int *) 0 ;
22428 int res2
= SWIG_TMPOBJ
;
22430 int res3
= SWIG_TMPOBJ
;
22431 PyObject
*swig_obj
[1] ;
22435 if (!args
) SWIG_fail
;
22436 swig_obj
[0] = args
;
22437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22438 if (!SWIG_IsOK(res1
)) {
22439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22441 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22445 wxPyEndAllowThreads(__tstate
);
22446 if (PyErr_Occurred()) SWIG_fail
;
22448 resultobj
= SWIG_Py_Void();
22449 if (SWIG_IsTmpObj(res2
)) {
22450 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22452 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22455 if (SWIG_IsTmpObj(res3
)) {
22456 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22458 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22459 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22467 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22468 PyObject
*resultobj
= 0;
22469 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22470 int *arg2
= (int *) 0 ;
22471 int *arg3
= (int *) 0 ;
22475 int res2
= SWIG_TMPOBJ
;
22477 int res3
= SWIG_TMPOBJ
;
22478 PyObject
*swig_obj
[1] ;
22482 if (!args
) SWIG_fail
;
22483 swig_obj
[0] = args
;
22484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22485 if (!SWIG_IsOK(res1
)) {
22486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22488 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22491 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22492 wxPyEndAllowThreads(__tstate
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22495 resultobj
= SWIG_Py_Void();
22496 if (SWIG_IsTmpObj(res2
)) {
22497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22499 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22502 if (SWIG_IsTmpObj(res3
)) {
22503 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22505 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22506 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22514 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22515 PyObject
*resultobj
= 0;
22516 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22520 PyObject
*swig_obj
[1] ;
22522 if (!args
) SWIG_fail
;
22523 swig_obj
[0] = args
;
22524 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22525 if (!SWIG_IsOK(res1
)) {
22526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22528 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22531 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22532 wxPyEndAllowThreads(__tstate
);
22533 if (PyErr_Occurred()) SWIG_fail
;
22535 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22542 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22543 PyObject
*resultobj
= 0;
22544 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22548 PyObject
*swig_obj
[1] ;
22550 if (!args
) SWIG_fail
;
22551 swig_obj
[0] = args
;
22552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22553 if (!SWIG_IsOK(res1
)) {
22554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22556 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22559 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22560 wxPyEndAllowThreads(__tstate
);
22561 if (PyErr_Occurred()) SWIG_fail
;
22563 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22570 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22571 PyObject
*resultobj
= 0;
22572 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22573 SwigValueWrapper
<wxVisualAttributes
> result
;
22576 PyObject
*swig_obj
[1] ;
22578 if (!args
) SWIG_fail
;
22579 swig_obj
[0] = args
;
22580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22581 if (!SWIG_IsOK(res1
)) {
22582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22584 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 result
= (arg1
)->GetDefaultAttributes();
22588 wxPyEndAllowThreads(__tstate
);
22589 if (PyErr_Occurred()) SWIG_fail
;
22591 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22598 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22599 PyObject
*resultobj
= 0;
22600 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22603 PyObject
*swig_obj
[1] ;
22605 if (!args
) SWIG_fail
;
22606 swig_obj
[0] = args
;
22607 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22608 if (!SWIG_IsOK(res1
)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22611 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 (arg1
)->OnInternalIdle();
22615 wxPyEndAllowThreads(__tstate
);
22616 if (PyErr_Occurred()) SWIG_fail
;
22618 resultobj
= SWIG_Py_Void();
22625 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22627 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22628 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22629 return SWIG_Py_Void();
22632 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22633 return SWIG_Python_InitShadowInstance(args
);
22636 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22637 PyObject
*resultobj
= 0;
22638 wxWindow
*arg1
= (wxWindow
*) 0 ;
22639 int arg2
= (int) (int)-1 ;
22640 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22641 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22642 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22643 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22644 long arg5
= (long) 0 ;
22645 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22646 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22647 wxPyScrolledWindow
*result
= 0 ;
22656 bool temp6
= false ;
22657 PyObject
* obj0
= 0 ;
22658 PyObject
* obj1
= 0 ;
22659 PyObject
* obj2
= 0 ;
22660 PyObject
* obj3
= 0 ;
22661 PyObject
* obj4
= 0 ;
22662 PyObject
* obj5
= 0 ;
22663 char * kwnames
[] = {
22664 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22667 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22668 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22669 if (!SWIG_IsOK(res1
)) {
22670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22672 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22674 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22675 if (!SWIG_IsOK(ecode2
)) {
22676 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22678 arg2
= static_cast< int >(val2
);
22683 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22689 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22693 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22694 if (!SWIG_IsOK(ecode5
)) {
22695 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22697 arg5
= static_cast< long >(val5
);
22701 arg6
= wxString_in_helper(obj5
);
22702 if (arg6
== NULL
) SWIG_fail
;
22707 if (!wxPyCheckForApp()) SWIG_fail
;
22708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22709 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22710 wxPyEndAllowThreads(__tstate
);
22711 if (PyErr_Occurred()) SWIG_fail
;
22713 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22728 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22729 PyObject
*resultobj
= 0;
22730 wxPyScrolledWindow
*result
= 0 ;
22732 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22734 if (!wxPyCheckForApp()) SWIG_fail
;
22735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22736 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22737 wxPyEndAllowThreads(__tstate
);
22738 if (PyErr_Occurred()) SWIG_fail
;
22740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22747 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22748 PyObject
*resultobj
= 0;
22749 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22750 PyObject
*arg2
= (PyObject
*) 0 ;
22751 PyObject
*arg3
= (PyObject
*) 0 ;
22754 PyObject
* obj0
= 0 ;
22755 PyObject
* obj1
= 0 ;
22756 PyObject
* obj2
= 0 ;
22757 char * kwnames
[] = {
22758 (char *) "self",(char *) "self",(char *) "_class", NULL
22761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22763 if (!SWIG_IsOK(res1
)) {
22764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22766 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22771 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= SWIG_Py_Void();
22782 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
= 0;
22784 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22789 PyObject
* obj0
= 0 ;
22790 PyObject
* obj1
= 0 ;
22791 char * kwnames
[] = {
22792 (char *) "self",(char *) "size", NULL
22795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22797 if (!SWIG_IsOK(res1
)) {
22798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22800 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22803 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22807 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22808 wxPyEndAllowThreads(__tstate
);
22809 if (PyErr_Occurred()) SWIG_fail
;
22811 resultobj
= SWIG_Py_Void();
22818 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22819 PyObject
*resultobj
= 0;
22820 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22821 wxDC
*arg2
= (wxDC
*) 0 ;
22827 PyObject
* obj0
= 0 ;
22828 PyObject
* obj1
= 0 ;
22829 char * kwnames
[] = {
22830 (char *) "self",(char *) "dc", NULL
22833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22835 if (!SWIG_IsOK(res1
)) {
22836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22838 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22839 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22840 if (!SWIG_IsOK(res2
)) {
22841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22843 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22846 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22847 wxPyEndAllowThreads(__tstate
);
22848 if (PyErr_Occurred()) SWIG_fail
;
22851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22859 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22860 PyObject
*resultobj
= 0;
22861 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22876 PyObject
* obj0
= 0 ;
22877 PyObject
* obj1
= 0 ;
22878 PyObject
* obj2
= 0 ;
22879 PyObject
* obj3
= 0 ;
22880 PyObject
* obj4
= 0 ;
22881 char * kwnames
[] = {
22882 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22885 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22886 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22887 if (!SWIG_IsOK(res1
)) {
22888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22890 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22891 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22892 if (!SWIG_IsOK(ecode2
)) {
22893 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22895 arg2
= static_cast< int >(val2
);
22896 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22897 if (!SWIG_IsOK(ecode3
)) {
22898 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22900 arg3
= static_cast< int >(val3
);
22901 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22902 if (!SWIG_IsOK(ecode4
)) {
22903 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22905 arg4
= static_cast< int >(val4
);
22906 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22907 if (!SWIG_IsOK(ecode5
)) {
22908 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22910 arg5
= static_cast< int >(val5
);
22912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22913 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= SWIG_Py_Void();
22924 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22925 PyObject
*resultobj
= 0;
22926 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22931 int arg6
= (int) wxSIZE_AUTO
;
22944 PyObject
* obj0
= 0 ;
22945 PyObject
* obj1
= 0 ;
22946 PyObject
* obj2
= 0 ;
22947 PyObject
* obj3
= 0 ;
22948 PyObject
* obj4
= 0 ;
22949 PyObject
* obj5
= 0 ;
22950 char * kwnames
[] = {
22951 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22956 if (!SWIG_IsOK(res1
)) {
22957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22959 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22961 if (!SWIG_IsOK(ecode2
)) {
22962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22964 arg2
= static_cast< int >(val2
);
22965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22966 if (!SWIG_IsOK(ecode3
)) {
22967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22969 arg3
= static_cast< int >(val3
);
22970 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22971 if (!SWIG_IsOK(ecode4
)) {
22972 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22974 arg4
= static_cast< int >(val4
);
22975 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22976 if (!SWIG_IsOK(ecode5
)) {
22977 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22979 arg5
= static_cast< int >(val5
);
22981 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22982 if (!SWIG_IsOK(ecode6
)) {
22983 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22985 arg6
= static_cast< int >(val6
);
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22990 wxPyEndAllowThreads(__tstate
);
22991 if (PyErr_Occurred()) SWIG_fail
;
22993 resultobj
= SWIG_Py_Void();
23000 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23001 PyObject
*resultobj
= 0;
23002 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23011 PyObject
* obj0
= 0 ;
23012 PyObject
* obj1
= 0 ;
23013 PyObject
* obj2
= 0 ;
23014 char * kwnames
[] = {
23015 (char *) "self",(char *) "width",(char *) "height", NULL
23018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23020 if (!SWIG_IsOK(res1
)) {
23021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23023 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23024 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23025 if (!SWIG_IsOK(ecode2
)) {
23026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23028 arg2
= static_cast< int >(val2
);
23029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23030 if (!SWIG_IsOK(ecode3
)) {
23031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23033 arg3
= static_cast< int >(val3
);
23035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23036 (arg1
)->DoSetClientSize(arg2
,arg3
);
23037 wxPyEndAllowThreads(__tstate
);
23038 if (PyErr_Occurred()) SWIG_fail
;
23040 resultobj
= SWIG_Py_Void();
23047 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23048 PyObject
*resultobj
= 0;
23049 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23058 PyObject
* obj0
= 0 ;
23059 PyObject
* obj1
= 0 ;
23060 PyObject
* obj2
= 0 ;
23061 char * kwnames
[] = {
23062 (char *) "self",(char *) "x",(char *) "y", NULL
23065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23067 if (!SWIG_IsOK(res1
)) {
23068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23070 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23072 if (!SWIG_IsOK(ecode2
)) {
23073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23075 arg2
= static_cast< int >(val2
);
23076 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23077 if (!SWIG_IsOK(ecode3
)) {
23078 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23080 arg3
= static_cast< int >(val3
);
23082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23083 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23084 wxPyEndAllowThreads(__tstate
);
23085 if (PyErr_Occurred()) SWIG_fail
;
23087 resultobj
= SWIG_Py_Void();
23094 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23095 PyObject
*resultobj
= 0;
23096 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23097 int *arg2
= (int *) 0 ;
23098 int *arg3
= (int *) 0 ;
23102 int res2
= SWIG_TMPOBJ
;
23104 int res3
= SWIG_TMPOBJ
;
23105 PyObject
*swig_obj
[1] ;
23109 if (!args
) SWIG_fail
;
23110 swig_obj
[0] = args
;
23111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23112 if (!SWIG_IsOK(res1
)) {
23113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23115 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23118 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 resultobj
= SWIG_Py_Void();
23123 if (SWIG_IsTmpObj(res2
)) {
23124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23126 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23129 if (SWIG_IsTmpObj(res3
)) {
23130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23132 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23133 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23141 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23142 PyObject
*resultobj
= 0;
23143 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23144 int *arg2
= (int *) 0 ;
23145 int *arg3
= (int *) 0 ;
23149 int res2
= SWIG_TMPOBJ
;
23151 int res3
= SWIG_TMPOBJ
;
23152 PyObject
*swig_obj
[1] ;
23156 if (!args
) SWIG_fail
;
23157 swig_obj
[0] = args
;
23158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23159 if (!SWIG_IsOK(res1
)) {
23160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23162 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23166 wxPyEndAllowThreads(__tstate
);
23167 if (PyErr_Occurred()) SWIG_fail
;
23169 resultobj
= SWIG_Py_Void();
23170 if (SWIG_IsTmpObj(res2
)) {
23171 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23173 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23174 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23176 if (SWIG_IsTmpObj(res3
)) {
23177 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23179 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23180 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23188 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23189 PyObject
*resultobj
= 0;
23190 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23191 int *arg2
= (int *) 0 ;
23192 int *arg3
= (int *) 0 ;
23196 int res2
= SWIG_TMPOBJ
;
23198 int res3
= SWIG_TMPOBJ
;
23199 PyObject
*swig_obj
[1] ;
23203 if (!args
) SWIG_fail
;
23204 swig_obj
[0] = args
;
23205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23206 if (!SWIG_IsOK(res1
)) {
23207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23209 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23213 wxPyEndAllowThreads(__tstate
);
23214 if (PyErr_Occurred()) SWIG_fail
;
23216 resultobj
= SWIG_Py_Void();
23217 if (SWIG_IsTmpObj(res2
)) {
23218 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23220 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23221 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23223 if (SWIG_IsTmpObj(res3
)) {
23224 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23226 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23227 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23235 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23236 PyObject
*resultobj
= 0;
23237 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23241 PyObject
*swig_obj
[1] ;
23243 if (!args
) SWIG_fail
;
23244 swig_obj
[0] = args
;
23245 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23246 if (!SWIG_IsOK(res1
)) {
23247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23249 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23252 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23263 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23264 PyObject
*resultobj
= 0;
23265 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23269 PyObject
*swig_obj
[1] ;
23271 if (!args
) SWIG_fail
;
23272 swig_obj
[0] = args
;
23273 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23274 if (!SWIG_IsOK(res1
)) {
23275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23277 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23281 wxPyEndAllowThreads(__tstate
);
23282 if (PyErr_Occurred()) SWIG_fail
;
23284 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23291 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23292 PyObject
*resultobj
= 0;
23293 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23294 SwigValueWrapper
<wxVisualAttributes
> result
;
23297 PyObject
*swig_obj
[1] ;
23299 if (!args
) SWIG_fail
;
23300 swig_obj
[0] = args
;
23301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23302 if (!SWIG_IsOK(res1
)) {
23303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23305 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23308 result
= (arg1
)->GetDefaultAttributes();
23309 wxPyEndAllowThreads(__tstate
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23312 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23319 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23320 PyObject
*resultobj
= 0;
23321 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23324 PyObject
*swig_obj
[1] ;
23326 if (!args
) SWIG_fail
;
23327 swig_obj
[0] = args
;
23328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23329 if (!SWIG_IsOK(res1
)) {
23330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23332 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23335 (arg1
)->OnInternalIdle();
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= SWIG_Py_Void();
23346 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23348 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23349 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23350 return SWIG_Py_Void();
23353 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23354 return SWIG_Python_InitShadowInstance(args
);
23357 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23358 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23363 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23364 PyObject
*pyobj
= 0;
23368 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23370 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23377 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23378 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23383 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23384 PyObject
*pyobj
= 0;
23388 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23390 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23397 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23398 PyObject
*resultobj
= 0;
23399 wxPrintData
*result
= 0 ;
23401 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 result
= (wxPrintData
*)new wxPrintData();
23405 wxPyEndAllowThreads(__tstate
);
23406 if (PyErr_Occurred()) SWIG_fail
;
23408 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23415 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23416 PyObject
*resultobj
= 0;
23417 wxPrintData
*arg1
= 0 ;
23418 wxPrintData
*result
= 0 ;
23422 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23423 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23424 if (!SWIG_IsOK(res1
)) {
23425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23430 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23433 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23444 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23448 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23451 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23454 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23458 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23463 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23464 PyObject
*resultobj
= 0;
23465 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23468 PyObject
*swig_obj
[1] ;
23470 if (!args
) SWIG_fail
;
23471 swig_obj
[0] = args
;
23472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23473 if (!SWIG_IsOK(res1
)) {
23474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23476 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 wxPyEndAllowThreads(__tstate
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23484 resultobj
= SWIG_Py_Void();
23491 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23492 PyObject
*resultobj
= 0;
23493 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23497 PyObject
*swig_obj
[1] ;
23499 if (!args
) SWIG_fail
;
23500 swig_obj
[0] = args
;
23501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23502 if (!SWIG_IsOK(res1
)) {
23503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23505 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 result
= (int)(arg1
)->GetNoCopies();
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23512 resultobj
= SWIG_From_int(static_cast< int >(result
));
23519 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23520 PyObject
*resultobj
= 0;
23521 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23525 PyObject
*swig_obj
[1] ;
23527 if (!args
) SWIG_fail
;
23528 swig_obj
[0] = args
;
23529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23530 if (!SWIG_IsOK(res1
)) {
23531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23533 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 result
= (bool)(arg1
)->GetCollate();
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23549 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23550 PyObject
*resultobj
= 0;
23551 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23555 PyObject
*swig_obj
[1] ;
23557 if (!args
) SWIG_fail
;
23558 swig_obj
[0] = args
;
23559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23560 if (!SWIG_IsOK(res1
)) {
23561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23563 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23566 result
= (int)(arg1
)->GetOrientation();
23567 wxPyEndAllowThreads(__tstate
);
23568 if (PyErr_Occurred()) SWIG_fail
;
23570 resultobj
= SWIG_From_int(static_cast< int >(result
));
23577 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23578 PyObject
*resultobj
= 0;
23579 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23583 PyObject
*swig_obj
[1] ;
23585 if (!args
) SWIG_fail
;
23586 swig_obj
[0] = args
;
23587 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23588 if (!SWIG_IsOK(res1
)) {
23589 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23591 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23594 result
= (bool)(arg1
)->Ok();
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23607 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23608 PyObject
*resultobj
= 0;
23609 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23610 wxString
*result
= 0 ;
23613 PyObject
*swig_obj
[1] ;
23615 if (!args
) SWIG_fail
;
23616 swig_obj
[0] = args
;
23617 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23618 if (!SWIG_IsOK(res1
)) {
23619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23621 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23625 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23626 result
= (wxString
*) &_result_ref
;
23628 wxPyEndAllowThreads(__tstate
);
23629 if (PyErr_Occurred()) SWIG_fail
;
23633 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23635 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23644 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23645 PyObject
*resultobj
= 0;
23646 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23650 PyObject
*swig_obj
[1] ;
23652 if (!args
) SWIG_fail
;
23653 swig_obj
[0] = args
;
23654 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23655 if (!SWIG_IsOK(res1
)) {
23656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23658 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 result
= (bool)(arg1
)->GetColour();
23662 wxPyEndAllowThreads(__tstate
);
23663 if (PyErr_Occurred()) SWIG_fail
;
23666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23674 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23675 PyObject
*resultobj
= 0;
23676 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23677 wxDuplexMode result
;
23680 PyObject
*swig_obj
[1] ;
23682 if (!args
) SWIG_fail
;
23683 swig_obj
[0] = args
;
23684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23685 if (!SWIG_IsOK(res1
)) {
23686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23688 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23691 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 resultobj
= SWIG_From_int(static_cast< int >(result
));
23702 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23703 PyObject
*resultobj
= 0;
23704 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23705 wxPaperSize result
;
23708 PyObject
*swig_obj
[1] ;
23710 if (!args
) SWIG_fail
;
23711 swig_obj
[0] = args
;
23712 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23713 if (!SWIG_IsOK(res1
)) {
23714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23716 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23719 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23720 wxPyEndAllowThreads(__tstate
);
23721 if (PyErr_Occurred()) SWIG_fail
;
23723 resultobj
= SWIG_From_int(static_cast< int >(result
));
23730 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23731 PyObject
*resultobj
= 0;
23732 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23733 wxSize
*result
= 0 ;
23736 PyObject
*swig_obj
[1] ;
23738 if (!args
) SWIG_fail
;
23739 swig_obj
[0] = args
;
23740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23741 if (!SWIG_IsOK(res1
)) {
23742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23744 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23748 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23749 result
= (wxSize
*) &_result_ref
;
23751 wxPyEndAllowThreads(__tstate
);
23752 if (PyErr_Occurred()) SWIG_fail
;
23754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23761 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23762 PyObject
*resultobj
= 0;
23763 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23767 PyObject
*swig_obj
[1] ;
23769 if (!args
) SWIG_fail
;
23770 swig_obj
[0] = args
;
23771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23772 if (!SWIG_IsOK(res1
)) {
23773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23775 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23778 result
= (int)(arg1
)->GetQuality();
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= SWIG_From_int(static_cast< int >(result
));
23789 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23790 PyObject
*resultobj
= 0;
23791 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23795 PyObject
*swig_obj
[1] ;
23797 if (!args
) SWIG_fail
;
23798 swig_obj
[0] = args
;
23799 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23800 if (!SWIG_IsOK(res1
)) {
23801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23803 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= (wxPrintBin
)(arg1
)->GetBin();
23807 wxPyEndAllowThreads(__tstate
);
23808 if (PyErr_Occurred()) SWIG_fail
;
23810 resultobj
= SWIG_From_int(static_cast< int >(result
));
23817 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23818 PyObject
*resultobj
= 0;
23819 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23820 wxPrintMode result
;
23823 PyObject
*swig_obj
[1] ;
23825 if (!args
) SWIG_fail
;
23826 swig_obj
[0] = args
;
23827 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23828 if (!SWIG_IsOK(res1
)) {
23829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23831 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23835 wxPyEndAllowThreads(__tstate
);
23836 if (PyErr_Occurred()) SWIG_fail
;
23838 resultobj
= SWIG_From_int(static_cast< int >(result
));
23845 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23846 PyObject
*resultobj
= 0;
23847 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23853 PyObject
* obj0
= 0 ;
23854 PyObject
* obj1
= 0 ;
23855 char * kwnames
[] = {
23856 (char *) "self",(char *) "v", NULL
23859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23861 if (!SWIG_IsOK(res1
)) {
23862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23864 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23865 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23866 if (!SWIG_IsOK(ecode2
)) {
23867 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23869 arg2
= static_cast< int >(val2
);
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 (arg1
)->SetNoCopies(arg2
);
23873 wxPyEndAllowThreads(__tstate
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23876 resultobj
= SWIG_Py_Void();
23883 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23884 PyObject
*resultobj
= 0;
23885 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23891 PyObject
* obj0
= 0 ;
23892 PyObject
* obj1
= 0 ;
23893 char * kwnames
[] = {
23894 (char *) "self",(char *) "flag", NULL
23897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23899 if (!SWIG_IsOK(res1
)) {
23900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23902 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23903 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23904 if (!SWIG_IsOK(ecode2
)) {
23905 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23907 arg2
= static_cast< bool >(val2
);
23909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23910 (arg1
)->SetCollate(arg2
);
23911 wxPyEndAllowThreads(__tstate
);
23912 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= SWIG_Py_Void();
23921 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
= 0;
23923 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23929 PyObject
* obj0
= 0 ;
23930 PyObject
* obj1
= 0 ;
23931 char * kwnames
[] = {
23932 (char *) "self",(char *) "orient", NULL
23935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23937 if (!SWIG_IsOK(res1
)) {
23938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23940 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23942 if (!SWIG_IsOK(ecode2
)) {
23943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23945 arg2
= static_cast< int >(val2
);
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 (arg1
)->SetOrientation(arg2
);
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23952 resultobj
= SWIG_Py_Void();
23959 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23960 PyObject
*resultobj
= 0;
23961 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23962 wxString
*arg2
= 0 ;
23965 bool temp2
= false ;
23966 PyObject
* obj0
= 0 ;
23967 PyObject
* obj1
= 0 ;
23968 char * kwnames
[] = {
23969 (char *) "self",(char *) "name", NULL
23972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23974 if (!SWIG_IsOK(res1
)) {
23975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23977 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23979 arg2
= wxString_in_helper(obj1
);
23980 if (arg2
== NULL
) SWIG_fail
;
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23989 resultobj
= SWIG_Py_Void();
24004 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24005 PyObject
*resultobj
= 0;
24006 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24012 PyObject
* obj0
= 0 ;
24013 PyObject
* obj1
= 0 ;
24014 char * kwnames
[] = {
24015 (char *) "self",(char *) "colour", NULL
24018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24020 if (!SWIG_IsOK(res1
)) {
24021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24023 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24024 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24025 if (!SWIG_IsOK(ecode2
)) {
24026 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24028 arg2
= static_cast< bool >(val2
);
24030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24031 (arg1
)->SetColour(arg2
);
24032 wxPyEndAllowThreads(__tstate
);
24033 if (PyErr_Occurred()) SWIG_fail
;
24035 resultobj
= SWIG_Py_Void();
24042 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24043 PyObject
*resultobj
= 0;
24044 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24045 wxDuplexMode arg2
;
24050 PyObject
* obj0
= 0 ;
24051 PyObject
* obj1
= 0 ;
24052 char * kwnames
[] = {
24053 (char *) "self",(char *) "duplex", NULL
24056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24058 if (!SWIG_IsOK(res1
)) {
24059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24061 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24062 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24063 if (!SWIG_IsOK(ecode2
)) {
24064 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24066 arg2
= static_cast< wxDuplexMode
>(val2
);
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 (arg1
)->SetDuplex(arg2
);
24070 wxPyEndAllowThreads(__tstate
);
24071 if (PyErr_Occurred()) SWIG_fail
;
24073 resultobj
= SWIG_Py_Void();
24080 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24081 PyObject
*resultobj
= 0;
24082 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24088 PyObject
* obj0
= 0 ;
24089 PyObject
* obj1
= 0 ;
24090 char * kwnames
[] = {
24091 (char *) "self",(char *) "sizeId", NULL
24094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24096 if (!SWIG_IsOK(res1
)) {
24097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24099 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24101 if (!SWIG_IsOK(ecode2
)) {
24102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24104 arg2
= static_cast< wxPaperSize
>(val2
);
24106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24107 (arg1
)->SetPaperId(arg2
);
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 resultobj
= SWIG_Py_Void();
24118 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
= 0;
24120 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24125 PyObject
* obj0
= 0 ;
24126 PyObject
* obj1
= 0 ;
24127 char * kwnames
[] = {
24128 (char *) "self",(char *) "sz", NULL
24131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24133 if (!SWIG_IsOK(res1
)) {
24134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24136 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24139 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24143 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24144 wxPyEndAllowThreads(__tstate
);
24145 if (PyErr_Occurred()) SWIG_fail
;
24147 resultobj
= SWIG_Py_Void();
24154 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24155 PyObject
*resultobj
= 0;
24156 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24162 PyObject
* obj0
= 0 ;
24163 PyObject
* obj1
= 0 ;
24164 char * kwnames
[] = {
24165 (char *) "self",(char *) "quality", NULL
24168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24170 if (!SWIG_IsOK(res1
)) {
24171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24173 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24175 if (!SWIG_IsOK(ecode2
)) {
24176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24178 arg2
= static_cast< int >(val2
);
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 (arg1
)->SetQuality(arg2
);
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24185 resultobj
= SWIG_Py_Void();
24192 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24193 PyObject
*resultobj
= 0;
24194 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24200 PyObject
* obj0
= 0 ;
24201 PyObject
* obj1
= 0 ;
24202 char * kwnames
[] = {
24203 (char *) "self",(char *) "bin", NULL
24206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24208 if (!SWIG_IsOK(res1
)) {
24209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24211 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24212 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24213 if (!SWIG_IsOK(ecode2
)) {
24214 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24216 arg2
= static_cast< wxPrintBin
>(val2
);
24218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24219 (arg1
)->SetBin(arg2
);
24220 wxPyEndAllowThreads(__tstate
);
24221 if (PyErr_Occurred()) SWIG_fail
;
24223 resultobj
= SWIG_Py_Void();
24230 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24231 PyObject
*resultobj
= 0;
24232 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24238 PyObject
* obj0
= 0 ;
24239 PyObject
* obj1
= 0 ;
24240 char * kwnames
[] = {
24241 (char *) "self",(char *) "printMode", NULL
24244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24245 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24246 if (!SWIG_IsOK(res1
)) {
24247 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24249 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24250 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24251 if (!SWIG_IsOK(ecode2
)) {
24252 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24254 arg2
= static_cast< wxPrintMode
>(val2
);
24256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24257 (arg1
)->SetPrintMode(arg2
);
24258 wxPyEndAllowThreads(__tstate
);
24259 if (PyErr_Occurred()) SWIG_fail
;
24261 resultobj
= SWIG_Py_Void();
24268 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24269 PyObject
*resultobj
= 0;
24270 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24274 PyObject
*swig_obj
[1] ;
24276 if (!args
) SWIG_fail
;
24277 swig_obj
[0] = args
;
24278 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24279 if (!SWIG_IsOK(res1
)) {
24280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24282 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24285 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24286 wxPyEndAllowThreads(__tstate
);
24287 if (PyErr_Occurred()) SWIG_fail
;
24291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24302 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24303 PyObject
*resultobj
= 0;
24304 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24305 wxString
*arg2
= 0 ;
24308 bool temp2
= false ;
24309 PyObject
* obj0
= 0 ;
24310 PyObject
* obj1
= 0 ;
24311 char * kwnames
[] = {
24312 (char *) "self",(char *) "filename", NULL
24315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24317 if (!SWIG_IsOK(res1
)) {
24318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24320 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24322 arg2
= wxString_in_helper(obj1
);
24323 if (arg2
== NULL
) SWIG_fail
;
24327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24328 (arg1
)->SetFilename((wxString
const &)*arg2
);
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= SWIG_Py_Void();
24347 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24348 PyObject
*resultobj
= 0;
24349 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24350 PyObject
*result
= 0 ;
24353 PyObject
*swig_obj
[1] ;
24355 if (!args
) SWIG_fail
;
24356 swig_obj
[0] = args
;
24357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24358 if (!SWIG_IsOK(res1
)) {
24359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24361 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24365 wxPyEndAllowThreads(__tstate
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24368 resultobj
= result
;
24375 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24376 PyObject
*resultobj
= 0;
24377 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24378 PyObject
*arg2
= (PyObject
*) 0 ;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 char * kwnames
[] = {
24384 (char *) "self",(char *) "data", NULL
24387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24389 if (!SWIG_IsOK(res1
)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24392 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 wxPrintData_SetPrivData(arg1
,arg2
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24400 resultobj
= SWIG_Py_Void();
24407 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24409 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24410 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24411 return SWIG_Py_Void();
24414 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24415 return SWIG_Python_InitShadowInstance(args
);
24418 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24419 PyObject
*resultobj
= 0;
24420 wxPageSetupDialogData
*result
= 0 ;
24422 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24426 wxPyEndAllowThreads(__tstate
);
24427 if (PyErr_Occurred()) SWIG_fail
;
24429 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24436 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24437 PyObject
*resultobj
= 0;
24438 wxPageSetupDialogData
*arg1
= 0 ;
24439 wxPageSetupDialogData
*result
= 0 ;
24443 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24445 if (!SWIG_IsOK(res1
)) {
24446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24451 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24455 wxPyEndAllowThreads(__tstate
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24458 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24465 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24466 PyObject
*resultobj
= 0;
24467 wxPrintData
*arg1
= 0 ;
24468 wxPageSetupDialogData
*result
= 0 ;
24472 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24474 if (!SWIG_IsOK(res1
)) {
24475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24478 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24480 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24483 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24484 wxPyEndAllowThreads(__tstate
);
24485 if (PyErr_Occurred()) SWIG_fail
;
24487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24494 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24498 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24501 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24506 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24507 _v
= SWIG_CheckState(res
);
24509 if (!_v
) goto check_2
;
24510 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24515 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24519 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24524 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24525 PyObject
*resultobj
= 0;
24526 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24529 PyObject
*swig_obj
[1] ;
24531 if (!args
) SWIG_fail
;
24532 swig_obj
[0] = args
;
24533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24534 if (!SWIG_IsOK(res1
)) {
24535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24537 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24545 resultobj
= SWIG_Py_Void();
24552 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
= 0;
24554 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24560 PyObject
* obj0
= 0 ;
24561 PyObject
* obj1
= 0 ;
24562 char * kwnames
[] = {
24563 (char *) "self",(char *) "flag", NULL
24566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24568 if (!SWIG_IsOK(res1
)) {
24569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24571 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24572 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24573 if (!SWIG_IsOK(ecode2
)) {
24574 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24576 arg2
= static_cast< bool >(val2
);
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 (arg1
)->EnableHelp(arg2
);
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24583 resultobj
= SWIG_Py_Void();
24590 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24591 PyObject
*resultobj
= 0;
24592 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24598 PyObject
* obj0
= 0 ;
24599 PyObject
* obj1
= 0 ;
24600 char * kwnames
[] = {
24601 (char *) "self",(char *) "flag", NULL
24604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24606 if (!SWIG_IsOK(res1
)) {
24607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24609 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24610 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24611 if (!SWIG_IsOK(ecode2
)) {
24612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24614 arg2
= static_cast< bool >(val2
);
24616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24617 (arg1
)->EnableMargins(arg2
);
24618 wxPyEndAllowThreads(__tstate
);
24619 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= SWIG_Py_Void();
24628 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24629 PyObject
*resultobj
= 0;
24630 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24636 PyObject
* obj0
= 0 ;
24637 PyObject
* obj1
= 0 ;
24638 char * kwnames
[] = {
24639 (char *) "self",(char *) "flag", NULL
24642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24644 if (!SWIG_IsOK(res1
)) {
24645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24647 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24648 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24649 if (!SWIG_IsOK(ecode2
)) {
24650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24652 arg2
= static_cast< bool >(val2
);
24654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24655 (arg1
)->EnableOrientation(arg2
);
24656 wxPyEndAllowThreads(__tstate
);
24657 if (PyErr_Occurred()) SWIG_fail
;
24659 resultobj
= SWIG_Py_Void();
24666 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24667 PyObject
*resultobj
= 0;
24668 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24674 PyObject
* obj0
= 0 ;
24675 PyObject
* obj1
= 0 ;
24676 char * kwnames
[] = {
24677 (char *) "self",(char *) "flag", NULL
24680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24682 if (!SWIG_IsOK(res1
)) {
24683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24685 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24686 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24687 if (!SWIG_IsOK(ecode2
)) {
24688 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24690 arg2
= static_cast< bool >(val2
);
24692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24693 (arg1
)->EnablePaper(arg2
);
24694 wxPyEndAllowThreads(__tstate
);
24695 if (PyErr_Occurred()) SWIG_fail
;
24697 resultobj
= SWIG_Py_Void();
24704 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
= 0;
24706 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24712 PyObject
* obj0
= 0 ;
24713 PyObject
* obj1
= 0 ;
24714 char * kwnames
[] = {
24715 (char *) "self",(char *) "flag", NULL
24718 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24719 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24720 if (!SWIG_IsOK(res1
)) {
24721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24723 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24724 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24725 if (!SWIG_IsOK(ecode2
)) {
24726 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24728 arg2
= static_cast< bool >(val2
);
24730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24731 (arg1
)->EnablePrinter(arg2
);
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= SWIG_Py_Void();
24742 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24743 PyObject
*resultobj
= 0;
24744 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24748 PyObject
*swig_obj
[1] ;
24750 if (!args
) SWIG_fail
;
24751 swig_obj
[0] = args
;
24752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24753 if (!SWIG_IsOK(res1
)) {
24754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24756 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24759 result
= (bool)(arg1
)->GetDefaultMinMargins();
24760 wxPyEndAllowThreads(__tstate
);
24761 if (PyErr_Occurred()) SWIG_fail
;
24764 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24772 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24773 PyObject
*resultobj
= 0;
24774 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24778 PyObject
*swig_obj
[1] ;
24780 if (!args
) SWIG_fail
;
24781 swig_obj
[0] = args
;
24782 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24783 if (!SWIG_IsOK(res1
)) {
24784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24786 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24789 result
= (bool)(arg1
)->GetEnableMargins();
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24802 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24803 PyObject
*resultobj
= 0;
24804 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24808 PyObject
*swig_obj
[1] ;
24810 if (!args
) SWIG_fail
;
24811 swig_obj
[0] = args
;
24812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24813 if (!SWIG_IsOK(res1
)) {
24814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24816 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (bool)(arg1
)->GetEnableOrientation();
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24824 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24832 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24833 PyObject
*resultobj
= 0;
24834 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24838 PyObject
*swig_obj
[1] ;
24840 if (!args
) SWIG_fail
;
24841 swig_obj
[0] = args
;
24842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24843 if (!SWIG_IsOK(res1
)) {
24844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24846 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24849 result
= (bool)(arg1
)->GetEnablePaper();
24850 wxPyEndAllowThreads(__tstate
);
24851 if (PyErr_Occurred()) SWIG_fail
;
24854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24862 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24863 PyObject
*resultobj
= 0;
24864 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24868 PyObject
*swig_obj
[1] ;
24870 if (!args
) SWIG_fail
;
24871 swig_obj
[0] = args
;
24872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24873 if (!SWIG_IsOK(res1
)) {
24874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24876 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24879 result
= (bool)(arg1
)->GetEnablePrinter();
24880 wxPyEndAllowThreads(__tstate
);
24881 if (PyErr_Occurred()) SWIG_fail
;
24884 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24892 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24893 PyObject
*resultobj
= 0;
24894 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24898 PyObject
*swig_obj
[1] ;
24900 if (!args
) SWIG_fail
;
24901 swig_obj
[0] = args
;
24902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24903 if (!SWIG_IsOK(res1
)) {
24904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24906 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24909 result
= (bool)(arg1
)->GetEnableHelp();
24910 wxPyEndAllowThreads(__tstate
);
24911 if (PyErr_Occurred()) SWIG_fail
;
24914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24922 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24923 PyObject
*resultobj
= 0;
24924 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24928 PyObject
*swig_obj
[1] ;
24930 if (!args
) SWIG_fail
;
24931 swig_obj
[0] = args
;
24932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24933 if (!SWIG_IsOK(res1
)) {
24934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24936 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24939 result
= (bool)(arg1
)->GetDefaultInfo();
24940 wxPyEndAllowThreads(__tstate
);
24941 if (PyErr_Occurred()) SWIG_fail
;
24944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24952 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24953 PyObject
*resultobj
= 0;
24954 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24958 PyObject
*swig_obj
[1] ;
24960 if (!args
) SWIG_fail
;
24961 swig_obj
[0] = args
;
24962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24963 if (!SWIG_IsOK(res1
)) {
24964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24966 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24969 result
= (arg1
)->GetMarginTopLeft();
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24973 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24980 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24981 PyObject
*resultobj
= 0;
24982 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24986 PyObject
*swig_obj
[1] ;
24988 if (!args
) SWIG_fail
;
24989 swig_obj
[0] = args
;
24990 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24991 if (!SWIG_IsOK(res1
)) {
24992 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24994 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (arg1
)->GetMarginBottomRight();
24998 wxPyEndAllowThreads(__tstate
);
24999 if (PyErr_Occurred()) SWIG_fail
;
25001 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25008 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25009 PyObject
*resultobj
= 0;
25010 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25014 PyObject
*swig_obj
[1] ;
25016 if (!args
) SWIG_fail
;
25017 swig_obj
[0] = args
;
25018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25019 if (!SWIG_IsOK(res1
)) {
25020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25022 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 result
= (arg1
)->GetMinMarginTopLeft();
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25036 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25037 PyObject
*resultobj
= 0;
25038 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25042 PyObject
*swig_obj
[1] ;
25044 if (!args
) SWIG_fail
;
25045 swig_obj
[0] = args
;
25046 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25047 if (!SWIG_IsOK(res1
)) {
25048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25050 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25053 result
= (arg1
)->GetMinMarginBottomRight();
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25064 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25065 PyObject
*resultobj
= 0;
25066 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25067 wxPaperSize result
;
25070 PyObject
*swig_obj
[1] ;
25072 if (!args
) SWIG_fail
;
25073 swig_obj
[0] = args
;
25074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25075 if (!SWIG_IsOK(res1
)) {
25076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25078 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25081 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25082 wxPyEndAllowThreads(__tstate
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= SWIG_From_int(static_cast< int >(result
));
25092 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25093 PyObject
*resultobj
= 0;
25094 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25098 PyObject
*swig_obj
[1] ;
25100 if (!args
) SWIG_fail
;
25101 swig_obj
[0] = args
;
25102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25103 if (!SWIG_IsOK(res1
)) {
25104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25106 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25109 result
= (arg1
)->GetPaperSize();
25110 wxPyEndAllowThreads(__tstate
);
25111 if (PyErr_Occurred()) SWIG_fail
;
25113 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25120 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25121 PyObject
*resultobj
= 0;
25122 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25123 wxPrintData
*result
= 0 ;
25126 PyObject
*swig_obj
[1] ;
25128 if (!args
) SWIG_fail
;
25129 swig_obj
[0] = args
;
25130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25131 if (!SWIG_IsOK(res1
)) {
25132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25134 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25139 result
= (wxPrintData
*) &_result_ref
;
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25144 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25151 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25152 PyObject
*resultobj
= 0;
25153 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25157 PyObject
*swig_obj
[1] ;
25159 if (!args
) SWIG_fail
;
25160 swig_obj
[0] = args
;
25161 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25162 if (!SWIG_IsOK(res1
)) {
25163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25165 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25168 result
= (bool)(arg1
)->Ok();
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25181 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25182 PyObject
*resultobj
= 0;
25183 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25189 PyObject
* obj0
= 0 ;
25190 PyObject
* obj1
= 0 ;
25191 char * kwnames
[] = {
25192 (char *) "self",(char *) "flag", NULL
25195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25197 if (!SWIG_IsOK(res1
)) {
25198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25200 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25201 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25202 if (!SWIG_IsOK(ecode2
)) {
25203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25205 arg2
= static_cast< bool >(val2
);
25207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25208 (arg1
)->SetDefaultInfo(arg2
);
25209 wxPyEndAllowThreads(__tstate
);
25210 if (PyErr_Occurred()) SWIG_fail
;
25212 resultobj
= SWIG_Py_Void();
25219 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25220 PyObject
*resultobj
= 0;
25221 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25227 PyObject
* obj0
= 0 ;
25228 PyObject
* obj1
= 0 ;
25229 char * kwnames
[] = {
25230 (char *) "self",(char *) "flag", NULL
25233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25235 if (!SWIG_IsOK(res1
)) {
25236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25238 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25239 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25240 if (!SWIG_IsOK(ecode2
)) {
25241 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25243 arg2
= static_cast< bool >(val2
);
25245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25246 (arg1
)->SetDefaultMinMargins(arg2
);
25247 wxPyEndAllowThreads(__tstate
);
25248 if (PyErr_Occurred()) SWIG_fail
;
25250 resultobj
= SWIG_Py_Void();
25257 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25258 PyObject
*resultobj
= 0;
25259 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25260 wxPoint
*arg2
= 0 ;
25264 PyObject
* obj0
= 0 ;
25265 PyObject
* obj1
= 0 ;
25266 char * kwnames
[] = {
25267 (char *) "self",(char *) "pt", NULL
25270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25272 if (!SWIG_IsOK(res1
)) {
25273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25275 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25278 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25283 wxPyEndAllowThreads(__tstate
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25286 resultobj
= SWIG_Py_Void();
25293 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25294 PyObject
*resultobj
= 0;
25295 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25296 wxPoint
*arg2
= 0 ;
25300 PyObject
* obj0
= 0 ;
25301 PyObject
* obj1
= 0 ;
25302 char * kwnames
[] = {
25303 (char *) "self",(char *) "pt", NULL
25306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25308 if (!SWIG_IsOK(res1
)) {
25309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25311 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25314 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25319 wxPyEndAllowThreads(__tstate
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 resultobj
= SWIG_Py_Void();
25329 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25330 PyObject
*resultobj
= 0;
25331 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25332 wxPoint
*arg2
= 0 ;
25336 PyObject
* obj0
= 0 ;
25337 PyObject
* obj1
= 0 ;
25338 char * kwnames
[] = {
25339 (char *) "self",(char *) "pt", NULL
25342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25344 if (!SWIG_IsOK(res1
)) {
25345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25347 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25350 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25354 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25355 wxPyEndAllowThreads(__tstate
);
25356 if (PyErr_Occurred()) SWIG_fail
;
25358 resultobj
= SWIG_Py_Void();
25365 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25366 PyObject
*resultobj
= 0;
25367 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25368 wxPoint
*arg2
= 0 ;
25372 PyObject
* obj0
= 0 ;
25373 PyObject
* obj1
= 0 ;
25374 char * kwnames
[] = {
25375 (char *) "self",(char *) "pt", NULL
25378 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25379 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25380 if (!SWIG_IsOK(res1
)) {
25381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25383 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25386 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25390 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25391 wxPyEndAllowThreads(__tstate
);
25392 if (PyErr_Occurred()) SWIG_fail
;
25394 resultobj
= SWIG_Py_Void();
25401 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25402 PyObject
*resultobj
= 0;
25403 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25409 PyObject
* obj0
= 0 ;
25410 PyObject
* obj1
= 0 ;
25411 char * kwnames
[] = {
25412 (char *) "self",(char *) "id", NULL
25415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25417 if (!SWIG_IsOK(res1
)) {
25418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25420 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25422 if (!SWIG_IsOK(ecode2
)) {
25423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25425 arg2
= static_cast< wxPaperSize
>(val2
);
25427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25428 (arg1
)->SetPaperId(arg2
);
25429 wxPyEndAllowThreads(__tstate
);
25430 if (PyErr_Occurred()) SWIG_fail
;
25432 resultobj
= SWIG_Py_Void();
25439 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25440 PyObject
*resultobj
= 0;
25441 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25446 PyObject
* obj0
= 0 ;
25447 PyObject
* obj1
= 0 ;
25448 char * kwnames
[] = {
25449 (char *) "self",(char *) "size", NULL
25452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25454 if (!SWIG_IsOK(res1
)) {
25455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25457 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25460 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25465 wxPyEndAllowThreads(__tstate
);
25466 if (PyErr_Occurred()) SWIG_fail
;
25468 resultobj
= SWIG_Py_Void();
25475 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25476 PyObject
*resultobj
= 0;
25477 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25478 wxPrintData
*arg2
= 0 ;
25483 PyObject
* obj0
= 0 ;
25484 PyObject
* obj1
= 0 ;
25485 char * kwnames
[] = {
25486 (char *) "self",(char *) "printData", NULL
25489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25491 if (!SWIG_IsOK(res1
)) {
25492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25494 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25495 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25496 if (!SWIG_IsOK(res2
)) {
25497 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25500 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25502 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25506 wxPyEndAllowThreads(__tstate
);
25507 if (PyErr_Occurred()) SWIG_fail
;
25509 resultobj
= SWIG_Py_Void();
25516 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25517 PyObject
*resultobj
= 0;
25518 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25521 PyObject
*swig_obj
[1] ;
25523 if (!args
) SWIG_fail
;
25524 swig_obj
[0] = args
;
25525 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25526 if (!SWIG_IsOK(res1
)) {
25527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25529 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25532 (arg1
)->CalculateIdFromPaperSize();
25533 wxPyEndAllowThreads(__tstate
);
25534 if (PyErr_Occurred()) SWIG_fail
;
25536 resultobj
= SWIG_Py_Void();
25543 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25544 PyObject
*resultobj
= 0;
25545 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25548 PyObject
*swig_obj
[1] ;
25550 if (!args
) SWIG_fail
;
25551 swig_obj
[0] = args
;
25552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25553 if (!SWIG_IsOK(res1
)) {
25554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25556 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25559 (arg1
)->CalculatePaperSizeFromId();
25560 wxPyEndAllowThreads(__tstate
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25563 resultobj
= SWIG_Py_Void();
25570 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25573 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25574 return SWIG_Py_Void();
25577 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25578 return SWIG_Python_InitShadowInstance(args
);
25581 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25582 PyObject
*resultobj
= 0;
25583 wxWindow
*arg1
= (wxWindow
*) 0 ;
25584 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25585 wxPageSetupDialog
*result
= 0 ;
25590 PyObject
* obj0
= 0 ;
25591 PyObject
* obj1
= 0 ;
25592 char * kwnames
[] = {
25593 (char *) "parent",(char *) "data", NULL
25596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25598 if (!SWIG_IsOK(res1
)) {
25599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25601 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25603 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25604 if (!SWIG_IsOK(res2
)) {
25605 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25607 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25610 if (!wxPyCheckForApp()) SWIG_fail
;
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25612 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25613 wxPyEndAllowThreads(__tstate
);
25614 if (PyErr_Occurred()) SWIG_fail
;
25616 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25623 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25624 PyObject
*resultobj
= 0;
25625 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25628 PyObject
*swig_obj
[1] ;
25630 if (!args
) SWIG_fail
;
25631 swig_obj
[0] = args
;
25632 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25633 if (!SWIG_IsOK(res1
)) {
25634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25636 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 wxPyEndAllowThreads(__tstate
);
25642 if (PyErr_Occurred()) SWIG_fail
;
25644 resultobj
= SWIG_Py_Void();
25651 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25652 PyObject
*resultobj
= 0;
25653 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25654 wxPageSetupDialogData
*result
= 0 ;
25657 PyObject
*swig_obj
[1] ;
25659 if (!args
) SWIG_fail
;
25660 swig_obj
[0] = args
;
25661 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25662 if (!SWIG_IsOK(res1
)) {
25663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25665 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25670 result
= (wxPageSetupDialogData
*) &_result_ref
;
25672 wxPyEndAllowThreads(__tstate
);
25673 if (PyErr_Occurred()) SWIG_fail
;
25675 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25682 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25683 PyObject
*resultobj
= 0;
25684 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25685 wxPageSetupDialogData
*result
= 0 ;
25688 PyObject
*swig_obj
[1] ;
25690 if (!args
) SWIG_fail
;
25691 swig_obj
[0] = args
;
25692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25693 if (!SWIG_IsOK(res1
)) {
25694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25696 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25700 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25701 result
= (wxPageSetupDialogData
*) &_result_ref
;
25703 wxPyEndAllowThreads(__tstate
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25706 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25713 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25714 PyObject
*resultobj
= 0;
25715 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 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_wxPageSetupDialog
, 0 | 0 );
25724 if (!SWIG_IsOK(res1
)) {
25725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25727 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25730 result
= (int)(arg1
)->ShowModal();
25731 wxPyEndAllowThreads(__tstate
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 resultobj
= SWIG_From_int(static_cast< int >(result
));
25741 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25744 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25745 return SWIG_Py_Void();
25748 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25749 return SWIG_Python_InitShadowInstance(args
);
25752 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25753 PyObject
*resultobj
= 0;
25754 wxPrintDialogData
*result
= 0 ;
25756 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25759 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25760 wxPyEndAllowThreads(__tstate
);
25761 if (PyErr_Occurred()) SWIG_fail
;
25763 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25770 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25771 PyObject
*resultobj
= 0;
25772 wxPrintData
*arg1
= 0 ;
25773 wxPrintDialogData
*result
= 0 ;
25777 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25779 if (!SWIG_IsOK(res1
)) {
25780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25783 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25785 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25788 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25789 wxPyEndAllowThreads(__tstate
);
25790 if (PyErr_Occurred()) SWIG_fail
;
25792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25799 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25800 PyObject
*resultobj
= 0;
25801 wxPrintDialogData
*arg1
= 0 ;
25802 wxPrintDialogData
*result
= 0 ;
25806 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25808 if (!SWIG_IsOK(res1
)) {
25809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25812 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25814 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25817 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25828 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25832 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25835 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25840 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25841 _v
= SWIG_CheckState(res
);
25843 if (!_v
) goto check_2
;
25844 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25849 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25853 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25858 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25859 PyObject
*resultobj
= 0;
25860 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25863 PyObject
*swig_obj
[1] ;
25865 if (!args
) SWIG_fail
;
25866 swig_obj
[0] = args
;
25867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25868 if (!SWIG_IsOK(res1
)) {
25869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25871 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25876 wxPyEndAllowThreads(__tstate
);
25877 if (PyErr_Occurred()) SWIG_fail
;
25879 resultobj
= SWIG_Py_Void();
25886 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25887 PyObject
*resultobj
= 0;
25888 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25892 PyObject
*swig_obj
[1] ;
25894 if (!args
) SWIG_fail
;
25895 swig_obj
[0] = args
;
25896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25897 if (!SWIG_IsOK(res1
)) {
25898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25900 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25903 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25904 wxPyEndAllowThreads(__tstate
);
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 resultobj
= SWIG_From_int(static_cast< int >(result
));
25914 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25915 PyObject
*resultobj
= 0;
25916 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25920 PyObject
*swig_obj
[1] ;
25922 if (!args
) SWIG_fail
;
25923 swig_obj
[0] = args
;
25924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25925 if (!SWIG_IsOK(res1
)) {
25926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25928 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25931 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= SWIG_From_int(static_cast< int >(result
));
25942 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25943 PyObject
*resultobj
= 0;
25944 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25948 PyObject
*swig_obj
[1] ;
25950 if (!args
) SWIG_fail
;
25951 swig_obj
[0] = args
;
25952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25953 if (!SWIG_IsOK(res1
)) {
25954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25956 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25963 resultobj
= SWIG_From_int(static_cast< int >(result
));
25970 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25971 PyObject
*resultobj
= 0;
25972 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25976 PyObject
*swig_obj
[1] ;
25978 if (!args
) SWIG_fail
;
25979 swig_obj
[0] = args
;
25980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25981 if (!SWIG_IsOK(res1
)) {
25982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25984 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25987 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 resultobj
= SWIG_From_int(static_cast< int >(result
));
25998 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25999 PyObject
*resultobj
= 0;
26000 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26004 PyObject
*swig_obj
[1] ;
26006 if (!args
) SWIG_fail
;
26007 swig_obj
[0] = args
;
26008 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26009 if (!SWIG_IsOK(res1
)) {
26010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26012 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26015 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26016 wxPyEndAllowThreads(__tstate
);
26017 if (PyErr_Occurred()) SWIG_fail
;
26019 resultobj
= SWIG_From_int(static_cast< int >(result
));
26026 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26027 PyObject
*resultobj
= 0;
26028 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26032 PyObject
*swig_obj
[1] ;
26034 if (!args
) SWIG_fail
;
26035 swig_obj
[0] = args
;
26036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26037 if (!SWIG_IsOK(res1
)) {
26038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26040 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26043 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26044 wxPyEndAllowThreads(__tstate
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26056 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26057 PyObject
*resultobj
= 0;
26058 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26062 PyObject
*swig_obj
[1] ;
26064 if (!args
) SWIG_fail
;
26065 swig_obj
[0] = args
;
26066 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26067 if (!SWIG_IsOK(res1
)) {
26068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26070 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26073 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26074 wxPyEndAllowThreads(__tstate
);
26075 if (PyErr_Occurred()) SWIG_fail
;
26078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26086 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26087 PyObject
*resultobj
= 0;
26088 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26092 PyObject
*swig_obj
[1] ;
26094 if (!args
) SWIG_fail
;
26095 swig_obj
[0] = args
;
26096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26097 if (!SWIG_IsOK(res1
)) {
26098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26100 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26103 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26104 wxPyEndAllowThreads(__tstate
);
26105 if (PyErr_Occurred()) SWIG_fail
;
26108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26116 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26117 PyObject
*resultobj
= 0;
26118 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26122 PyObject
*swig_obj
[1] ;
26124 if (!args
) SWIG_fail
;
26125 swig_obj
[0] = args
;
26126 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26127 if (!SWIG_IsOK(res1
)) {
26128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26130 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26133 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26134 wxPyEndAllowThreads(__tstate
);
26135 if (PyErr_Occurred()) SWIG_fail
;
26138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26146 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26147 PyObject
*resultobj
= 0;
26148 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26154 PyObject
* obj0
= 0 ;
26155 PyObject
* obj1
= 0 ;
26156 char * kwnames
[] = {
26157 (char *) "self",(char *) "v", NULL
26160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26162 if (!SWIG_IsOK(res1
)) {
26163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26165 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26166 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26167 if (!SWIG_IsOK(ecode2
)) {
26168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26170 arg2
= static_cast< int >(val2
);
26172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26173 (arg1
)->SetFromPage(arg2
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26177 resultobj
= SWIG_Py_Void();
26184 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
= 0;
26186 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26192 PyObject
* obj0
= 0 ;
26193 PyObject
* obj1
= 0 ;
26194 char * kwnames
[] = {
26195 (char *) "self",(char *) "v", NULL
26198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26200 if (!SWIG_IsOK(res1
)) {
26201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26203 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26205 if (!SWIG_IsOK(ecode2
)) {
26206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26208 arg2
= static_cast< int >(val2
);
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 (arg1
)->SetToPage(arg2
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= SWIG_Py_Void();
26222 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
= 0;
26224 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26230 PyObject
* obj0
= 0 ;
26231 PyObject
* obj1
= 0 ;
26232 char * kwnames
[] = {
26233 (char *) "self",(char *) "v", NULL
26236 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26237 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26238 if (!SWIG_IsOK(res1
)) {
26239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26241 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26242 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26243 if (!SWIG_IsOK(ecode2
)) {
26244 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26246 arg2
= static_cast< int >(val2
);
26248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26249 (arg1
)->SetMinPage(arg2
);
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26253 resultobj
= SWIG_Py_Void();
26260 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26261 PyObject
*resultobj
= 0;
26262 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26268 PyObject
* obj0
= 0 ;
26269 PyObject
* obj1
= 0 ;
26270 char * kwnames
[] = {
26271 (char *) "self",(char *) "v", NULL
26274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26276 if (!SWIG_IsOK(res1
)) {
26277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26279 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26280 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26281 if (!SWIG_IsOK(ecode2
)) {
26282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26284 arg2
= static_cast< int >(val2
);
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 (arg1
)->SetMaxPage(arg2
);
26288 wxPyEndAllowThreads(__tstate
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 resultobj
= SWIG_Py_Void();
26298 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26299 PyObject
*resultobj
= 0;
26300 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26306 PyObject
* obj0
= 0 ;
26307 PyObject
* obj1
= 0 ;
26308 char * kwnames
[] = {
26309 (char *) "self",(char *) "v", NULL
26312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26314 if (!SWIG_IsOK(res1
)) {
26315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26317 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26319 if (!SWIG_IsOK(ecode2
)) {
26320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26322 arg2
= static_cast< int >(val2
);
26324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26325 (arg1
)->SetNoCopies(arg2
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26329 resultobj
= SWIG_Py_Void();
26336 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
= 0;
26338 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26344 PyObject
* obj0
= 0 ;
26345 PyObject
* obj1
= 0 ;
26346 char * kwnames
[] = {
26347 (char *) "self",(char *) "flag", NULL
26350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26351 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26352 if (!SWIG_IsOK(res1
)) {
26353 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26355 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26356 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26357 if (!SWIG_IsOK(ecode2
)) {
26358 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26360 arg2
= static_cast< bool >(val2
);
26362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26363 (arg1
)->SetAllPages(arg2
);
26364 wxPyEndAllowThreads(__tstate
);
26365 if (PyErr_Occurred()) SWIG_fail
;
26367 resultobj
= SWIG_Py_Void();
26374 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26375 PyObject
*resultobj
= 0;
26376 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 PyObject
* obj1
= 0 ;
26384 char * kwnames
[] = {
26385 (char *) "self",(char *) "flag", NULL
26388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26390 if (!SWIG_IsOK(res1
)) {
26391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26393 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26394 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26395 if (!SWIG_IsOK(ecode2
)) {
26396 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26398 arg2
= static_cast< bool >(val2
);
26400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26401 (arg1
)->SetSelection(arg2
);
26402 wxPyEndAllowThreads(__tstate
);
26403 if (PyErr_Occurred()) SWIG_fail
;
26405 resultobj
= SWIG_Py_Void();
26412 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26413 PyObject
*resultobj
= 0;
26414 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26420 PyObject
* obj0
= 0 ;
26421 PyObject
* obj1
= 0 ;
26422 char * kwnames
[] = {
26423 (char *) "self",(char *) "flag", NULL
26426 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26427 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26428 if (!SWIG_IsOK(res1
)) {
26429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26431 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26432 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26433 if (!SWIG_IsOK(ecode2
)) {
26434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26436 arg2
= static_cast< bool >(val2
);
26438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26439 (arg1
)->SetCollate(arg2
);
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26443 resultobj
= SWIG_Py_Void();
26450 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26451 PyObject
*resultobj
= 0;
26452 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 char * kwnames
[] = {
26461 (char *) "self",(char *) "flag", NULL
26464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26466 if (!SWIG_IsOK(res1
)) {
26467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26469 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26470 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26471 if (!SWIG_IsOK(ecode2
)) {
26472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26474 arg2
= static_cast< bool >(val2
);
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 (arg1
)->SetPrintToFile(arg2
);
26478 wxPyEndAllowThreads(__tstate
);
26479 if (PyErr_Occurred()) SWIG_fail
;
26481 resultobj
= SWIG_Py_Void();
26488 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26489 PyObject
*resultobj
= 0;
26490 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26496 PyObject
* obj0
= 0 ;
26497 PyObject
* obj1
= 0 ;
26498 char * kwnames
[] = {
26499 (char *) "self",(char *) "flag", NULL
26502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26504 if (!SWIG_IsOK(res1
)) {
26505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26507 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26508 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26509 if (!SWIG_IsOK(ecode2
)) {
26510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26512 arg2
= static_cast< bool >(val2
);
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 (arg1
)->EnablePrintToFile(arg2
);
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26519 resultobj
= SWIG_Py_Void();
26526 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26527 PyObject
*resultobj
= 0;
26528 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26534 PyObject
* obj0
= 0 ;
26535 PyObject
* obj1
= 0 ;
26536 char * kwnames
[] = {
26537 (char *) "self",(char *) "flag", NULL
26540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26542 if (!SWIG_IsOK(res1
)) {
26543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26545 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26546 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26547 if (!SWIG_IsOK(ecode2
)) {
26548 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26550 arg2
= static_cast< bool >(val2
);
26552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26553 (arg1
)->EnableSelection(arg2
);
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= SWIG_Py_Void();
26564 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
= 0;
26566 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 char * kwnames
[] = {
26575 (char *) "self",(char *) "flag", NULL
26578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26580 if (!SWIG_IsOK(res1
)) {
26581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26583 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26584 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26585 if (!SWIG_IsOK(ecode2
)) {
26586 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26588 arg2
= static_cast< bool >(val2
);
26590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26591 (arg1
)->EnablePageNumbers(arg2
);
26592 wxPyEndAllowThreads(__tstate
);
26593 if (PyErr_Occurred()) SWIG_fail
;
26595 resultobj
= SWIG_Py_Void();
26602 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
= 0;
26604 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26610 PyObject
* obj0
= 0 ;
26611 PyObject
* obj1
= 0 ;
26612 char * kwnames
[] = {
26613 (char *) "self",(char *) "flag", NULL
26616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26618 if (!SWIG_IsOK(res1
)) {
26619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26621 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26622 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26623 if (!SWIG_IsOK(ecode2
)) {
26624 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26626 arg2
= static_cast< bool >(val2
);
26628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26629 (arg1
)->EnableHelp(arg2
);
26630 wxPyEndAllowThreads(__tstate
);
26631 if (PyErr_Occurred()) SWIG_fail
;
26633 resultobj
= SWIG_Py_Void();
26640 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26641 PyObject
*resultobj
= 0;
26642 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26646 PyObject
*swig_obj
[1] ;
26648 if (!args
) SWIG_fail
;
26649 swig_obj
[0] = args
;
26650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26651 if (!SWIG_IsOK(res1
)) {
26652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26654 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26657 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26658 wxPyEndAllowThreads(__tstate
);
26659 if (PyErr_Occurred()) SWIG_fail
;
26662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26670 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26671 PyObject
*resultobj
= 0;
26672 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26676 PyObject
*swig_obj
[1] ;
26678 if (!args
) SWIG_fail
;
26679 swig_obj
[0] = args
;
26680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26681 if (!SWIG_IsOK(res1
)) {
26682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26684 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26687 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26688 wxPyEndAllowThreads(__tstate
);
26689 if (PyErr_Occurred()) SWIG_fail
;
26692 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26700 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26701 PyObject
*resultobj
= 0;
26702 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26706 PyObject
*swig_obj
[1] ;
26708 if (!args
) SWIG_fail
;
26709 swig_obj
[0] = args
;
26710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26711 if (!SWIG_IsOK(res1
)) {
26712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26714 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26717 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26718 wxPyEndAllowThreads(__tstate
);
26719 if (PyErr_Occurred()) SWIG_fail
;
26722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26730 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26731 PyObject
*resultobj
= 0;
26732 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26736 PyObject
*swig_obj
[1] ;
26738 if (!args
) SWIG_fail
;
26739 swig_obj
[0] = args
;
26740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26741 if (!SWIG_IsOK(res1
)) {
26742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26744 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26747 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26748 wxPyEndAllowThreads(__tstate
);
26749 if (PyErr_Occurred()) SWIG_fail
;
26752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26760 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26761 PyObject
*resultobj
= 0;
26762 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26766 PyObject
*swig_obj
[1] ;
26768 if (!args
) SWIG_fail
;
26769 swig_obj
[0] = args
;
26770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26771 if (!SWIG_IsOK(res1
)) {
26772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26774 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26777 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26790 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26791 PyObject
*resultobj
= 0;
26792 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26793 wxPrintData
*result
= 0 ;
26796 PyObject
*swig_obj
[1] ;
26798 if (!args
) SWIG_fail
;
26799 swig_obj
[0] = args
;
26800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26801 if (!SWIG_IsOK(res1
)) {
26802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26804 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26809 result
= (wxPrintData
*) &_result_ref
;
26811 wxPyEndAllowThreads(__tstate
);
26812 if (PyErr_Occurred()) SWIG_fail
;
26814 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26821 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
= 0;
26823 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26824 wxPrintData
*arg2
= 0 ;
26829 PyObject
* obj0
= 0 ;
26830 PyObject
* obj1
= 0 ;
26831 char * kwnames
[] = {
26832 (char *) "self",(char *) "printData", NULL
26835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26837 if (!SWIG_IsOK(res1
)) {
26838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26840 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26841 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26842 if (!SWIG_IsOK(res2
)) {
26843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26846 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26848 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26851 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26852 wxPyEndAllowThreads(__tstate
);
26853 if (PyErr_Occurred()) SWIG_fail
;
26855 resultobj
= SWIG_Py_Void();
26862 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26865 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26866 return SWIG_Py_Void();
26869 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26870 return SWIG_Python_InitShadowInstance(args
);
26873 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26874 PyObject
*resultobj
= 0;
26875 wxWindow
*arg1
= (wxWindow
*) 0 ;
26876 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26877 wxPrintDialog
*result
= 0 ;
26882 PyObject
* obj0
= 0 ;
26883 PyObject
* obj1
= 0 ;
26884 char * kwnames
[] = {
26885 (char *) "parent",(char *) "data", NULL
26888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26889 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26890 if (!SWIG_IsOK(res1
)) {
26891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26893 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26895 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26896 if (!SWIG_IsOK(res2
)) {
26897 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26899 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26902 if (!wxPyCheckForApp()) SWIG_fail
;
26903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26904 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26905 wxPyEndAllowThreads(__tstate
);
26906 if (PyErr_Occurred()) SWIG_fail
;
26908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26915 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26916 PyObject
*resultobj
= 0;
26917 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26920 PyObject
*swig_obj
[1] ;
26922 if (!args
) SWIG_fail
;
26923 swig_obj
[0] = args
;
26924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26925 if (!SWIG_IsOK(res1
)) {
26926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26928 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26933 wxPyEndAllowThreads(__tstate
);
26934 if (PyErr_Occurred()) SWIG_fail
;
26936 resultobj
= SWIG_Py_Void();
26943 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26944 PyObject
*resultobj
= 0;
26945 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26949 PyObject
*swig_obj
[1] ;
26951 if (!args
) SWIG_fail
;
26952 swig_obj
[0] = args
;
26953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26954 if (!SWIG_IsOK(res1
)) {
26955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26957 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 result
= (int)(arg1
)->ShowModal();
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= SWIG_From_int(static_cast< int >(result
));
26971 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26972 PyObject
*resultobj
= 0;
26973 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26974 wxPrintDialogData
*result
= 0 ;
26977 PyObject
*swig_obj
[1] ;
26979 if (!args
) SWIG_fail
;
26980 swig_obj
[0] = args
;
26981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26982 if (!SWIG_IsOK(res1
)) {
26983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26985 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26989 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26990 result
= (wxPrintDialogData
*) &_result_ref
;
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27002 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27003 PyObject
*resultobj
= 0;
27004 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27005 wxPrintData
*result
= 0 ;
27008 PyObject
*swig_obj
[1] ;
27010 if (!args
) SWIG_fail
;
27011 swig_obj
[0] = args
;
27012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27013 if (!SWIG_IsOK(res1
)) {
27014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27016 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27020 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27021 result
= (wxPrintData
*) &_result_ref
;
27023 wxPyEndAllowThreads(__tstate
);
27024 if (PyErr_Occurred()) SWIG_fail
;
27026 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27033 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27034 PyObject
*resultobj
= 0;
27035 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27039 PyObject
*swig_obj
[1] ;
27041 if (!args
) SWIG_fail
;
27042 swig_obj
[0] = args
;
27043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27044 if (!SWIG_IsOK(res1
)) {
27045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27047 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 result
= (wxDC
*)(arg1
)->GetPrintDC();
27051 wxPyEndAllowThreads(__tstate
);
27052 if (PyErr_Occurred()) SWIG_fail
;
27055 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27063 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27066 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27067 return SWIG_Py_Void();
27070 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27071 return SWIG_Python_InitShadowInstance(args
);
27074 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
= 0;
27076 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27077 wxPrinter
*result
= 0 ;
27080 PyObject
* obj0
= 0 ;
27081 char * kwnames
[] = {
27082 (char *) "data", NULL
27085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27088 if (!SWIG_IsOK(res1
)) {
27089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27091 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27094 if (!wxPyCheckForApp()) SWIG_fail
;
27095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27096 result
= (wxPrinter
*)new wxPrinter(arg1
);
27097 wxPyEndAllowThreads(__tstate
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27107 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27108 PyObject
*resultobj
= 0;
27109 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27112 PyObject
*swig_obj
[1] ;
27114 if (!args
) SWIG_fail
;
27115 swig_obj
[0] = args
;
27116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27117 if (!SWIG_IsOK(res1
)) {
27118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27120 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27125 wxPyEndAllowThreads(__tstate
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27128 resultobj
= SWIG_Py_Void();
27135 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27136 PyObject
*resultobj
= 0;
27137 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27138 wxWindow
*arg2
= (wxWindow
*) 0 ;
27139 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27140 wxWindow
*result
= 0 ;
27147 PyObject
* obj0
= 0 ;
27148 PyObject
* obj1
= 0 ;
27149 PyObject
* obj2
= 0 ;
27150 char * kwnames
[] = {
27151 (char *) "self",(char *) "parent",(char *) "printout", NULL
27154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27156 if (!SWIG_IsOK(res1
)) {
27157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27159 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27161 if (!SWIG_IsOK(res2
)) {
27162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27164 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27165 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27166 if (!SWIG_IsOK(res3
)) {
27167 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27169 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27172 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= wxPyMake_wxObject(result
, 0);
27185 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27186 PyObject
*resultobj
= 0;
27187 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27188 wxWindow
*arg2
= (wxWindow
*) 0 ;
27189 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27190 wxString
*arg4
= 0 ;
27197 bool temp4
= false ;
27198 PyObject
* obj0
= 0 ;
27199 PyObject
* obj1
= 0 ;
27200 PyObject
* obj2
= 0 ;
27201 PyObject
* obj3
= 0 ;
27202 char * kwnames
[] = {
27203 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27208 if (!SWIG_IsOK(res1
)) {
27209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27211 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27212 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27213 if (!SWIG_IsOK(res2
)) {
27214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27216 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27217 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27218 if (!SWIG_IsOK(res3
)) {
27219 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27221 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27223 arg4
= wxString_in_helper(obj3
);
27224 if (arg4
== NULL
) SWIG_fail
;
27228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27229 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27230 wxPyEndAllowThreads(__tstate
);
27231 if (PyErr_Occurred()) SWIG_fail
;
27233 resultobj
= SWIG_Py_Void();
27248 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27249 PyObject
*resultobj
= 0;
27250 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27251 wxWindow
*arg2
= (wxWindow
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 PyObject
* obj1
= 0 ;
27259 char * kwnames
[] = {
27260 (char *) "self",(char *) "parent", NULL
27263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27265 if (!SWIG_IsOK(res1
)) {
27266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27268 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27270 if (!SWIG_IsOK(res2
)) {
27271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27273 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27276 result
= (bool)(arg1
)->Setup(arg2
);
27277 wxPyEndAllowThreads(__tstate
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27289 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27290 PyObject
*resultobj
= 0;
27291 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27292 wxWindow
*arg2
= (wxWindow
*) 0 ;
27293 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27294 bool arg4
= (bool) true ;
27304 PyObject
* obj0
= 0 ;
27305 PyObject
* obj1
= 0 ;
27306 PyObject
* obj2
= 0 ;
27307 PyObject
* obj3
= 0 ;
27308 char * kwnames
[] = {
27309 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27314 if (!SWIG_IsOK(res1
)) {
27315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27317 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27318 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27319 if (!SWIG_IsOK(res2
)) {
27320 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27322 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27323 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27324 if (!SWIG_IsOK(res3
)) {
27325 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27327 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27329 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27330 if (!SWIG_IsOK(ecode4
)) {
27331 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27333 arg4
= static_cast< bool >(val4
);
27336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27337 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27338 wxPyEndAllowThreads(__tstate
);
27339 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27350 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27351 PyObject
*resultobj
= 0;
27352 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27353 wxWindow
*arg2
= (wxWindow
*) 0 ;
27359 PyObject
* obj0
= 0 ;
27360 PyObject
* obj1
= 0 ;
27361 char * kwnames
[] = {
27362 (char *) "self",(char *) "parent", NULL
27365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27367 if (!SWIG_IsOK(res1
)) {
27368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27370 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27371 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27372 if (!SWIG_IsOK(res2
)) {
27373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27375 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27378 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27379 wxPyEndAllowThreads(__tstate
);
27380 if (PyErr_Occurred()) SWIG_fail
;
27383 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27391 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27392 PyObject
*resultobj
= 0;
27393 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27394 wxPrintDialogData
*result
= 0 ;
27397 PyObject
*swig_obj
[1] ;
27399 if (!args
) SWIG_fail
;
27400 swig_obj
[0] = args
;
27401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27402 if (!SWIG_IsOK(res1
)) {
27403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27405 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27410 result
= (wxPrintDialogData
*) &_result_ref
;
27412 wxPyEndAllowThreads(__tstate
);
27413 if (PyErr_Occurred()) SWIG_fail
;
27415 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27422 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27423 PyObject
*resultobj
= 0;
27424 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27428 PyObject
*swig_obj
[1] ;
27430 if (!args
) SWIG_fail
;
27431 swig_obj
[0] = args
;
27432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27433 if (!SWIG_IsOK(res1
)) {
27434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27436 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27439 result
= (bool)(arg1
)->GetAbort();
27440 wxPyEndAllowThreads(__tstate
);
27441 if (PyErr_Occurred()) SWIG_fail
;
27444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27452 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27453 PyObject
*resultobj
= 0;
27454 wxPrinterError result
;
27456 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 result
= (wxPrinterError
)wxPrinter::GetLastError();
27460 wxPyEndAllowThreads(__tstate
);
27461 if (PyErr_Occurred()) SWIG_fail
;
27463 resultobj
= SWIG_From_int(static_cast< int >(result
));
27470 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27473 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27474 return SWIG_Py_Void();
27477 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27478 return SWIG_Python_InitShadowInstance(args
);
27481 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27482 PyObject
*resultobj
= 0;
27483 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27484 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27485 wxPyPrintout
*result
= 0 ;
27486 bool temp1
= false ;
27487 PyObject
* obj0
= 0 ;
27488 char * kwnames
[] = {
27489 (char *) "title", NULL
27492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27495 arg1
= wxString_in_helper(obj0
);
27496 if (arg1
== NULL
) SWIG_fail
;
27501 if (!wxPyCheckForApp()) SWIG_fail
;
27502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27503 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27522 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27523 PyObject
*resultobj
= 0;
27524 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27527 PyObject
*swig_obj
[1] ;
27529 if (!args
) SWIG_fail
;
27530 swig_obj
[0] = args
;
27531 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27532 if (!SWIG_IsOK(res1
)) {
27533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27535 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27540 wxPyEndAllowThreads(__tstate
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 resultobj
= SWIG_Py_Void();
27550 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27551 PyObject
*resultobj
= 0;
27552 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27553 PyObject
*arg2
= (PyObject
*) 0 ;
27554 PyObject
*arg3
= (PyObject
*) 0 ;
27557 PyObject
* obj0
= 0 ;
27558 PyObject
* obj1
= 0 ;
27559 PyObject
* obj2
= 0 ;
27560 char * kwnames
[] = {
27561 (char *) "self",(char *) "self",(char *) "_class", NULL
27564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27566 if (!SWIG_IsOK(res1
)) {
27567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27569 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27574 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27575 wxPyEndAllowThreads(__tstate
);
27576 if (PyErr_Occurred()) SWIG_fail
;
27578 resultobj
= SWIG_Py_Void();
27585 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27586 PyObject
*resultobj
= 0;
27587 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27591 PyObject
*swig_obj
[1] ;
27593 if (!args
) SWIG_fail
;
27594 swig_obj
[0] = args
;
27595 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27596 if (!SWIG_IsOK(res1
)) {
27597 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27599 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27602 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27603 wxPyEndAllowThreads(__tstate
);
27604 if (PyErr_Occurred()) SWIG_fail
;
27608 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27610 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27619 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27620 PyObject
*resultobj
= 0;
27621 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27625 PyObject
*swig_obj
[1] ;
27627 if (!args
) SWIG_fail
;
27628 swig_obj
[0] = args
;
27629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27630 if (!SWIG_IsOK(res1
)) {
27631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27633 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27636 result
= (wxDC
*)(arg1
)->GetDC();
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27641 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27649 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27650 PyObject
*resultobj
= 0;
27651 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27652 wxDC
*arg2
= (wxDC
*) 0 ;
27657 PyObject
* obj0
= 0 ;
27658 PyObject
* obj1
= 0 ;
27659 char * kwnames
[] = {
27660 (char *) "self",(char *) "dc", NULL
27663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27665 if (!SWIG_IsOK(res1
)) {
27666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27668 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27669 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27670 if (!SWIG_IsOK(res2
)) {
27671 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27673 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27676 (arg1
)->SetDC(arg2
);
27677 wxPyEndAllowThreads(__tstate
);
27678 if (PyErr_Occurred()) SWIG_fail
;
27680 resultobj
= SWIG_Py_Void();
27687 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27688 PyObject
*resultobj
= 0;
27689 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27698 PyObject
* obj0
= 0 ;
27699 PyObject
* obj1
= 0 ;
27700 PyObject
* obj2
= 0 ;
27701 char * kwnames
[] = {
27702 (char *) "self",(char *) "w",(char *) "h", NULL
27705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27707 if (!SWIG_IsOK(res1
)) {
27708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27710 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27711 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27712 if (!SWIG_IsOK(ecode2
)) {
27713 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27715 arg2
= static_cast< int >(val2
);
27716 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27717 if (!SWIG_IsOK(ecode3
)) {
27718 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27720 arg3
= static_cast< int >(val3
);
27722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27723 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 resultobj
= SWIG_Py_Void();
27734 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27735 PyObject
*resultobj
= 0;
27736 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27737 int *arg2
= (int *) 0 ;
27738 int *arg3
= (int *) 0 ;
27742 int res2
= SWIG_TMPOBJ
;
27744 int res3
= SWIG_TMPOBJ
;
27745 PyObject
*swig_obj
[1] ;
27749 if (!args
) SWIG_fail
;
27750 swig_obj
[0] = args
;
27751 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27752 if (!SWIG_IsOK(res1
)) {
27753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27755 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27758 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27759 wxPyEndAllowThreads(__tstate
);
27760 if (PyErr_Occurred()) SWIG_fail
;
27762 resultobj
= SWIG_Py_Void();
27763 if (SWIG_IsTmpObj(res2
)) {
27764 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27766 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27767 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27769 if (SWIG_IsTmpObj(res3
)) {
27770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27772 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27773 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27781 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
= 0;
27783 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27792 PyObject
* obj0
= 0 ;
27793 PyObject
* obj1
= 0 ;
27794 PyObject
* obj2
= 0 ;
27795 char * kwnames
[] = {
27796 (char *) "self",(char *) "w",(char *) "h", NULL
27799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27801 if (!SWIG_IsOK(res1
)) {
27802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27804 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27805 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27806 if (!SWIG_IsOK(ecode2
)) {
27807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27809 arg2
= static_cast< int >(val2
);
27810 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27811 if (!SWIG_IsOK(ecode3
)) {
27812 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27814 arg3
= static_cast< int >(val3
);
27816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27818 wxPyEndAllowThreads(__tstate
);
27819 if (PyErr_Occurred()) SWIG_fail
;
27821 resultobj
= SWIG_Py_Void();
27828 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27829 PyObject
*resultobj
= 0;
27830 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27831 int *arg2
= (int *) 0 ;
27832 int *arg3
= (int *) 0 ;
27836 int res2
= SWIG_TMPOBJ
;
27838 int res3
= SWIG_TMPOBJ
;
27839 PyObject
*swig_obj
[1] ;
27843 if (!args
) SWIG_fail
;
27844 swig_obj
[0] = args
;
27845 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27846 if (!SWIG_IsOK(res1
)) {
27847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27849 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27852 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27853 wxPyEndAllowThreads(__tstate
);
27854 if (PyErr_Occurred()) SWIG_fail
;
27856 resultobj
= SWIG_Py_Void();
27857 if (SWIG_IsTmpObj(res2
)) {
27858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27860 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27863 if (SWIG_IsTmpObj(res3
)) {
27864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27866 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27867 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27875 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
= 0;
27877 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27886 PyObject
* obj0
= 0 ;
27887 PyObject
* obj1
= 0 ;
27888 PyObject
* obj2
= 0 ;
27889 char * kwnames
[] = {
27890 (char *) "self",(char *) "x",(char *) "y", NULL
27893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27895 if (!SWIG_IsOK(res1
)) {
27896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27898 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27899 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27900 if (!SWIG_IsOK(ecode2
)) {
27901 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27903 arg2
= static_cast< int >(val2
);
27904 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27905 if (!SWIG_IsOK(ecode3
)) {
27906 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27908 arg3
= static_cast< int >(val3
);
27910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27911 (arg1
)->SetPPIScreen(arg2
,arg3
);
27912 wxPyEndAllowThreads(__tstate
);
27913 if (PyErr_Occurred()) SWIG_fail
;
27915 resultobj
= SWIG_Py_Void();
27922 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27923 PyObject
*resultobj
= 0;
27924 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27925 int *arg2
= (int *) 0 ;
27926 int *arg3
= (int *) 0 ;
27930 int res2
= SWIG_TMPOBJ
;
27932 int res3
= SWIG_TMPOBJ
;
27933 PyObject
*swig_obj
[1] ;
27937 if (!args
) SWIG_fail
;
27938 swig_obj
[0] = args
;
27939 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27940 if (!SWIG_IsOK(res1
)) {
27941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27943 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27946 (arg1
)->GetPPIScreen(arg2
,arg3
);
27947 wxPyEndAllowThreads(__tstate
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27950 resultobj
= SWIG_Py_Void();
27951 if (SWIG_IsTmpObj(res2
)) {
27952 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27954 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27957 if (SWIG_IsTmpObj(res3
)) {
27958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27960 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27969 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27970 PyObject
*resultobj
= 0;
27971 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27980 PyObject
* obj0
= 0 ;
27981 PyObject
* obj1
= 0 ;
27982 PyObject
* obj2
= 0 ;
27983 char * kwnames
[] = {
27984 (char *) "self",(char *) "x",(char *) "y", NULL
27987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27989 if (!SWIG_IsOK(res1
)) {
27990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27992 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27994 if (!SWIG_IsOK(ecode2
)) {
27995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27997 arg2
= static_cast< int >(val2
);
27998 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27999 if (!SWIG_IsOK(ecode3
)) {
28000 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28002 arg3
= static_cast< int >(val3
);
28004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28005 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28006 wxPyEndAllowThreads(__tstate
);
28007 if (PyErr_Occurred()) SWIG_fail
;
28009 resultobj
= SWIG_Py_Void();
28016 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28017 PyObject
*resultobj
= 0;
28018 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28019 int *arg2
= (int *) 0 ;
28020 int *arg3
= (int *) 0 ;
28024 int res2
= SWIG_TMPOBJ
;
28026 int res3
= SWIG_TMPOBJ
;
28027 PyObject
*swig_obj
[1] ;
28031 if (!args
) SWIG_fail
;
28032 swig_obj
[0] = args
;
28033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28034 if (!SWIG_IsOK(res1
)) {
28035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28037 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28040 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28041 wxPyEndAllowThreads(__tstate
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28044 resultobj
= SWIG_Py_Void();
28045 if (SWIG_IsTmpObj(res2
)) {
28046 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28048 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28049 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28051 if (SWIG_IsTmpObj(res3
)) {
28052 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28054 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28055 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28063 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28064 PyObject
*resultobj
= 0;
28065 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28069 PyObject
*swig_obj
[1] ;
28071 if (!args
) SWIG_fail
;
28072 swig_obj
[0] = args
;
28073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28074 if (!SWIG_IsOK(res1
)) {
28075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28077 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28080 result
= (bool)(arg1
)->IsPreview();
28081 wxPyEndAllowThreads(__tstate
);
28082 if (PyErr_Occurred()) SWIG_fail
;
28085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28093 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28094 PyObject
*resultobj
= 0;
28095 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28101 PyObject
* obj0
= 0 ;
28102 PyObject
* obj1
= 0 ;
28103 char * kwnames
[] = {
28104 (char *) "self",(char *) "p", NULL
28107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28112 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28113 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28114 if (!SWIG_IsOK(ecode2
)) {
28115 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28117 arg2
= static_cast< bool >(val2
);
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 (arg1
)->SetIsPreview(arg2
);
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= SWIG_Py_Void();
28131 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28132 PyObject
*resultobj
= 0;
28133 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28143 PyObject
* obj0
= 0 ;
28144 PyObject
* obj1
= 0 ;
28145 PyObject
* obj2
= 0 ;
28146 char * kwnames
[] = {
28147 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28152 if (!SWIG_IsOK(res1
)) {
28153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28155 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28156 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28157 if (!SWIG_IsOK(ecode2
)) {
28158 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28160 arg2
= static_cast< int >(val2
);
28161 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28162 if (!SWIG_IsOK(ecode3
)) {
28163 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28165 arg3
= static_cast< int >(val3
);
28167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28168 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28169 wxPyEndAllowThreads(__tstate
);
28170 if (PyErr_Occurred()) SWIG_fail
;
28173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28181 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28182 PyObject
*resultobj
= 0;
28183 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28186 PyObject
*swig_obj
[1] ;
28188 if (!args
) SWIG_fail
;
28189 swig_obj
[0] = args
;
28190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28191 if (!SWIG_IsOK(res1
)) {
28192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28194 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 (arg1
)->OnEndDocument();
28198 wxPyEndAllowThreads(__tstate
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= SWIG_Py_Void();
28208 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28209 PyObject
*resultobj
= 0;
28210 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28213 PyObject
*swig_obj
[1] ;
28215 if (!args
) SWIG_fail
;
28216 swig_obj
[0] = args
;
28217 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28218 if (!SWIG_IsOK(res1
)) {
28219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28221 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28224 (arg1
)->OnBeginPrinting();
28225 wxPyEndAllowThreads(__tstate
);
28226 if (PyErr_Occurred()) SWIG_fail
;
28228 resultobj
= SWIG_Py_Void();
28235 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28236 PyObject
*resultobj
= 0;
28237 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28240 PyObject
*swig_obj
[1] ;
28242 if (!args
) SWIG_fail
;
28243 swig_obj
[0] = args
;
28244 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28245 if (!SWIG_IsOK(res1
)) {
28246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28248 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28251 (arg1
)->OnEndPrinting();
28252 wxPyEndAllowThreads(__tstate
);
28253 if (PyErr_Occurred()) SWIG_fail
;
28255 resultobj
= SWIG_Py_Void();
28262 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28263 PyObject
*resultobj
= 0;
28264 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28267 PyObject
*swig_obj
[1] ;
28269 if (!args
) SWIG_fail
;
28270 swig_obj
[0] = args
;
28271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28272 if (!SWIG_IsOK(res1
)) {
28273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28275 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 (arg1
)->OnPreparePrinting();
28279 wxPyEndAllowThreads(__tstate
);
28280 if (PyErr_Occurred()) SWIG_fail
;
28282 resultobj
= SWIG_Py_Void();
28289 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28290 PyObject
*resultobj
= 0;
28291 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28298 PyObject
* obj0
= 0 ;
28299 PyObject
* obj1
= 0 ;
28300 char * kwnames
[] = {
28301 (char *) "self",(char *) "page", NULL
28304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28306 if (!SWIG_IsOK(res1
)) {
28307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28309 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28311 if (!SWIG_IsOK(ecode2
)) {
28312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28314 arg2
= static_cast< int >(val2
);
28316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28317 result
= (bool)(arg1
)->HasPage(arg2
);
28318 wxPyEndAllowThreads(__tstate
);
28319 if (PyErr_Occurred()) SWIG_fail
;
28322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28330 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28331 PyObject
*resultobj
= 0;
28332 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28333 int *arg2
= (int *) 0 ;
28334 int *arg3
= (int *) 0 ;
28335 int *arg4
= (int *) 0 ;
28336 int *arg5
= (int *) 0 ;
28340 int res2
= SWIG_TMPOBJ
;
28342 int res3
= SWIG_TMPOBJ
;
28344 int res4
= SWIG_TMPOBJ
;
28346 int res5
= SWIG_TMPOBJ
;
28347 PyObject
*swig_obj
[1] ;
28353 if (!args
) SWIG_fail
;
28354 swig_obj
[0] = args
;
28355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28356 if (!SWIG_IsOK(res1
)) {
28357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28359 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28362 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28363 wxPyEndAllowThreads(__tstate
);
28364 if (PyErr_Occurred()) SWIG_fail
;
28366 resultobj
= SWIG_Py_Void();
28367 if (SWIG_IsTmpObj(res2
)) {
28368 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28370 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28371 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28373 if (SWIG_IsTmpObj(res3
)) {
28374 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28376 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28377 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28379 if (SWIG_IsTmpObj(res4
)) {
28380 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28382 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28383 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28385 if (SWIG_IsTmpObj(res5
)) {
28386 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28388 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28389 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28397 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28399 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28400 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28401 return SWIG_Py_Void();
28404 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28405 return SWIG_Python_InitShadowInstance(args
);
28408 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
= 0;
28410 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28411 wxWindow
*arg2
= (wxWindow
*) 0 ;
28412 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28413 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28414 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28415 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28416 long arg5
= (long) 0 ;
28417 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28418 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28419 wxPreviewCanvas
*result
= 0 ;
28428 bool temp6
= false ;
28429 PyObject
* obj0
= 0 ;
28430 PyObject
* obj1
= 0 ;
28431 PyObject
* obj2
= 0 ;
28432 PyObject
* obj3
= 0 ;
28433 PyObject
* obj4
= 0 ;
28434 PyObject
* obj5
= 0 ;
28435 char * kwnames
[] = {
28436 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28441 if (!SWIG_IsOK(res1
)) {
28442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28444 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28445 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28446 if (!SWIG_IsOK(res2
)) {
28447 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28449 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28453 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28459 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28463 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28464 if (!SWIG_IsOK(ecode5
)) {
28465 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28467 arg5
= static_cast< long >(val5
);
28471 arg6
= wxString_in_helper(obj5
);
28472 if (arg6
== NULL
) SWIG_fail
;
28477 if (!wxPyCheckForApp()) SWIG_fail
;
28478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28479 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28480 wxPyEndAllowThreads(__tstate
);
28481 if (PyErr_Occurred()) SWIG_fail
;
28483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28498 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28500 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28501 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28502 return SWIG_Py_Void();
28505 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28506 return SWIG_Python_InitShadowInstance(args
);
28509 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28510 PyObject
*resultobj
= 0;
28511 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28512 wxFrame
*arg2
= (wxFrame
*) 0 ;
28513 wxString
*arg3
= 0 ;
28514 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28515 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28516 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28517 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28518 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28519 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28520 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28521 wxPreviewFrame
*result
= 0 ;
28525 bool temp3
= false ;
28530 bool temp7
= false ;
28531 PyObject
* obj0
= 0 ;
28532 PyObject
* obj1
= 0 ;
28533 PyObject
* obj2
= 0 ;
28534 PyObject
* obj3
= 0 ;
28535 PyObject
* obj4
= 0 ;
28536 PyObject
* obj5
= 0 ;
28537 PyObject
* obj6
= 0 ;
28538 char * kwnames
[] = {
28539 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28543 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28544 if (!SWIG_IsOK(res1
)) {
28545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28547 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28548 if (!SWIG_IsOK(res2
)) {
28549 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28551 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28553 arg3
= wxString_in_helper(obj2
);
28554 if (arg3
== NULL
) SWIG_fail
;
28560 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28566 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28570 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28571 if (!SWIG_IsOK(ecode6
)) {
28572 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28574 arg6
= static_cast< long >(val6
);
28578 arg7
= wxString_in_helper(obj6
);
28579 if (arg7
== NULL
) SWIG_fail
;
28584 if (!wxPyCheckForApp()) SWIG_fail
;
28585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28586 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28587 wxPyEndAllowThreads(__tstate
);
28588 if (PyErr_Occurred()) SWIG_fail
;
28590 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28613 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28614 PyObject
*resultobj
= 0;
28615 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28618 PyObject
*swig_obj
[1] ;
28620 if (!args
) SWIG_fail
;
28621 swig_obj
[0] = args
;
28622 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28623 if (!SWIG_IsOK(res1
)) {
28624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28626 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28629 (arg1
)->Initialize();
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28633 resultobj
= SWIG_Py_Void();
28640 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28641 PyObject
*resultobj
= 0;
28642 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28645 PyObject
*swig_obj
[1] ;
28647 if (!args
) SWIG_fail
;
28648 swig_obj
[0] = args
;
28649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28650 if (!SWIG_IsOK(res1
)) {
28651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28653 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28656 (arg1
)->CreateControlBar();
28657 wxPyEndAllowThreads(__tstate
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28660 resultobj
= SWIG_Py_Void();
28667 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28668 PyObject
*resultobj
= 0;
28669 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28672 PyObject
*swig_obj
[1] ;
28674 if (!args
) SWIG_fail
;
28675 swig_obj
[0] = args
;
28676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28677 if (!SWIG_IsOK(res1
)) {
28678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28680 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 (arg1
)->CreateCanvas();
28684 wxPyEndAllowThreads(__tstate
);
28685 if (PyErr_Occurred()) SWIG_fail
;
28687 resultobj
= SWIG_Py_Void();
28694 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28695 PyObject
*resultobj
= 0;
28696 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28697 wxPreviewControlBar
*result
= 0 ;
28700 PyObject
*swig_obj
[1] ;
28702 if (!args
) SWIG_fail
;
28703 swig_obj
[0] = args
;
28704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28705 if (!SWIG_IsOK(res1
)) {
28706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28708 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28712 wxPyEndAllowThreads(__tstate
);
28713 if (PyErr_Occurred()) SWIG_fail
;
28715 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28722 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28724 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28725 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28726 return SWIG_Py_Void();
28729 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28730 return SWIG_Python_InitShadowInstance(args
);
28733 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
= 0;
28735 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28737 wxWindow
*arg3
= (wxWindow
*) 0 ;
28738 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28739 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28740 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28741 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28742 long arg6
= (long) wxTAB_TRAVERSAL
;
28743 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28744 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28745 wxPreviewControlBar
*result
= 0 ;
28756 bool temp7
= false ;
28757 PyObject
* obj0
= 0 ;
28758 PyObject
* obj1
= 0 ;
28759 PyObject
* obj2
= 0 ;
28760 PyObject
* obj3
= 0 ;
28761 PyObject
* obj4
= 0 ;
28762 PyObject
* obj5
= 0 ;
28763 PyObject
* obj6
= 0 ;
28764 char * kwnames
[] = {
28765 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28770 if (!SWIG_IsOK(res1
)) {
28771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28773 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28774 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28775 if (!SWIG_IsOK(ecode2
)) {
28776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28778 arg2
= static_cast< long >(val2
);
28779 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28780 if (!SWIG_IsOK(res3
)) {
28781 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28783 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28787 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28793 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28797 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28798 if (!SWIG_IsOK(ecode6
)) {
28799 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28801 arg6
= static_cast< long >(val6
);
28805 arg7
= wxString_in_helper(obj6
);
28806 if (arg7
== NULL
) SWIG_fail
;
28811 if (!wxPyCheckForApp()) SWIG_fail
;
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28814 wxPyEndAllowThreads(__tstate
);
28815 if (PyErr_Occurred()) SWIG_fail
;
28817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28832 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28833 PyObject
*resultobj
= 0;
28834 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28838 PyObject
*swig_obj
[1] ;
28840 if (!args
) SWIG_fail
;
28841 swig_obj
[0] = args
;
28842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28843 if (!SWIG_IsOK(res1
)) {
28844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28846 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28849 result
= (int)(arg1
)->GetZoomControl();
28850 wxPyEndAllowThreads(__tstate
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= SWIG_From_int(static_cast< int >(result
));
28860 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28861 PyObject
*resultobj
= 0;
28862 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28868 PyObject
* obj0
= 0 ;
28869 PyObject
* obj1
= 0 ;
28870 char * kwnames
[] = {
28871 (char *) "self",(char *) "zoom", NULL
28874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28876 if (!SWIG_IsOK(res1
)) {
28877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28879 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28880 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28881 if (!SWIG_IsOK(ecode2
)) {
28882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28884 arg2
= static_cast< int >(val2
);
28886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28887 (arg1
)->SetZoomControl(arg2
);
28888 wxPyEndAllowThreads(__tstate
);
28889 if (PyErr_Occurred()) SWIG_fail
;
28891 resultobj
= SWIG_Py_Void();
28898 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28899 PyObject
*resultobj
= 0;
28900 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28901 wxPrintPreview
*result
= 0 ;
28904 PyObject
*swig_obj
[1] ;
28906 if (!args
) SWIG_fail
;
28907 swig_obj
[0] = args
;
28908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28909 if (!SWIG_IsOK(res1
)) {
28910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28912 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28915 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28916 wxPyEndAllowThreads(__tstate
);
28917 if (PyErr_Occurred()) SWIG_fail
;
28919 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28926 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28927 PyObject
*resultobj
= 0;
28928 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28931 PyObject
*swig_obj
[1] ;
28933 if (!args
) SWIG_fail
;
28934 swig_obj
[0] = args
;
28935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28936 if (!SWIG_IsOK(res1
)) {
28937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28939 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28943 wxPyEndAllowThreads(__tstate
);
28944 if (PyErr_Occurred()) SWIG_fail
;
28946 resultobj
= SWIG_Py_Void();
28953 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28954 PyObject
*resultobj
= 0;
28955 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28958 PyObject
*swig_obj
[1] ;
28960 if (!args
) SWIG_fail
;
28961 swig_obj
[0] = args
;
28962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28963 if (!SWIG_IsOK(res1
)) {
28964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28966 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28969 (arg1
)->OnPrevious();
28970 wxPyEndAllowThreads(__tstate
);
28971 if (PyErr_Occurred()) SWIG_fail
;
28973 resultobj
= SWIG_Py_Void();
28980 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28981 PyObject
*resultobj
= 0;
28982 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28985 PyObject
*swig_obj
[1] ;
28987 if (!args
) SWIG_fail
;
28988 swig_obj
[0] = args
;
28989 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28990 if (!SWIG_IsOK(res1
)) {
28991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28993 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28997 wxPyEndAllowThreads(__tstate
);
28998 if (PyErr_Occurred()) SWIG_fail
;
29000 resultobj
= SWIG_Py_Void();
29007 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29008 PyObject
*resultobj
= 0;
29009 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29012 PyObject
*swig_obj
[1] ;
29014 if (!args
) SWIG_fail
;
29015 swig_obj
[0] = args
;
29016 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29017 if (!SWIG_IsOK(res1
)) {
29018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29020 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29024 wxPyEndAllowThreads(__tstate
);
29025 if (PyErr_Occurred()) SWIG_fail
;
29027 resultobj
= SWIG_Py_Void();
29034 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29035 PyObject
*resultobj
= 0;
29036 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29039 PyObject
*swig_obj
[1] ;
29041 if (!args
) SWIG_fail
;
29042 swig_obj
[0] = args
;
29043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29044 if (!SWIG_IsOK(res1
)) {
29045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29047 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 wxPyEndAllowThreads(__tstate
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29054 resultobj
= SWIG_Py_Void();
29061 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29063 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29064 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29065 return SWIG_Py_Void();
29068 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29069 return SWIG_Python_InitShadowInstance(args
);
29072 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29073 PyObject
*resultobj
= 0;
29074 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29075 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29076 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29077 wxPrintPreview
*result
= 0 ;
29083 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29084 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29085 if (!SWIG_IsOK(res1
)) {
29086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29088 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29089 if (!SWIG_IsOK(res2
)) {
29090 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29093 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29094 if (!SWIG_IsOK(res3
)) {
29095 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29097 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29100 if (!wxPyCheckForApp()) SWIG_fail
;
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29103 wxPyEndAllowThreads(__tstate
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29106 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29113 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29114 PyObject
*resultobj
= 0;
29115 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29116 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29117 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29118 wxPrintPreview
*result
= 0 ;
29124 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29125 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29126 if (!SWIG_IsOK(res1
)) {
29127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29129 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29130 if (!SWIG_IsOK(res2
)) {
29131 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29133 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29134 if (!SWIG_IsOK(res3
)) {
29135 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29137 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29139 if (!wxPyCheckForApp()) SWIG_fail
;
29140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29141 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29142 wxPyEndAllowThreads(__tstate
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29145 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29152 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29156 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29158 if ((argc
>= 2) && (argc
<= 3)) {
29163 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29164 _v
= SWIG_CheckState(res
);
29166 if (!_v
) goto check_1
;
29168 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29173 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29177 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29182 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29183 PyObject
*resultobj
= 0;
29184 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29187 PyObject
*swig_obj
[1] ;
29189 if (!args
) SWIG_fail
;
29190 swig_obj
[0] = args
;
29191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29192 if (!SWIG_IsOK(res1
)) {
29193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29195 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29200 wxPyEndAllowThreads(__tstate
);
29201 if (PyErr_Occurred()) SWIG_fail
;
29203 resultobj
= SWIG_Py_Void();
29210 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29211 PyObject
*resultobj
= 0;
29212 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29219 PyObject
* obj0
= 0 ;
29220 PyObject
* obj1
= 0 ;
29221 char * kwnames
[] = {
29222 (char *) "self",(char *) "pageNum", NULL
29225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29227 if (!SWIG_IsOK(res1
)) {
29228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29230 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29232 if (!SWIG_IsOK(ecode2
)) {
29233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29235 arg2
= static_cast< int >(val2
);
29237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29238 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29239 wxPyEndAllowThreads(__tstate
);
29240 if (PyErr_Occurred()) SWIG_fail
;
29243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29251 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29252 PyObject
*resultobj
= 0;
29253 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29257 PyObject
*swig_obj
[1] ;
29259 if (!args
) SWIG_fail
;
29260 swig_obj
[0] = args
;
29261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29262 if (!SWIG_IsOK(res1
)) {
29263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29265 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29268 result
= (int)(arg1
)->GetCurrentPage();
29269 wxPyEndAllowThreads(__tstate
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29272 resultobj
= SWIG_From_int(static_cast< int >(result
));
29279 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29280 PyObject
*resultobj
= 0;
29281 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29282 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29286 PyObject
* obj0
= 0 ;
29287 PyObject
* obj1
= 0 ;
29288 char * kwnames
[] = {
29289 (char *) "self",(char *) "printout", NULL
29292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29293 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29294 if (!SWIG_IsOK(res1
)) {
29295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29297 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29298 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29299 if (!SWIG_IsOK(res2
)) {
29300 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29304 (arg1
)->SetPrintout(arg2
);
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 resultobj
= SWIG_Py_Void();
29315 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29316 PyObject
*resultobj
= 0;
29317 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29318 wxPyPrintout
*result
= 0 ;
29321 PyObject
*swig_obj
[1] ;
29323 if (!args
) SWIG_fail
;
29324 swig_obj
[0] = args
;
29325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29326 if (!SWIG_IsOK(res1
)) {
29327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29329 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29333 wxPyEndAllowThreads(__tstate
);
29334 if (PyErr_Occurred()) SWIG_fail
;
29337 resultobj
= wxPyMake_wxObject(result
, 0);
29345 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29346 PyObject
*resultobj
= 0;
29347 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29348 wxPyPrintout
*result
= 0 ;
29351 PyObject
*swig_obj
[1] ;
29353 if (!args
) SWIG_fail
;
29354 swig_obj
[0] = args
;
29355 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29356 if (!SWIG_IsOK(res1
)) {
29357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29359 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29362 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29363 wxPyEndAllowThreads(__tstate
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29367 resultobj
= wxPyMake_wxObject(result
, 0);
29375 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29376 PyObject
*resultobj
= 0;
29377 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29378 wxFrame
*arg2
= (wxFrame
*) 0 ;
29383 PyObject
* obj0
= 0 ;
29384 PyObject
* obj1
= 0 ;
29385 char * kwnames
[] = {
29386 (char *) "self",(char *) "frame", NULL
29389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29391 if (!SWIG_IsOK(res1
)) {
29392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29394 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29395 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29396 if (!SWIG_IsOK(res2
)) {
29397 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29399 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29402 (arg1
)->SetFrame(arg2
);
29403 wxPyEndAllowThreads(__tstate
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29406 resultobj
= SWIG_Py_Void();
29413 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29414 PyObject
*resultobj
= 0;
29415 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29416 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29421 PyObject
* obj0
= 0 ;
29422 PyObject
* obj1
= 0 ;
29423 char * kwnames
[] = {
29424 (char *) "self",(char *) "canvas", NULL
29427 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29428 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29429 if (!SWIG_IsOK(res1
)) {
29430 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29432 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29433 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29434 if (!SWIG_IsOK(res2
)) {
29435 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29437 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29440 (arg1
)->SetCanvas(arg2
);
29441 wxPyEndAllowThreads(__tstate
);
29442 if (PyErr_Occurred()) SWIG_fail
;
29444 resultobj
= SWIG_Py_Void();
29451 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29452 PyObject
*resultobj
= 0;
29453 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29454 wxFrame
*result
= 0 ;
29457 PyObject
*swig_obj
[1] ;
29459 if (!args
) SWIG_fail
;
29460 swig_obj
[0] = args
;
29461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29462 if (!SWIG_IsOK(res1
)) {
29463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29465 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29468 result
= (wxFrame
*)(arg1
)->GetFrame();
29469 wxPyEndAllowThreads(__tstate
);
29470 if (PyErr_Occurred()) SWIG_fail
;
29473 resultobj
= wxPyMake_wxObject(result
, 0);
29481 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29482 PyObject
*resultobj
= 0;
29483 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29484 wxPreviewCanvas
*result
= 0 ;
29487 PyObject
*swig_obj
[1] ;
29489 if (!args
) SWIG_fail
;
29490 swig_obj
[0] = args
;
29491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29492 if (!SWIG_IsOK(res1
)) {
29493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29495 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29498 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29499 wxPyEndAllowThreads(__tstate
);
29500 if (PyErr_Occurred()) SWIG_fail
;
29502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29509 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29510 PyObject
*resultobj
= 0;
29511 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29512 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29521 PyObject
* obj0
= 0 ;
29522 PyObject
* obj1
= 0 ;
29523 PyObject
* obj2
= 0 ;
29524 char * kwnames
[] = {
29525 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29529 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29530 if (!SWIG_IsOK(res1
)) {
29531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29533 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29534 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29535 if (!SWIG_IsOK(res2
)) {
29536 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29538 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29539 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29540 if (!SWIG_IsOK(res3
)) {
29541 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29544 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29546 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29549 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29554 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29562 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29563 PyObject
*resultobj
= 0;
29564 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29565 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29574 PyObject
* obj0
= 0 ;
29575 PyObject
* obj1
= 0 ;
29576 PyObject
* obj2
= 0 ;
29577 char * kwnames
[] = {
29578 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29583 if (!SWIG_IsOK(res1
)) {
29584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29586 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29588 if (!SWIG_IsOK(res2
)) {
29589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29591 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29592 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29593 if (!SWIG_IsOK(res3
)) {
29594 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29597 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29599 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29602 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29603 wxPyEndAllowThreads(__tstate
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29615 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29616 PyObject
*resultobj
= 0;
29617 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29624 PyObject
* obj0
= 0 ;
29625 PyObject
* obj1
= 0 ;
29626 char * kwnames
[] = {
29627 (char *) "self",(char *) "pageNum", NULL
29630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29632 if (!SWIG_IsOK(res1
)) {
29633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29635 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29637 if (!SWIG_IsOK(ecode2
)) {
29638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29640 arg2
= static_cast< int >(val2
);
29642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29643 result
= (bool)(arg1
)->RenderPage(arg2
);
29644 wxPyEndAllowThreads(__tstate
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29648 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29656 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29657 PyObject
*resultobj
= 0;
29658 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29659 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29664 PyObject
* obj0
= 0 ;
29665 PyObject
* obj1
= 0 ;
29666 char * kwnames
[] = {
29667 (char *) "self",(char *) "canvas", NULL
29670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29672 if (!SWIG_IsOK(res1
)) {
29673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29675 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29676 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29677 if (!SWIG_IsOK(res2
)) {
29678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29680 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29683 (arg1
)->AdjustScrollbars(arg2
);
29684 wxPyEndAllowThreads(__tstate
);
29685 if (PyErr_Occurred()) SWIG_fail
;
29687 resultobj
= SWIG_Py_Void();
29694 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29695 PyObject
*resultobj
= 0;
29696 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29697 wxPrintDialogData
*result
= 0 ;
29700 PyObject
*swig_obj
[1] ;
29702 if (!args
) SWIG_fail
;
29703 swig_obj
[0] = args
;
29704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29705 if (!SWIG_IsOK(res1
)) {
29706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29708 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29713 result
= (wxPrintDialogData
*) &_result_ref
;
29715 wxPyEndAllowThreads(__tstate
);
29716 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29725 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29726 PyObject
*resultobj
= 0;
29727 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29733 PyObject
* obj0
= 0 ;
29734 PyObject
* obj1
= 0 ;
29735 char * kwnames
[] = {
29736 (char *) "self",(char *) "percent", NULL
29739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29741 if (!SWIG_IsOK(res1
)) {
29742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29744 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29746 if (!SWIG_IsOK(ecode2
)) {
29747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29749 arg2
= static_cast< int >(val2
);
29751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29752 (arg1
)->SetZoom(arg2
);
29753 wxPyEndAllowThreads(__tstate
);
29754 if (PyErr_Occurred()) SWIG_fail
;
29756 resultobj
= SWIG_Py_Void();
29763 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29764 PyObject
*resultobj
= 0;
29765 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29769 PyObject
*swig_obj
[1] ;
29771 if (!args
) SWIG_fail
;
29772 swig_obj
[0] = args
;
29773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29774 if (!SWIG_IsOK(res1
)) {
29775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29777 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29780 result
= (int)(arg1
)->GetZoom();
29781 wxPyEndAllowThreads(__tstate
);
29782 if (PyErr_Occurred()) SWIG_fail
;
29784 resultobj
= SWIG_From_int(static_cast< int >(result
));
29791 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29792 PyObject
*resultobj
= 0;
29793 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29797 PyObject
*swig_obj
[1] ;
29799 if (!args
) SWIG_fail
;
29800 swig_obj
[0] = args
;
29801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29802 if (!SWIG_IsOK(res1
)) {
29803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29805 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29808 result
= (int)(arg1
)->GetMaxPage();
29809 wxPyEndAllowThreads(__tstate
);
29810 if (PyErr_Occurred()) SWIG_fail
;
29812 resultobj
= SWIG_From_int(static_cast< int >(result
));
29819 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29820 PyObject
*resultobj
= 0;
29821 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29825 PyObject
*swig_obj
[1] ;
29827 if (!args
) SWIG_fail
;
29828 swig_obj
[0] = args
;
29829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29830 if (!SWIG_IsOK(res1
)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29833 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29836 result
= (int)(arg1
)->GetMinPage();
29837 wxPyEndAllowThreads(__tstate
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29840 resultobj
= SWIG_From_int(static_cast< int >(result
));
29847 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29848 PyObject
*resultobj
= 0;
29849 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29853 PyObject
*swig_obj
[1] ;
29855 if (!args
) SWIG_fail
;
29856 swig_obj
[0] = args
;
29857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29858 if (!SWIG_IsOK(res1
)) {
29859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29861 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29864 result
= (bool)(arg1
)->Ok();
29865 wxPyEndAllowThreads(__tstate
);
29866 if (PyErr_Occurred()) SWIG_fail
;
29869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29877 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29878 PyObject
*resultobj
= 0;
29879 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29885 PyObject
* obj0
= 0 ;
29886 PyObject
* obj1
= 0 ;
29887 char * kwnames
[] = {
29888 (char *) "self",(char *) "ok", NULL
29891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29893 if (!SWIG_IsOK(res1
)) {
29894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29896 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29897 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29898 if (!SWIG_IsOK(ecode2
)) {
29899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29901 arg2
= static_cast< bool >(val2
);
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29904 (arg1
)->SetOk(arg2
);
29905 wxPyEndAllowThreads(__tstate
);
29906 if (PyErr_Occurred()) SWIG_fail
;
29908 resultobj
= SWIG_Py_Void();
29915 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29916 PyObject
*resultobj
= 0;
29917 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29924 PyObject
* obj0
= 0 ;
29925 PyObject
* obj1
= 0 ;
29926 char * kwnames
[] = {
29927 (char *) "self",(char *) "interactive", NULL
29930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29932 if (!SWIG_IsOK(res1
)) {
29933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29935 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29936 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29937 if (!SWIG_IsOK(ecode2
)) {
29938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29940 arg2
= static_cast< bool >(val2
);
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 result
= (bool)(arg1
)->Print(arg2
);
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29956 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29957 PyObject
*resultobj
= 0;
29958 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29961 PyObject
*swig_obj
[1] ;
29963 if (!args
) SWIG_fail
;
29964 swig_obj
[0] = args
;
29965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29966 if (!SWIG_IsOK(res1
)) {
29967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29969 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29972 (arg1
)->DetermineScaling();
29973 wxPyEndAllowThreads(__tstate
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29976 resultobj
= SWIG_Py_Void();
29983 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29986 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29987 return SWIG_Py_Void();
29990 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29991 return SWIG_Python_InitShadowInstance(args
);
29994 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29995 PyObject
*resultobj
= 0;
29996 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29997 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29998 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29999 wxPyPrintPreview
*result
= 0 ;
30005 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30006 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30007 if (!SWIG_IsOK(res1
)) {
30008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30010 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30011 if (!SWIG_IsOK(res2
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30015 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30016 if (!SWIG_IsOK(res3
)) {
30017 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30019 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30022 if (!wxPyCheckForApp()) SWIG_fail
;
30023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30024 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30025 wxPyEndAllowThreads(__tstate
);
30026 if (PyErr_Occurred()) SWIG_fail
;
30028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30035 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30036 PyObject
*resultobj
= 0;
30037 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30038 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30039 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30040 wxPyPrintPreview
*result
= 0 ;
30046 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30047 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30048 if (!SWIG_IsOK(res1
)) {
30049 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30051 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30052 if (!SWIG_IsOK(res2
)) {
30053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30055 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30056 if (!SWIG_IsOK(res3
)) {
30057 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30059 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30061 if (!wxPyCheckForApp()) SWIG_fail
;
30062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30063 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30064 wxPyEndAllowThreads(__tstate
);
30065 if (PyErr_Occurred()) SWIG_fail
;
30067 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30074 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30078 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30080 if ((argc
>= 2) && (argc
<= 3)) {
30085 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30086 _v
= SWIG_CheckState(res
);
30088 if (!_v
) goto check_1
;
30090 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30095 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30099 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30104 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30105 PyObject
*resultobj
= 0;
30106 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30107 PyObject
*arg2
= (PyObject
*) 0 ;
30108 PyObject
*arg3
= (PyObject
*) 0 ;
30111 PyObject
* obj0
= 0 ;
30112 PyObject
* obj1
= 0 ;
30113 PyObject
* obj2
= 0 ;
30114 char * kwnames
[] = {
30115 (char *) "self",(char *) "self",(char *) "_class", NULL
30118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30120 if (!SWIG_IsOK(res1
)) {
30121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30123 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= SWIG_Py_Void();
30139 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30142 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30143 return SWIG_Py_Void();
30146 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30147 return SWIG_Python_InitShadowInstance(args
);
30150 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30151 PyObject
*resultobj
= 0;
30152 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30153 wxFrame
*arg2
= (wxFrame
*) 0 ;
30154 wxString
*arg3
= 0 ;
30155 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30156 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30157 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30158 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30159 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30160 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30161 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30162 wxPyPreviewFrame
*result
= 0 ;
30167 bool temp3
= false ;
30172 bool temp7
= false ;
30173 PyObject
* obj0
= 0 ;
30174 PyObject
* obj1
= 0 ;
30175 PyObject
* obj2
= 0 ;
30176 PyObject
* obj3
= 0 ;
30177 PyObject
* obj4
= 0 ;
30178 PyObject
* obj5
= 0 ;
30179 PyObject
* obj6
= 0 ;
30180 char * kwnames
[] = {
30181 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30186 if (!SWIG_IsOK(res1
)) {
30187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30189 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30190 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30191 if (!SWIG_IsOK(res2
)) {
30192 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30194 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30196 arg3
= wxString_in_helper(obj2
);
30197 if (arg3
== NULL
) SWIG_fail
;
30203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30209 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30213 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30214 if (!SWIG_IsOK(ecode6
)) {
30215 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30217 arg6
= static_cast< long >(val6
);
30221 arg7
= wxString_in_helper(obj6
);
30222 if (arg7
== NULL
) SWIG_fail
;
30227 if (!wxPyCheckForApp()) SWIG_fail
;
30228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30229 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30230 wxPyEndAllowThreads(__tstate
);
30231 if (PyErr_Occurred()) SWIG_fail
;
30233 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30256 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30257 PyObject
*resultobj
= 0;
30258 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30259 PyObject
*arg2
= (PyObject
*) 0 ;
30260 PyObject
*arg3
= (PyObject
*) 0 ;
30263 PyObject
* obj0
= 0 ;
30264 PyObject
* obj1
= 0 ;
30265 PyObject
* obj2
= 0 ;
30266 char * kwnames
[] = {
30267 (char *) "self",(char *) "self",(char *) "_class", NULL
30270 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30271 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30272 if (!SWIG_IsOK(res1
)) {
30273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30275 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30280 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30281 wxPyEndAllowThreads(__tstate
);
30282 if (PyErr_Occurred()) SWIG_fail
;
30284 resultobj
= SWIG_Py_Void();
30291 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30292 PyObject
*resultobj
= 0;
30293 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30294 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30299 PyObject
* obj0
= 0 ;
30300 PyObject
* obj1
= 0 ;
30301 char * kwnames
[] = {
30302 (char *) "self",(char *) "canvas", NULL
30305 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30306 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30307 if (!SWIG_IsOK(res1
)) {
30308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30310 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30311 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30312 if (!SWIG_IsOK(res2
)) {
30313 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30315 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30318 (arg1
)->SetPreviewCanvas(arg2
);
30319 wxPyEndAllowThreads(__tstate
);
30320 if (PyErr_Occurred()) SWIG_fail
;
30322 resultobj
= SWIG_Py_Void();
30329 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30330 PyObject
*resultobj
= 0;
30331 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30332 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30337 PyObject
* obj0
= 0 ;
30338 PyObject
* obj1
= 0 ;
30339 char * kwnames
[] = {
30340 (char *) "self",(char *) "bar", NULL
30343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30345 if (!SWIG_IsOK(res1
)) {
30346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30348 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30349 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30350 if (!SWIG_IsOK(res2
)) {
30351 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30353 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30356 (arg1
)->SetControlBar(arg2
);
30357 wxPyEndAllowThreads(__tstate
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30360 resultobj
= SWIG_Py_Void();
30367 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30368 PyObject
*resultobj
= 0;
30369 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30372 PyObject
*swig_obj
[1] ;
30374 if (!args
) SWIG_fail
;
30375 swig_obj
[0] = args
;
30376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30377 if (!SWIG_IsOK(res1
)) {
30378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30380 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30383 (arg1
)->Initialize();
30384 wxPyEndAllowThreads(__tstate
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30387 resultobj
= SWIG_Py_Void();
30394 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30395 PyObject
*resultobj
= 0;
30396 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30399 PyObject
*swig_obj
[1] ;
30401 if (!args
) SWIG_fail
;
30402 swig_obj
[0] = args
;
30403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30404 if (!SWIG_IsOK(res1
)) {
30405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30407 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30410 (arg1
)->CreateCanvas();
30411 wxPyEndAllowThreads(__tstate
);
30412 if (PyErr_Occurred()) SWIG_fail
;
30414 resultobj
= SWIG_Py_Void();
30421 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30422 PyObject
*resultobj
= 0;
30423 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30426 PyObject
*swig_obj
[1] ;
30428 if (!args
) SWIG_fail
;
30429 swig_obj
[0] = args
;
30430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30431 if (!SWIG_IsOK(res1
)) {
30432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30434 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30437 (arg1
)->CreateControlBar();
30438 wxPyEndAllowThreads(__tstate
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30441 resultobj
= SWIG_Py_Void();
30448 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30450 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30451 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30452 return SWIG_Py_Void();
30455 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30456 return SWIG_Python_InitShadowInstance(args
);
30459 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30460 PyObject
*resultobj
= 0;
30461 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30463 wxWindow
*arg3
= (wxWindow
*) 0 ;
30464 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30465 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30466 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30467 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30468 long arg6
= (long) 0 ;
30469 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30470 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30471 wxPyPreviewControlBar
*result
= 0 ;
30482 bool temp7
= false ;
30483 PyObject
* obj0
= 0 ;
30484 PyObject
* obj1
= 0 ;
30485 PyObject
* obj2
= 0 ;
30486 PyObject
* obj3
= 0 ;
30487 PyObject
* obj4
= 0 ;
30488 PyObject
* obj5
= 0 ;
30489 PyObject
* obj6
= 0 ;
30490 char * kwnames
[] = {
30491 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30496 if (!SWIG_IsOK(res1
)) {
30497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30499 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30500 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30501 if (!SWIG_IsOK(ecode2
)) {
30502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30504 arg2
= static_cast< long >(val2
);
30505 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30506 if (!SWIG_IsOK(res3
)) {
30507 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30509 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30513 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30519 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30523 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30524 if (!SWIG_IsOK(ecode6
)) {
30525 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30527 arg6
= static_cast< long >(val6
);
30531 arg7
= wxString_in_helper(obj6
);
30532 if (arg7
== NULL
) SWIG_fail
;
30537 if (!wxPyCheckForApp()) SWIG_fail
;
30538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30539 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30540 wxPyEndAllowThreads(__tstate
);
30541 if (PyErr_Occurred()) SWIG_fail
;
30543 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30558 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30559 PyObject
*resultobj
= 0;
30560 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30561 PyObject
*arg2
= (PyObject
*) 0 ;
30562 PyObject
*arg3
= (PyObject
*) 0 ;
30565 PyObject
* obj0
= 0 ;
30566 PyObject
* obj1
= 0 ;
30567 PyObject
* obj2
= 0 ;
30568 char * kwnames
[] = {
30569 (char *) "self",(char *) "self",(char *) "_class", NULL
30572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30574 if (!SWIG_IsOK(res1
)) {
30575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30577 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30582 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30583 wxPyEndAllowThreads(__tstate
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30586 resultobj
= SWIG_Py_Void();
30593 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30594 PyObject
*resultobj
= 0;
30595 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30596 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30601 PyObject
* obj0
= 0 ;
30602 PyObject
* obj1
= 0 ;
30603 char * kwnames
[] = {
30604 (char *) "self",(char *) "preview", NULL
30607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30609 if (!SWIG_IsOK(res1
)) {
30610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30612 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30613 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30614 if (!SWIG_IsOK(res2
)) {
30615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30617 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30620 (arg1
)->SetPrintPreview(arg2
);
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30624 resultobj
= SWIG_Py_Void();
30631 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30632 PyObject
*resultobj
= 0;
30633 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30636 PyObject
*swig_obj
[1] ;
30638 if (!args
) SWIG_fail
;
30639 swig_obj
[0] = args
;
30640 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30641 if (!SWIG_IsOK(res1
)) {
30642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30644 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30647 (arg1
)->CreateButtons();
30648 wxPyEndAllowThreads(__tstate
);
30649 if (PyErr_Occurred()) SWIG_fail
;
30651 resultobj
= SWIG_Py_Void();
30658 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30659 PyObject
*resultobj
= 0;
30660 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30666 PyObject
* obj0
= 0 ;
30667 PyObject
* obj1
= 0 ;
30668 char * kwnames
[] = {
30669 (char *) "self",(char *) "zoom", NULL
30672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30674 if (!SWIG_IsOK(res1
)) {
30675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30677 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30679 if (!SWIG_IsOK(ecode2
)) {
30680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30682 arg2
= static_cast< int >(val2
);
30684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30685 (arg1
)->SetZoomControl(arg2
);
30686 wxPyEndAllowThreads(__tstate
);
30687 if (PyErr_Occurred()) SWIG_fail
;
30689 resultobj
= SWIG_Py_Void();
30696 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30698 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30699 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30700 return SWIG_Py_Void();
30703 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30704 return SWIG_Python_InitShadowInstance(args
);
30707 static PyMethodDef SwigMethods
[] = {
30708 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30709 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30710 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30711 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30712 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30713 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30714 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30715 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30717 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30718 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30719 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30720 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30721 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30722 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30723 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30724 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30726 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30728 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30729 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30730 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30731 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30732 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30733 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30735 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30736 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30737 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30738 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30739 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30741 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30742 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30743 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30744 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30745 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30746 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30747 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30750 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30752 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30753 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30754 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30755 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30756 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30757 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30758 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30759 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30760 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30761 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30762 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30763 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30765 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30766 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30767 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30768 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30770 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30771 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30774 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30775 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30776 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30777 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30778 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30779 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30780 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30781 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30782 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30783 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30784 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30785 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30786 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30787 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30788 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30790 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30791 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30792 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30793 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30794 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30795 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30796 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30797 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30798 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30800 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30801 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30803 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30804 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30805 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30806 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30809 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30810 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30811 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30813 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30814 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30815 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30816 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30817 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30818 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30819 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30822 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30823 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30826 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30827 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30829 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30831 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30832 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30833 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30834 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30835 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30837 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30839 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30840 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30841 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30842 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30844 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30846 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30847 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30848 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30849 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30851 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30852 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30853 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30854 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30855 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30856 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30857 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30859 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30860 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30861 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30863 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30864 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30865 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30866 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30868 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30869 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30870 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30871 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30872 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30873 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30874 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30875 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30876 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30881 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30883 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30884 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30886 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30887 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30888 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30889 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30890 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30893 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30894 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30896 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30897 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30898 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30901 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30903 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30905 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30906 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30907 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30910 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30912 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30913 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30914 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30916 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30917 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30918 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30919 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30920 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30921 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30923 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30925 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30926 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30927 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30929 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30931 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30932 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30934 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30935 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30936 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30937 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30938 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30939 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30943 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30944 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30946 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30949 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30950 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30951 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30952 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30953 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
30955 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30956 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30957 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30958 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30959 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30960 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30961 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30962 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30964 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30973 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30974 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30975 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30976 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30977 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30978 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30979 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30982 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30983 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30985 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30988 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30989 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30990 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30992 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30993 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30994 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30996 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30997 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30999 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31000 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31004 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31005 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31009 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31011 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31012 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31014 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31018 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31020 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31021 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31022 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31023 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31025 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31026 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31027 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31029 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31031 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31032 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31034 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31035 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31036 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31037 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31038 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31039 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31042 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31044 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31045 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31047 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31048 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31049 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31052 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31053 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31056 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31057 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31060 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31063 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31065 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31066 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31067 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31068 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31069 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31070 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31071 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31072 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31073 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31074 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31075 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31077 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31078 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31079 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31080 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31081 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31082 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31084 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31085 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31087 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31089 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31090 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31092 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31093 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31095 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31096 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31097 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31098 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31099 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31101 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31102 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31103 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31104 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31105 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31106 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31113 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31114 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31116 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31117 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31118 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31121 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31122 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31125 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31126 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31127 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31128 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31129 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31130 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31131 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31132 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31134 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31136 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31137 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31139 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31140 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31141 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31142 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31146 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31147 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31149 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31151 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31153 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31154 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31156 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31158 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31159 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31160 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31161 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31162 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31163 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31164 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31166 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31167 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31168 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31169 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31171 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31172 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31173 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31175 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31177 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31178 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31180 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31182 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31183 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31186 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31187 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31188 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31189 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31190 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31191 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31192 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31193 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31194 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31195 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31196 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31198 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31206 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31207 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31208 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31209 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31210 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31211 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31212 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31213 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31214 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31216 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31218 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31219 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31221 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31222 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31224 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31225 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31226 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31227 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31228 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31229 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31230 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31231 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31232 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31233 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31234 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31235 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31236 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31237 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31238 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31239 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31240 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31241 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31242 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31243 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31244 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31245 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31246 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31247 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31248 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31250 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31252 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31253 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31254 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31256 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31258 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31259 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31260 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31261 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31262 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31263 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31264 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31265 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31271 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31272 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31273 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31274 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31275 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31276 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31277 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31278 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31279 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31280 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31281 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31282 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31283 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31284 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31285 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31287 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31288 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31289 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31290 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31291 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31292 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31295 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31296 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31297 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31298 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31300 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31301 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31302 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31303 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31304 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31305 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31306 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31307 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31308 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31309 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31310 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31311 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31312 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31313 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31314 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31315 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31316 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31317 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31318 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31319 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31320 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31321 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31322 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31324 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31330 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31331 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31332 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31333 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31334 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31335 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31337 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31338 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31339 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31340 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31341 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31342 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31343 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31344 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31345 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31346 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31348 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31352 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31353 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31354 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31355 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31356 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31357 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31358 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31359 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31360 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31361 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31362 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31363 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31364 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31365 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31366 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31368 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31370 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31372 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31373 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31376 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31377 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31378 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31379 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31381 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31382 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31383 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31384 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31385 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31386 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31387 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31388 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31389 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31390 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31391 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31392 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31393 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31395 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31396 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31397 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31398 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31399 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31400 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31401 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31402 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31403 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31404 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31405 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31406 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31408 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31410 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31411 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31414 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31415 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31416 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31418 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31419 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31420 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31422 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31423 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31424 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31425 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31426 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31427 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31428 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31429 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31430 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31431 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31433 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31434 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31435 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31436 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31437 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31438 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31439 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31440 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31441 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31442 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31443 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31444 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31447 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31449 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31450 { NULL
, NULL
, 0, NULL
}
31454 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31456 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31457 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31459 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31460 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31462 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31463 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31465 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31466 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31468 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31469 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31471 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31472 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31474 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31475 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31477 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31478 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31480 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31481 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31483 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31484 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31486 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31487 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31489 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31490 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31492 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31493 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31495 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31496 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31498 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31499 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31501 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31502 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31504 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31505 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31507 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31508 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31510 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31511 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31513 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31514 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31516 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31517 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31519 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31520 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31522 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31523 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31525 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31526 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31528 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31529 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31531 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31532 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31534 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31535 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31537 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31538 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31540 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31541 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31543 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31544 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31546 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31547 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31549 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31550 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31552 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31553 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31555 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31556 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31558 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31559 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31561 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31562 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31564 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31565 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31567 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31568 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31570 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31571 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31573 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31574 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31576 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31577 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31579 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31580 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31582 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31583 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31585 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31586 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31588 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31589 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31591 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31592 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31594 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31597 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31600 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31603 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31604 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31606 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31607 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31609 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31610 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31612 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31613 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31615 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31616 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31618 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31619 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31621 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31624 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31627 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31628 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31630 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
31631 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31633 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31634 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31636 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31637 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31639 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31640 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31642 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31643 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31645 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31646 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31648 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31649 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31651 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31652 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31654 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31655 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31657 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31658 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31660 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31661 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31663 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31664 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31666 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31667 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31669 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31670 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31672 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31673 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31675 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31676 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31678 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31679 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31681 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31682 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31684 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31685 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31687 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31688 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31690 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31691 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31693 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31696 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31697 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31699 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31700 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31702 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31705 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31706 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31708 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31709 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31711 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31714 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31717 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31718 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31720 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31721 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31723 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31724 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31726 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31727 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31729 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31730 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31732 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31735 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31738 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31741 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31742 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31744 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31745 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31747 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31748 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31750 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31751 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31753 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31754 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31756 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31757 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31759 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31760 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31762 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31763 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31765 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31766 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31768 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31769 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31771 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31772 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31774 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31777 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31780 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31781 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31783 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31784 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31786 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31787 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31789 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31790 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31792 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31793 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31795 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31796 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31798 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31799 return (void *)((wxObject
*) ((wxSizer
*) x
));
31801 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31802 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31804 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31805 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31807 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31810 static void *_p_wxEventTo_p_wxObject(void *x
) {
31811 return (void *)((wxObject
*) ((wxEvent
*) x
));
31813 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31814 return (void *)((wxObject
*) ((wxFontData
*) x
));
31816 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31817 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31819 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31820 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31822 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31823 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31825 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31826 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31828 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31829 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31831 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31832 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31834 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31835 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31837 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31838 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31840 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31841 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31843 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31844 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31846 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31847 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31849 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31850 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31852 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31853 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31855 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31856 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31858 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31859 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31861 static void *_p_wxControlTo_p_wxObject(void *x
) {
31862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31864 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31865 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31867 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31868 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31870 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31871 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31873 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31874 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31876 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31877 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31879 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31882 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31883 return (void *)((wxObject
*) ((wxColourData
*) x
));
31885 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31886 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31888 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31889 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31891 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31894 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31897 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31898 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31900 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31901 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31903 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31904 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31906 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31907 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31909 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31910 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31912 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
31913 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31915 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31916 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31918 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31919 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31921 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31922 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31924 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31925 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31927 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31928 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31930 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31931 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31933 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31934 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31936 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31937 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31939 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31940 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31942 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31943 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31945 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31946 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31948 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31949 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31951 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31952 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31954 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31955 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31957 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31958 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31960 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31961 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31963 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31964 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31966 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31967 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31969 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31970 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31972 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31973 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31975 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31976 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31978 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31979 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31981 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31982 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31984 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31985 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31987 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31988 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31990 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31991 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31993 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31994 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31996 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31997 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31999 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32000 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32002 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32003 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32005 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32008 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32011 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32012 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32014 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32015 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32017 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32018 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32020 static void *_p_wxImageTo_p_wxObject(void *x
) {
32021 return (void *)((wxObject
*) ((wxImage
*) x
));
32023 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32024 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32026 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32027 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32029 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32030 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32032 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32033 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32035 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32038 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32041 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32042 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32044 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32045 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32047 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32048 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32050 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32051 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32053 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32054 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32056 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32059 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32062 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32065 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32066 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32068 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32069 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32071 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32072 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32074 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32077 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32080 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32083 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32084 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32086 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32087 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32089 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32090 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32092 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32095 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32096 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32098 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32099 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32101 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32102 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32104 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32105 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32107 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32110 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32111 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32113 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32114 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32116 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32117 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32119 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32120 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32122 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32123 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32125 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32126 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32128 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32129 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32131 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32132 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32134 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32135 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32137 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32138 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32140 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32141 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32143 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32144 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32146 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32147 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32149 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32150 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32152 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32155 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32156 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32158 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32159 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32161 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32162 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32164 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32165 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32167 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32168 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32170 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32171 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32173 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32174 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32176 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32179 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32180 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32182 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32183 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32185 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32186 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32188 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32189 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32191 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32192 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32194 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32195 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32197 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32198 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32200 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32201 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32203 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32204 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32206 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32207 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32209 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32210 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32212 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32213 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32215 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32216 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32218 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32219 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32221 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32222 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32224 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32225 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32227 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32228 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32230 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32231 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32233 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32234 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32236 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32237 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32239 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32240 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32242 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32243 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32245 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32246 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32248 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32249 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32251 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32252 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32254 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32255 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32257 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32258 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32260 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32261 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32263 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32264 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32266 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32267 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32269 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32270 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32272 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32273 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32275 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32276 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32278 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32279 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32281 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32282 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32284 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32285 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32287 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32288 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32290 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32291 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32293 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32294 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32296 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32297 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32299 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32300 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32302 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32303 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32305 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32306 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32308 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32309 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32311 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32312 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32314 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32315 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32317 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32318 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32320 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32321 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32323 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32324 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32326 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32327 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32329 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32330 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32332 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32333 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32335 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32336 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32338 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32339 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32341 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32342 return (void *)((wxWindow
*) ((wxControl
*) x
));
32344 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32345 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32347 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32348 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32350 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32351 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32353 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32354 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32356 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32357 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32359 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32360 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32362 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32363 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32365 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32366 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32368 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32369 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32371 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32372 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32374 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32375 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32377 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32378 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32380 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32381 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32383 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32384 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32386 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32387 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32389 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32390 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32392 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32393 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32395 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32396 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32398 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32399 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32401 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32402 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32404 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32405 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32407 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32408 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32410 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32411 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32413 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32414 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32416 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32417 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32419 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32420 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32422 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32423 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32425 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32426 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32428 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32429 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32431 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32432 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32434 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32435 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32437 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32438 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32440 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32441 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32443 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32444 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32446 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32447 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32449 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32450 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32452 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32453 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32455 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32456 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32458 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32459 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32461 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32462 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32464 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32465 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32467 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32468 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32470 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32471 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32473 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32474 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32476 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32477 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32479 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32480 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32482 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32483 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32485 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32486 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32488 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32489 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32491 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32492 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32494 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32495 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32497 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32498 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32500 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32501 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32503 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32504 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32505 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};
32506 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32507 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32508 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32509 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32510 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32511 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32512 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32513 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32514 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32515 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32516 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32517 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32518 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32519 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32520 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32521 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32522 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32523 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32524 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32525 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32526 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32527 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32528 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32529 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32530 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32531 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32532 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32533 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32534 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32535 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32536 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32537 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32538 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32539 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32540 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32541 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32542 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32543 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32544 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32545 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32546 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32547 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32548 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32549 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32550 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32551 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32552 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32553 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32554 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32555 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32556 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32557 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32558 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32559 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32560 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32561 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32562 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32563 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32564 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32565 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32566 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32567 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32568 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32569 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32570 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32571 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32572 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32573 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32574 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32575 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32576 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32577 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32578 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32579 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32580 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32581 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32582 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32583 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32584 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32585 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32586 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32587 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32588 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32589 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32590 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32591 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32592 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32593 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32594 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32595 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32596 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32597 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32598 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32599 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32600 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32601 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32602 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32603 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32604 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32605 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32606 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32607 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32608 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32609 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32610 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32611 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32612 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32613 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32614 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32615 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32616 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32617 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32618 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32619 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32620 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32621 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32622 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32623 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32624 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32625 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32626 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32627 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32628 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32629 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32630 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32631 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32632 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32633 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32634 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32635 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32636 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32637 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32638 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32639 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32640 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32641 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32642 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32643 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32644 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32645 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32646 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32647 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32648 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32649 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32650 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32651 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32652 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32653 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32654 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32655 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32656 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32657 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32658 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32659 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32660 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32661 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32662 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32663 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32664 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32665 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32666 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32668 static swig_type_info
*swig_type_initial
[] = {
32671 &_swigt__p_form_ops_t
,
32673 &_swigt__p_unsigned_char
,
32674 &_swigt__p_unsigned_int
,
32675 &_swigt__p_unsigned_long
,
32676 &_swigt__p_wxANIHandler
,
32677 &_swigt__p_wxAcceleratorTable
,
32678 &_swigt__p_wxActivateEvent
,
32679 &_swigt__p_wxArrayInt
,
32680 &_swigt__p_wxBMPHandler
,
32681 &_swigt__p_wxBitmap
,
32682 &_swigt__p_wxBoxSizer
,
32683 &_swigt__p_wxCURHandler
,
32684 &_swigt__p_wxCalculateLayoutEvent
,
32685 &_swigt__p_wxChildFocusEvent
,
32686 &_swigt__p_wxClipboardTextEvent
,
32687 &_swigt__p_wxCloseEvent
,
32688 &_swigt__p_wxColour
,
32689 &_swigt__p_wxColourData
,
32690 &_swigt__p_wxColourDialog
,
32691 &_swigt__p_wxCommandEvent
,
32692 &_swigt__p_wxContextMenuEvent
,
32693 &_swigt__p_wxControl
,
32694 &_swigt__p_wxControlWithItems
,
32696 &_swigt__p_wxDateEvent
,
32697 &_swigt__p_wxDialog
,
32698 &_swigt__p_wxDirDialog
,
32699 &_swigt__p_wxDisplayChangedEvent
,
32700 &_swigt__p_wxDropFilesEvent
,
32701 &_swigt__p_wxDuplexMode
,
32702 &_swigt__p_wxEraseEvent
,
32703 &_swigt__p_wxEvent
,
32704 &_swigt__p_wxEvtHandler
,
32705 &_swigt__p_wxFSFile
,
32706 &_swigt__p_wxFileDialog
,
32707 &_swigt__p_wxFileSystem
,
32708 &_swigt__p_wxFindDialogEvent
,
32709 &_swigt__p_wxFindReplaceData
,
32710 &_swigt__p_wxFindReplaceDialog
,
32711 &_swigt__p_wxFlexGridSizer
,
32712 &_swigt__p_wxFocusEvent
,
32714 &_swigt__p_wxFontData
,
32715 &_swigt__p_wxFontDialog
,
32716 &_swigt__p_wxFrame
,
32717 &_swigt__p_wxGBSizerItem
,
32718 &_swigt__p_wxGIFHandler
,
32719 &_swigt__p_wxGridBagSizer
,
32720 &_swigt__p_wxGridSizer
,
32721 &_swigt__p_wxHtmlLinkInfo
,
32722 &_swigt__p_wxICOHandler
,
32724 &_swigt__p_wxIconBundle
,
32725 &_swigt__p_wxIconizeEvent
,
32726 &_swigt__p_wxIdleEvent
,
32727 &_swigt__p_wxImage
,
32728 &_swigt__p_wxImageHandler
,
32729 &_swigt__p_wxIndividualLayoutConstraint
,
32730 &_swigt__p_wxInitDialogEvent
,
32731 &_swigt__p_wxJPEGHandler
,
32732 &_swigt__p_wxKeyEvent
,
32733 &_swigt__p_wxLayoutAlgorithm
,
32734 &_swigt__p_wxLayoutConstraints
,
32735 &_swigt__p_wxMDIChildFrame
,
32736 &_swigt__p_wxMDIClientWindow
,
32737 &_swigt__p_wxMDIParentFrame
,
32738 &_swigt__p_wxMaximizeEvent
,
32740 &_swigt__p_wxMenuBar
,
32741 &_swigt__p_wxMenuEvent
,
32742 &_swigt__p_wxMenuItem
,
32743 &_swigt__p_wxMessageDialog
,
32744 &_swigt__p_wxMiniFrame
,
32745 &_swigt__p_wxMouseCaptureChangedEvent
,
32746 &_swigt__p_wxMouseEvent
,
32747 &_swigt__p_wxMoveEvent
,
32748 &_swigt__p_wxMultiChoiceDialog
,
32749 &_swigt__p_wxNavigationKeyEvent
,
32750 &_swigt__p_wxNcPaintEvent
,
32751 &_swigt__p_wxNotifyEvent
,
32752 &_swigt__p_wxNumberEntryDialog
,
32753 &_swigt__p_wxObject
,
32754 &_swigt__p_wxPCXHandler
,
32755 &_swigt__p_wxPNGHandler
,
32756 &_swigt__p_wxPNMHandler
,
32757 &_swigt__p_wxPageSetupDialog
,
32758 &_swigt__p_wxPageSetupDialogData
,
32759 &_swigt__p_wxPaintEvent
,
32760 &_swigt__p_wxPaletteChangedEvent
,
32761 &_swigt__p_wxPanel
,
32762 &_swigt__p_wxPaperSize
,
32763 &_swigt__p_wxPasswordEntryDialog
,
32764 &_swigt__p_wxPoint
,
32765 &_swigt__p_wxPopupWindow
,
32766 &_swigt__p_wxPreviewCanvas
,
32767 &_swigt__p_wxPreviewControlBar
,
32768 &_swigt__p_wxPreviewFrame
,
32769 &_swigt__p_wxPrintData
,
32770 &_swigt__p_wxPrintDialog
,
32771 &_swigt__p_wxPrintDialogData
,
32772 &_swigt__p_wxPrintPreview
,
32773 &_swigt__p_wxPrinter
,
32774 &_swigt__p_wxProgressDialog
,
32775 &_swigt__p_wxPyApp
,
32776 &_swigt__p_wxPyCommandEvent
,
32777 &_swigt__p_wxPyEvent
,
32778 &_swigt__p_wxPyHtmlListBox
,
32779 &_swigt__p_wxPyImageHandler
,
32780 &_swigt__p_wxPyPanel
,
32781 &_swigt__p_wxPyPopupTransientWindow
,
32782 &_swigt__p_wxPyPreviewControlBar
,
32783 &_swigt__p_wxPyPreviewFrame
,
32784 &_swigt__p_wxPyPrintPreview
,
32785 &_swigt__p_wxPyPrintout
,
32786 &_swigt__p_wxPyScrolledWindow
,
32787 &_swigt__p_wxPySizer
,
32788 &_swigt__p_wxPyTaskBarIcon
,
32789 &_swigt__p_wxPyVListBox
,
32790 &_swigt__p_wxPyVScrolledWindow
,
32791 &_swigt__p_wxPyValidator
,
32792 &_swigt__p_wxPyWindow
,
32793 &_swigt__p_wxQueryLayoutInfoEvent
,
32794 &_swigt__p_wxQueryNewPaletteEvent
,
32796 &_swigt__p_wxRegion
,
32797 &_swigt__p_wxSashEvent
,
32798 &_swigt__p_wxSashLayoutWindow
,
32799 &_swigt__p_wxSashWindow
,
32800 &_swigt__p_wxScrollEvent
,
32801 &_swigt__p_wxScrollWinEvent
,
32802 &_swigt__p_wxScrolledWindow
,
32803 &_swigt__p_wxSetCursorEvent
,
32804 &_swigt__p_wxShowEvent
,
32805 &_swigt__p_wxSingleChoiceDialog
,
32807 &_swigt__p_wxSizeEvent
,
32808 &_swigt__p_wxSizer
,
32809 &_swigt__p_wxSizerItem
,
32810 &_swigt__p_wxSplashScreen
,
32811 &_swigt__p_wxSplashScreenWindow
,
32812 &_swigt__p_wxSplitterEvent
,
32813 &_swigt__p_wxSplitterWindow
,
32814 &_swigt__p_wxStaticBoxSizer
,
32815 &_swigt__p_wxStatusBar
,
32816 &_swigt__p_wxStdDialogButtonSizer
,
32817 &_swigt__p_wxString
,
32818 &_swigt__p_wxSysColourChangedEvent
,
32819 &_swigt__p_wxTIFFHandler
,
32820 &_swigt__p_wxTaskBarIcon
,
32821 &_swigt__p_wxTaskBarIconEvent
,
32822 &_swigt__p_wxTextEntryDialog
,
32823 &_swigt__p_wxTipWindow
,
32824 &_swigt__p_wxToolBar
,
32825 &_swigt__p_wxTopLevelWindow
,
32826 &_swigt__p_wxUpdateUIEvent
,
32827 &_swigt__p_wxValidator
,
32828 &_swigt__p_wxVisualAttributes
,
32829 &_swigt__p_wxWindow
,
32830 &_swigt__p_wxWindowCreateEvent
,
32831 &_swigt__p_wxWindowDestroyEvent
,
32832 &_swigt__p_wxXPMHandler
,
32835 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32836 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32837 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32838 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32839 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32840 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32841 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32842 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32843 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32844 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32845 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32846 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32847 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32848 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32849 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32850 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32851 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32852 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32853 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32854 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32855 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32856 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32857 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
32858 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32859 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
32860 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32861 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32862 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32863 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32864 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32865 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32866 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32867 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32868 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32869 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32870 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32871 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32872 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32873 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32874 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32875 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32876 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32877 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32878 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32879 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32880 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32881 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32882 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32883 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32884 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32885 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32886 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32887 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
32888 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32889 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32890 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32891 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32892 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32893 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
32894 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32895 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32896 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32897 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32898 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32899 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32900 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32901 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32902 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}};
32903 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32904 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32905 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32906 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32907 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32908 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32909 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32910 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32911 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32912 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32913 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32914 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32915 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}};
32916 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32917 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32918 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32919 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32920 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32921 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32922 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32923 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32924 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32925 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32926 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32927 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32928 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32929 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32930 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32931 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32932 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32933 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32934 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32935 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32936 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32937 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32938 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32939 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32940 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32941 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32942 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32943 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32944 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
32946 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32947 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32948 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}};
32949 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32950 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32951 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32952 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}};
32953 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32954 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}};
32955 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}};
32956 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32957 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32958 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32959 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}};
32960 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32961 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32962 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32964 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}};
32965 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32966 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32967 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32968 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32969 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32970 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32971 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}};
32972 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}};
32973 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32974 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32975 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32977 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32978 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32979 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}};
32980 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32981 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}};
32982 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32988 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32989 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32992 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32993 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}};
32994 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32995 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32996 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
32997 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32998 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
33000 static swig_cast_info
*swig_cast_initial
[] = {
33003 _swigc__p_form_ops_t
,
33005 _swigc__p_unsigned_char
,
33006 _swigc__p_unsigned_int
,
33007 _swigc__p_unsigned_long
,
33008 _swigc__p_wxANIHandler
,
33009 _swigc__p_wxAcceleratorTable
,
33010 _swigc__p_wxActivateEvent
,
33011 _swigc__p_wxArrayInt
,
33012 _swigc__p_wxBMPHandler
,
33013 _swigc__p_wxBitmap
,
33014 _swigc__p_wxBoxSizer
,
33015 _swigc__p_wxCURHandler
,
33016 _swigc__p_wxCalculateLayoutEvent
,
33017 _swigc__p_wxChildFocusEvent
,
33018 _swigc__p_wxClipboardTextEvent
,
33019 _swigc__p_wxCloseEvent
,
33020 _swigc__p_wxColour
,
33021 _swigc__p_wxColourData
,
33022 _swigc__p_wxColourDialog
,
33023 _swigc__p_wxCommandEvent
,
33024 _swigc__p_wxContextMenuEvent
,
33025 _swigc__p_wxControl
,
33026 _swigc__p_wxControlWithItems
,
33028 _swigc__p_wxDateEvent
,
33029 _swigc__p_wxDialog
,
33030 _swigc__p_wxDirDialog
,
33031 _swigc__p_wxDisplayChangedEvent
,
33032 _swigc__p_wxDropFilesEvent
,
33033 _swigc__p_wxDuplexMode
,
33034 _swigc__p_wxEraseEvent
,
33036 _swigc__p_wxEvtHandler
,
33037 _swigc__p_wxFSFile
,
33038 _swigc__p_wxFileDialog
,
33039 _swigc__p_wxFileSystem
,
33040 _swigc__p_wxFindDialogEvent
,
33041 _swigc__p_wxFindReplaceData
,
33042 _swigc__p_wxFindReplaceDialog
,
33043 _swigc__p_wxFlexGridSizer
,
33044 _swigc__p_wxFocusEvent
,
33046 _swigc__p_wxFontData
,
33047 _swigc__p_wxFontDialog
,
33049 _swigc__p_wxGBSizerItem
,
33050 _swigc__p_wxGIFHandler
,
33051 _swigc__p_wxGridBagSizer
,
33052 _swigc__p_wxGridSizer
,
33053 _swigc__p_wxHtmlLinkInfo
,
33054 _swigc__p_wxICOHandler
,
33056 _swigc__p_wxIconBundle
,
33057 _swigc__p_wxIconizeEvent
,
33058 _swigc__p_wxIdleEvent
,
33060 _swigc__p_wxImageHandler
,
33061 _swigc__p_wxIndividualLayoutConstraint
,
33062 _swigc__p_wxInitDialogEvent
,
33063 _swigc__p_wxJPEGHandler
,
33064 _swigc__p_wxKeyEvent
,
33065 _swigc__p_wxLayoutAlgorithm
,
33066 _swigc__p_wxLayoutConstraints
,
33067 _swigc__p_wxMDIChildFrame
,
33068 _swigc__p_wxMDIClientWindow
,
33069 _swigc__p_wxMDIParentFrame
,
33070 _swigc__p_wxMaximizeEvent
,
33072 _swigc__p_wxMenuBar
,
33073 _swigc__p_wxMenuEvent
,
33074 _swigc__p_wxMenuItem
,
33075 _swigc__p_wxMessageDialog
,
33076 _swigc__p_wxMiniFrame
,
33077 _swigc__p_wxMouseCaptureChangedEvent
,
33078 _swigc__p_wxMouseEvent
,
33079 _swigc__p_wxMoveEvent
,
33080 _swigc__p_wxMultiChoiceDialog
,
33081 _swigc__p_wxNavigationKeyEvent
,
33082 _swigc__p_wxNcPaintEvent
,
33083 _swigc__p_wxNotifyEvent
,
33084 _swigc__p_wxNumberEntryDialog
,
33085 _swigc__p_wxObject
,
33086 _swigc__p_wxPCXHandler
,
33087 _swigc__p_wxPNGHandler
,
33088 _swigc__p_wxPNMHandler
,
33089 _swigc__p_wxPageSetupDialog
,
33090 _swigc__p_wxPageSetupDialogData
,
33091 _swigc__p_wxPaintEvent
,
33092 _swigc__p_wxPaletteChangedEvent
,
33094 _swigc__p_wxPaperSize
,
33095 _swigc__p_wxPasswordEntryDialog
,
33097 _swigc__p_wxPopupWindow
,
33098 _swigc__p_wxPreviewCanvas
,
33099 _swigc__p_wxPreviewControlBar
,
33100 _swigc__p_wxPreviewFrame
,
33101 _swigc__p_wxPrintData
,
33102 _swigc__p_wxPrintDialog
,
33103 _swigc__p_wxPrintDialogData
,
33104 _swigc__p_wxPrintPreview
,
33105 _swigc__p_wxPrinter
,
33106 _swigc__p_wxProgressDialog
,
33108 _swigc__p_wxPyCommandEvent
,
33109 _swigc__p_wxPyEvent
,
33110 _swigc__p_wxPyHtmlListBox
,
33111 _swigc__p_wxPyImageHandler
,
33112 _swigc__p_wxPyPanel
,
33113 _swigc__p_wxPyPopupTransientWindow
,
33114 _swigc__p_wxPyPreviewControlBar
,
33115 _swigc__p_wxPyPreviewFrame
,
33116 _swigc__p_wxPyPrintPreview
,
33117 _swigc__p_wxPyPrintout
,
33118 _swigc__p_wxPyScrolledWindow
,
33119 _swigc__p_wxPySizer
,
33120 _swigc__p_wxPyTaskBarIcon
,
33121 _swigc__p_wxPyVListBox
,
33122 _swigc__p_wxPyVScrolledWindow
,
33123 _swigc__p_wxPyValidator
,
33124 _swigc__p_wxPyWindow
,
33125 _swigc__p_wxQueryLayoutInfoEvent
,
33126 _swigc__p_wxQueryNewPaletteEvent
,
33128 _swigc__p_wxRegion
,
33129 _swigc__p_wxSashEvent
,
33130 _swigc__p_wxSashLayoutWindow
,
33131 _swigc__p_wxSashWindow
,
33132 _swigc__p_wxScrollEvent
,
33133 _swigc__p_wxScrollWinEvent
,
33134 _swigc__p_wxScrolledWindow
,
33135 _swigc__p_wxSetCursorEvent
,
33136 _swigc__p_wxShowEvent
,
33137 _swigc__p_wxSingleChoiceDialog
,
33139 _swigc__p_wxSizeEvent
,
33141 _swigc__p_wxSizerItem
,
33142 _swigc__p_wxSplashScreen
,
33143 _swigc__p_wxSplashScreenWindow
,
33144 _swigc__p_wxSplitterEvent
,
33145 _swigc__p_wxSplitterWindow
,
33146 _swigc__p_wxStaticBoxSizer
,
33147 _swigc__p_wxStatusBar
,
33148 _swigc__p_wxStdDialogButtonSizer
,
33149 _swigc__p_wxString
,
33150 _swigc__p_wxSysColourChangedEvent
,
33151 _swigc__p_wxTIFFHandler
,
33152 _swigc__p_wxTaskBarIcon
,
33153 _swigc__p_wxTaskBarIconEvent
,
33154 _swigc__p_wxTextEntryDialog
,
33155 _swigc__p_wxTipWindow
,
33156 _swigc__p_wxToolBar
,
33157 _swigc__p_wxTopLevelWindow
,
33158 _swigc__p_wxUpdateUIEvent
,
33159 _swigc__p_wxValidator
,
33160 _swigc__p_wxVisualAttributes
,
33161 _swigc__p_wxWindow
,
33162 _swigc__p_wxWindowCreateEvent
,
33163 _swigc__p_wxWindowDestroyEvent
,
33164 _swigc__p_wxXPMHandler
,
33168 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33170 static swig_const_info swig_const_table
[] = {
33171 {0, 0, 0, 0.0, 0, 0}};
33176 /* -----------------------------------------------------------------------------
33177 * Type initialization:
33178 * This problem is tough by the requirement that no dynamic
33179 * memory is used. Also, since swig_type_info structures store pointers to
33180 * swig_cast_info structures and swig_cast_info structures store pointers back
33181 * to swig_type_info structures, we need some lookup code at initialization.
33182 * The idea is that swig generates all the structures that are needed.
33183 * The runtime then collects these partially filled structures.
33184 * The SWIG_InitializeModule function takes these initial arrays out of
33185 * swig_module, and does all the lookup, filling in the swig_module.types
33186 * array with the correct data and linking the correct swig_cast_info
33187 * structures together.
33189 * The generated swig_type_info structures are assigned staticly to an initial
33190 * array. We just loop though that array, and handle each type individually.
33191 * First we lookup if this type has been already loaded, and if so, use the
33192 * loaded structure instead of the generated one. Then we have to fill in the
33193 * cast linked list. The cast data is initially stored in something like a
33194 * two-dimensional array. Each row corresponds to a type (there are the same
33195 * number of rows as there are in the swig_type_initial array). Each entry in
33196 * a column is one of the swig_cast_info structures for that type.
33197 * The cast_initial array is actually an array of arrays, because each row has
33198 * a variable number of columns. So to actually build the cast linked list,
33199 * we find the array of casts associated with the type, and loop through it
33200 * adding the casts to the list. The one last trick we need to do is making
33201 * sure the type pointer in the swig_cast_info struct is correct.
33203 * First off, we lookup the cast->type name to see if it is already loaded.
33204 * There are three cases to handle:
33205 * 1) If the cast->type has already been loaded AND the type we are adding
33206 * casting info to has not been loaded (it is in this module), THEN we
33207 * replace the cast->type pointer with the type pointer that has already
33209 * 2) If BOTH types (the one we are adding casting info to, and the
33210 * cast->type) are loaded, THEN the cast info has already been loaded by
33211 * the previous module so we just ignore it.
33212 * 3) Finally, if cast->type has not already been loaded, then we add that
33213 * swig_cast_info to the linked list (because the cast->type) pointer will
33215 * ----------------------------------------------------------------------------- */
33225 #define SWIGRUNTIME_DEBUG
33229 SWIG_InitializeModule(void *clientdata
) {
33231 swig_module_info
*module_head
;
33232 static int init_run
= 0;
33234 clientdata
= clientdata
;
33236 if (init_run
) return;
33239 /* Initialize the swig_module */
33240 swig_module
.type_initial
= swig_type_initial
;
33241 swig_module
.cast_initial
= swig_cast_initial
;
33243 /* Try and load any already created modules */
33244 module_head
= SWIG_GetModule(clientdata
);
33246 swig_module
.next
= module_head
->next
;
33247 module_head
->next
= &swig_module
;
33249 /* This is the first module loaded */
33250 swig_module
.next
= &swig_module
;
33251 SWIG_SetModule(clientdata
, &swig_module
);
33254 /* Now work on filling in swig_module.types */
33255 #ifdef SWIGRUNTIME_DEBUG
33256 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33258 for (i
= 0; i
< swig_module
.size
; ++i
) {
33259 swig_type_info
*type
= 0;
33260 swig_type_info
*ret
;
33261 swig_cast_info
*cast
;
33263 #ifdef SWIGRUNTIME_DEBUG
33264 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33267 /* if there is another module already loaded */
33268 if (swig_module
.next
!= &swig_module
) {
33269 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33272 /* Overwrite clientdata field */
33273 #ifdef SWIGRUNTIME_DEBUG
33274 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33276 if (swig_module
.type_initial
[i
]->clientdata
) {
33277 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33278 #ifdef SWIGRUNTIME_DEBUG
33279 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33283 type
= swig_module
.type_initial
[i
];
33286 /* Insert casting types */
33287 cast
= swig_module
.cast_initial
[i
];
33288 while (cast
->type
) {
33289 /* Don't need to add information already in the list */
33291 #ifdef SWIGRUNTIME_DEBUG
33292 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33294 if (swig_module
.next
!= &swig_module
) {
33295 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33296 #ifdef SWIGRUNTIME_DEBUG
33297 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33301 if (type
== swig_module
.type_initial
[i
]) {
33302 #ifdef SWIGRUNTIME_DEBUG
33303 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33308 /* Check for casting already in the list */
33309 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33310 #ifdef SWIGRUNTIME_DEBUG
33311 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33313 if (!ocast
) ret
= 0;
33318 #ifdef SWIGRUNTIME_DEBUG
33319 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33322 type
->cast
->prev
= cast
;
33323 cast
->next
= type
->cast
;
33329 /* Set entry in modules->types array equal to the type */
33330 swig_module
.types
[i
] = type
;
33332 swig_module
.types
[i
] = 0;
33334 #ifdef SWIGRUNTIME_DEBUG
33335 printf("**** SWIG_InitializeModule: Cast List ******\n");
33336 for (i
= 0; i
< swig_module
.size
; ++i
) {
33338 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33339 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33340 while (cast
->type
) {
33341 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33345 printf("---- Total casts: %d\n",j
);
33347 printf("**** SWIG_InitializeModule: Cast List ******\n");
33351 /* This function will propagate the clientdata field of type to
33352 * any new swig_type_info structures that have been added into the list
33353 * of equivalent types. It is like calling
33354 * SWIG_TypeClientData(type, clientdata) a second time.
33357 SWIG_PropagateClientData(void) {
33359 swig_cast_info
*equiv
;
33360 static int init_run
= 0;
33362 if (init_run
) return;
33365 for (i
= 0; i
< swig_module
.size
; i
++) {
33366 if (swig_module
.types
[i
]->clientdata
) {
33367 equiv
= swig_module
.types
[i
]->cast
;
33369 if (!equiv
->converter
) {
33370 if (equiv
->type
&& !equiv
->type
->clientdata
)
33371 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33373 equiv
= equiv
->next
;
33393 /* Python-specific SWIG API */
33394 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33395 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33396 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33398 /* -----------------------------------------------------------------------------
33399 * global variable support code.
33400 * ----------------------------------------------------------------------------- */
33402 typedef struct swig_globalvar
{
33403 char *name
; /* Name of global variable */
33404 PyObject
*(*get_attr
)(void); /* Return the current value */
33405 int (*set_attr
)(PyObject
*); /* Set the value */
33406 struct swig_globalvar
*next
;
33409 typedef struct swig_varlinkobject
{
33411 swig_globalvar
*vars
;
33412 } swig_varlinkobject
;
33414 SWIGINTERN PyObject
*
33415 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33416 return PyString_FromString("<Swig global variables>");
33419 SWIGINTERN PyObject
*
33420 swig_varlink_str(swig_varlinkobject
*v
) {
33421 PyObject
*str
= PyString_FromString("(");
33422 swig_globalvar
*var
;
33423 for (var
= v
->vars
; var
; var
=var
->next
) {
33424 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33425 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33427 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33432 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33433 PyObject
*str
= swig_varlink_str(v
);
33434 fprintf(fp
,"Swig global variables ");
33435 fprintf(fp
,"%s\n", PyString_AsString(str
));
33441 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33442 swig_globalvar
*var
= v
->vars
;
33444 swig_globalvar
*n
= var
->next
;
33451 SWIGINTERN PyObject
*
33452 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33453 PyObject
*res
= NULL
;
33454 swig_globalvar
*var
= v
->vars
;
33456 if (strcmp(var
->name
,n
) == 0) {
33457 res
= (*var
->get_attr
)();
33462 if (res
== NULL
&& !PyErr_Occurred()) {
33463 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33469 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33471 swig_globalvar
*var
= v
->vars
;
33473 if (strcmp(var
->name
,n
) == 0) {
33474 res
= (*var
->set_attr
)(p
);
33479 if (res
== 1 && !PyErr_Occurred()) {
33480 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33485 SWIGINTERN PyTypeObject
*
33486 swig_varlink_type(void) {
33487 static char varlink__doc__
[] = "Swig var link object";
33488 static PyTypeObject varlink_type
;
33489 static int type_init
= 0;
33491 const PyTypeObject tmp
33493 PyObject_HEAD_INIT(NULL
)
33494 0, /* Number of items in variable part (ob_size) */
33495 (char *)"swigvarlink", /* Type name (tp_name) */
33496 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33497 0, /* Itemsize (tp_itemsize) */
33498 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33499 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33500 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33501 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33502 0, /* tp_compare */
33503 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33504 0, /* tp_as_number */
33505 0, /* tp_as_sequence */
33506 0, /* tp_as_mapping */
33509 (reprfunc
)swig_varlink_str
, /* tp_str */
33510 0, /* tp_getattro */
33511 0, /* tp_setattro */
33512 0, /* tp_as_buffer */
33514 varlink__doc__
, /* tp_doc */
33515 0, /* tp_traverse */
33517 0, /* tp_richcompare */
33518 0, /* tp_weaklistoffset */
33519 #if PY_VERSION_HEX >= 0x02020000
33520 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33522 #if PY_VERSION_HEX >= 0x02030000
33525 #ifdef COUNT_ALLOCS
33526 0,0,0,0 /* tp_alloc -> tp_next */
33529 varlink_type
= tmp
;
33530 varlink_type
.ob_type
= &PyType_Type
;
33533 return &varlink_type
;
33536 /* Create a variable linking object for use later */
33537 SWIGINTERN PyObject
*
33538 SWIG_Python_newvarlink(void) {
33539 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33543 return ((PyObject
*) result
);
33547 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33548 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33549 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33551 size_t size
= strlen(name
)+1;
33552 gv
->name
= (char *)malloc(size
);
33554 strncpy(gv
->name
,name
,size
);
33555 gv
->get_attr
= get_attr
;
33556 gv
->set_attr
= set_attr
;
33557 gv
->next
= v
->vars
;
33563 SWIGINTERN PyObject
*
33565 static PyObject
*_SWIG_globals
= 0;
33566 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33567 return _SWIG_globals
;
33570 /* -----------------------------------------------------------------------------
33571 * constants/methods manipulation
33572 * ----------------------------------------------------------------------------- */
33574 /* Install Constants */
33576 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33579 for (i
= 0; constants
[i
].type
; ++i
) {
33580 switch(constants
[i
].type
) {
33581 case SWIG_PY_POINTER
:
33582 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33584 case SWIG_PY_BINARY
:
33585 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33592 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33598 /* -----------------------------------------------------------------------------*/
33599 /* Fix SwigMethods to carry the callback ptrs when needed */
33600 /* -----------------------------------------------------------------------------*/
33603 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33604 swig_const_info
*const_table
,
33605 swig_type_info
**types
,
33606 swig_type_info
**types_initial
) {
33608 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33609 const char *c
= methods
[i
].ml_doc
;
33610 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33612 swig_const_info
*ci
= 0;
33613 const char *name
= c
+ 10;
33614 for (j
= 0; const_table
[j
].type
; ++j
) {
33615 if (strncmp(const_table
[j
].name
, name
,
33616 strlen(const_table
[j
].name
)) == 0) {
33617 ci
= &(const_table
[j
]);
33622 size_t shift
= (ci
->ptype
) - types
;
33623 swig_type_info
*ty
= types_initial
[shift
];
33624 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33625 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33626 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33629 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33631 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33633 strncpy(buff
, "swig_ptr: ", 10);
33635 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33636 methods
[i
].ml_doc
= ndoc
;
33648 /* -----------------------------------------------------------------------------*
33649 * Partial Init method
33650 * -----------------------------------------------------------------------------*/
33655 SWIGEXPORT
void SWIG_init(void) {
33658 /* Fix SwigMethods to carry the callback ptrs when needed */
33659 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33661 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33662 d
= PyModule_GetDict(m
);
33664 SWIG_InitializeModule(0);
33665 SWIG_InstallConstants(d
,swig_const_table
);
33668 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33669 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33670 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33671 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33672 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33673 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33674 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33675 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33676 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33677 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33678 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33679 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33680 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33681 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33682 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33683 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33684 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33685 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33686 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33687 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33688 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33689 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33690 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33691 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33692 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33693 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33694 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33695 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33696 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33697 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33698 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33699 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33700 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33701 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33702 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33703 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33704 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33705 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33706 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33707 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33708 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33709 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33710 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33711 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33712 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33713 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33714 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33715 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33716 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33717 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33718 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33719 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33720 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33721 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33722 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33723 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33724 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33725 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33726 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33727 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33728 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33729 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33730 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33731 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33732 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33733 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33734 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33735 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33736 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33737 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33738 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33739 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33740 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33741 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33742 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33743 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33744 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33745 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33746 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33747 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33748 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33749 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33750 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33751 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33752 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33753 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33754 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33755 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33756 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33757 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33758 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33759 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33760 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33761 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33762 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33763 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33764 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33765 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33766 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33767 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33768 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33769 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33771 // Map renamed classes back to their common name for OOR
33772 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33773 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33774 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33776 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33777 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33778 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33779 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33780 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33781 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33782 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33783 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33784 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33785 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33786 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33787 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33788 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33789 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33790 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33791 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33792 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33793 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33794 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33795 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33796 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33797 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33798 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
33799 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33800 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33801 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33802 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33803 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33804 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33805 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33806 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33807 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33808 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33809 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33810 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33811 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33812 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33813 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33814 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33815 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33816 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33817 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33818 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33819 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33820 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33821 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33822 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33823 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33824 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33825 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33826 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33827 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33828 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33829 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33830 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33831 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33832 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33833 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33834 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33835 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33836 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33837 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33838 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33839 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33840 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33841 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33842 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33843 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33844 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33845 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33846 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33847 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33848 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33849 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33850 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33851 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33852 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33853 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33854 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33855 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33856 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33857 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33858 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33859 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33860 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33861 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33862 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33863 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33864 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33865 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33866 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33867 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33868 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33869 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33870 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33872 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");