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_wxObject swig_types[83]
2550 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2551 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2552 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2554 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2555 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2556 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2557 #define SWIGTYPE_p_wxPanel swig_types[91]
2558 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2559 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2560 #define SWIGTYPE_p_wxPoint swig_types[94]
2561 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2562 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2563 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2565 #define SWIGTYPE_p_wxPrintData swig_types[99]
2566 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2567 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2569 #define SWIGTYPE_p_wxPrinter swig_types[103]
2570 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2571 #define SWIGTYPE_p_wxPyApp swig_types[105]
2572 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2573 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2574 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2575 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2576 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2577 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2578 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2579 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2580 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2581 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2582 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPySizer swig_types[117]
2584 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2585 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2586 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2587 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2588 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2589 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2590 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2591 #define SWIGTYPE_p_wxRect swig_types[125]
2592 #define SWIGTYPE_p_wxRegion swig_types[126]
2593 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2594 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2595 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2596 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2597 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2598 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2599 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2600 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2601 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2602 #define SWIGTYPE_p_wxSize swig_types[136]
2603 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2604 #define SWIGTYPE_p_wxSizer swig_types[138]
2605 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2606 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2607 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2608 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2609 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2610 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2612 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2613 #define SWIGTYPE_p_wxString swig_types[147]
2614 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2615 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2616 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2617 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2618 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2619 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2620 #define SWIGTYPE_p_wxToolBar swig_types[154]
2621 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2622 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2623 #define SWIGTYPE_p_wxValidator swig_types[157]
2624 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2625 #define SWIGTYPE_p_wxWindow swig_types[159]
2626 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2627 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2628 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2629 static swig_type_info
*swig_types
[164];
2630 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2631 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2632 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2634 /* -------- TYPES TABLE (END) -------- */
2636 #if (PY_VERSION_HEX <= 0x02000000)
2637 # if !defined(SWIG_PYTHON_CLASSIC)
2638 # error "This python version requires to use swig with the '-classic' option"
2641 #if (PY_VERSION_HEX <= 0x02020000)
2642 # error "This python version requires to use swig with the '-nomodern' option"
2644 #if (PY_VERSION_HEX <= 0x02020000)
2645 # error "This python version requires to use swig with the '-nomodernargs' option"
2648 # error "This python version requires to use swig with the '-nofastunpack' option"
2651 /*-----------------------------------------------
2652 @(target):= _windows_.so
2653 ------------------------------------------------*/
2654 #define SWIG_init init_windows_
2656 #define SWIG_name "_windows_"
2658 #define SWIGVERSION 0x010329
2661 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2662 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2665 #include <stdexcept>
2669 class PyObject_ptr
{
2674 PyObject_ptr() :_obj(0)
2678 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2683 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2685 if (initial_ref
) Py_XINCREF(_obj
);
2688 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2690 Py_XINCREF(item
._obj
);
2701 operator PyObject
*() const
2706 PyObject
*operator->() const
2715 struct PyObject_var
: PyObject_ptr
{
2716 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2718 PyObject_var
& operator = (PyObject
* obj
)
2728 #include "wx/wxPython/wxPython.h"
2729 #include "wx/wxPython/pyclasses.h"
2732 static const wxString
wxPyEmptyString(wxEmptyString
);
2733 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2739 # define LLONG_MIN LONG_LONG_MIN
2742 # define LLONG_MAX LONG_LONG_MAX
2745 # define ULLONG_MAX ULONG_LONG_MAX
2750 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2752 if (PyNumber_Check(obj
)) {
2753 if (val
) *val
= PyInt_AsLong(obj
);
2756 return SWIG_TypeError
;
2761 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2764 int res
= SWIG_AsVal_long (obj
, &v
);
2765 if (SWIG_IsOK(res
)) {
2766 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2767 return SWIG_OverflowError
;
2769 if (val
) *val
= static_cast< int >(v
);
2777 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2779 if (obj
== Py_True
) {
2780 if (val
) *val
= true;
2782 } else if (obj
== Py_False
) {
2783 if (val
) *val
= false;
2787 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2788 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2794 #define SWIG_From_long PyInt_FromLong
2797 SWIGINTERNINLINE PyObject
*
2798 SWIG_From_int (int value
)
2800 return SWIG_From_long (value
);
2805 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2807 if (PyNumber_Check(obj
)) {
2808 if (val
) *val
= PyFloat_AsDouble(obj
);
2811 return SWIG_TypeError
;
2815 #define SWIG_From_double PyFloat_FromDouble
2817 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2818 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2819 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2820 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2821 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2822 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2825 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2827 self
->GetFieldRect(i
, r
);
2830 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2831 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2832 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2834 #include <wx/popupwin.h>
2837 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2840 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2841 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2842 : wxPopupTransientWindow(parent
, style
) {}
2844 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2845 DEC_PYCALLBACK__(OnDismiss
);
2846 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2851 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2852 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2853 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2856 #include <wx/tipwin.h>
2858 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2859 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2862 #include <wx/tipwin.h>
2865 #include <wx/vscroll.h>
2868 class wxPyVScrolledWindow
: public wxVScrolledWindow
2870 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2872 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2874 wxPyVScrolledWindow(wxWindow
*parent
,
2875 wxWindowID id
= wxID_ANY
,
2876 const wxPoint
& pos
= wxDefaultPosition
,
2877 const wxSize
& size
= wxDefaultSize
,
2879 const wxString
& name
= wxPyPanelNameStr
)
2880 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2883 // Overridable virtuals
2885 // this function must be overridden in the derived class and it should
2886 // return the height of the given line in pixels
2887 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2890 // this function doesn't have to be overridden but it may be useful to do
2891 // it if calculating the lines heights is a relatively expensive operation
2892 // as it gives the user code a possibility to calculate several of them at
2895 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2896 // shouldn't rely on the latter being called for all lines in the interval
2897 // specified here. It is also possible that OnGetLineHeight() will be
2898 // called for the lines outside of this interval, so this is really just a
2899 // hint, not a promise.
2901 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2903 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2906 // when the number of lines changes, we try to estimate the total height
2907 // of all lines which is a rather expensive operation in terms of lines
2908 // access, so if the user code may estimate the average height
2909 // better/faster than we do, it should override this function to implement
2912 // this function should return the best guess for the total height it may
2914 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2917 // Also expose some other interesting protected methods
2920 // find the index of the line we need to show at the top of the window such
2921 // that the last (fully or partially) visible line is the given one
2922 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2923 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2925 // get the total height of the lines between lineMin (inclusive) and
2926 // lineMax (exclusive)
2927 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2928 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2930 // update the thumb size shown by the scrollbar
2931 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2933 // remove the scrollbar completely because we don't need it
2934 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2939 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2941 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2942 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2943 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2947 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2950 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2951 return SWIG_TypeError
;
2954 *val
= (unsigned long)v
;
2959 SWIGINTERNINLINE
int
2960 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2963 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2964 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2969 SWIGINTERNINLINE PyObject
*
2970 SWIG_From_unsigned_SS_long (unsigned long value
)
2972 return (value
> LONG_MAX
) ?
2973 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2977 SWIGINTERNINLINE PyObject
*
2978 SWIG_From_size_t (size_t value
)
2980 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2984 #include <wx/vlbox.h>
2986 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2988 class wxPyVListBox
: public wxVListBox
2990 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2992 wxPyVListBox() : wxVListBox() {}
2994 wxPyVListBox(wxWindow
*parent
,
2995 wxWindowID id
= wxID_ANY
,
2996 const wxPoint
& pos
= wxDefaultPosition
,
2997 const wxSize
& size
= wxDefaultSize
,
2999 const wxString
& name
= wxPyVListBoxNameStr
)
3000 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3003 // Overridable virtuals
3005 // the derived class must implement this function to actually draw the item
3006 // with the given index on the provided DC
3007 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3008 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3011 // the derived class must implement this method to return the height of the
3013 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3014 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3017 // this method may be used to draw separators between the lines; note that
3018 // the rectangle may be modified, typically to deflate it a bit before
3019 // passing to OnDrawItem()
3021 // the base class version doesn't do anything
3022 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3023 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3026 // this method is used to draw the items background and, maybe, a border
3029 // the base class version implements a reasonable default behaviour which
3030 // consists in drawing the selected item with the standard background
3031 // colour and drawing a border around the item if it is either selected or
3033 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3034 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3040 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3042 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3043 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3044 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3045 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3048 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3049 unsigned long cookie
= 0;
3050 int selected
= self
->GetFirstSelected(cookie
);
3051 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3052 PyObject
* tup
= PyTuple_New(2);
3053 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3054 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3055 wxPyEndBlockThreads(blocked
);
3058 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3059 int selected
= self
->GetNextSelected(cookie
);
3060 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3061 PyObject
* tup
= PyTuple_New(2);
3062 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3063 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3064 wxPyEndBlockThreads(blocked
);
3068 #include <wx/htmllbox.h>
3071 class wxPyHtmlListBox
: public wxHtmlListBox
3073 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3075 wxPyHtmlListBox() : wxHtmlListBox() {}
3077 wxPyHtmlListBox(wxWindow
*parent
,
3078 wxWindowID id
= wxID_ANY
,
3079 const wxPoint
& pos
= wxDefaultPosition
,
3080 const wxSize
& size
= wxDefaultSize
,
3082 const wxString
& name
= wxPyVListBoxNameStr
)
3083 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3086 // Overridable virtuals
3088 // this method must be implemented in the derived class and should return
3089 // the body (i.e. without <html>) of the HTML for the given item
3090 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3092 // this function may be overridden to decorate HTML returned by OnGetItem()
3093 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3095 // These are from wxVListBox
3096 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3097 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3100 // // this method allows to customize the selection appearance: it may be used
3101 // // to specify the colour of the text which normally has the given colour
3102 // // colFg when it is inside the selection
3104 // // by default, the original colour is not used at all and all text has the
3105 // // same (default for this system) colour inside selection
3106 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3108 // // this is the same as GetSelectedTextColour() but allows to customize the
3109 // // background colour -- this is even more rarely used as you can change it
3110 // // globally using SetSelectionBackground()
3111 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3114 // This method may be overriden to handle clicking on a link in
3115 // the listbox. By default, clicking links is ignored.
3116 virtual void OnLinkClicked(size_t n
,
3117 const wxHtmlLinkInfo
& link
);
3123 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3125 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3126 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3127 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3128 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3131 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3132 const wxHtmlLinkInfo
& link
) {
3134 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3135 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3136 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3137 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3140 wxPyEndBlockThreads(blocked
);
3142 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3149 #ifndef wxHAS_TASK_BAR_ICON
3150 // implement dummy classes for platforms that don't have it
3152 class wxTaskBarIcon
: public wxEvtHandler
3155 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3159 class wxTaskBarIconEvent
: public wxEvent
3162 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3163 { wxPyRaiseNotImplemented(); }
3164 virtual wxEvent
* Clone() const { return NULL
; }
3165 bool IsOk() const { return false; }
3166 bool IsIconInstalled() const { return false; }
3167 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3168 bool RemoveIcon() { return false; }
3169 bool PopupMenu(wxMenu
*menu
) { return false; }
3173 wxEVT_TASKBAR_MOVE
= 0,
3174 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3175 wxEVT_TASKBAR_LEFT_UP
= 0,
3176 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3177 wxEVT_TASKBAR_RIGHT_UP
= 0,
3178 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3179 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3184 // Otherwise make a class that can virtualize CreatePopupMenu
3185 class wxPyTaskBarIcon
: public wxTaskBarIcon
3187 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3189 wxPyTaskBarIcon() : wxTaskBarIcon()
3192 wxMenu
* CreatePopupMenu() {
3193 wxMenu
*rval
= NULL
;
3195 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3196 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3199 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3201 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3206 wxPyEndBlockThreads(blocked
);
3208 rval
= wxTaskBarIcon::CreatePopupMenu();
3215 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3219 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3223 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3224 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3225 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3226 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3227 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3228 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3230 // for compatibility only
3231 #define wxHIDE_READONLY 0
3233 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3235 self
->GetFilenames(arr
);
3236 return wxArrayString2PyList_helper(arr
);
3238 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3240 self
->GetPaths(arr
);
3241 return wxArrayString2PyList_helper(arr
);
3243 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3244 return wxArrayInt2PyList_helper(self
->GetSelections());
3246 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
){
3247 return new wxSingleChoiceDialog(parent
, message
, caption
,
3248 choices
, choices_array
, NULL
, style
, pos
);
3250 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3252 SWIGINTERNINLINE PyObject
*
3253 SWIG_From_bool (bool value
)
3255 return PyBool_FromLong(value
? 1 : 0);
3261 // C++ version of Python aware wxWindow
3262 class wxPyWindow
: public wxWindow
3264 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3266 wxPyWindow() : wxWindow() {}
3267 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3268 const wxPoint
& pos
= wxDefaultPosition
,
3269 const wxSize
& size
= wxDefaultSize
,
3271 const wxString
& name
= wxPyPanelNameStr
)
3272 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3274 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3276 bool DoEraseBackground(wxDC
* dc
) {
3278 return wxWindow::DoEraseBackground(dc
->GetHDC());
3280 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3286 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3287 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3288 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3289 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3291 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3292 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3293 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3295 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3296 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3298 DEC_PYCALLBACK__(InitDialog
);
3299 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3300 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3301 DEC_PYCALLBACK_BOOL_(Validate
);
3303 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3304 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3305 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3307 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3308 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3310 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3311 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3313 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3315 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3320 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3322 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3323 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3324 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3325 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3327 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3328 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3329 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3331 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3332 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3334 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3335 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3336 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3337 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3340 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3341 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3343 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3344 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3346 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3347 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3351 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3353 // C++ version of Python aware wxPanel
3354 class wxPyPanel
: public wxPanel
3356 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3358 wxPyPanel() : wxPanel() {}
3359 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3360 const wxPoint
& pos
= wxDefaultPosition
,
3361 const wxSize
& size
= wxDefaultSize
,
3363 const wxString
& name
= wxPyPanelNameStr
)
3364 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3366 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3367 bool DoEraseBackground(wxDC
* dc
) {
3369 return wxWindow::DoEraseBackground(dc
->GetHDC());
3371 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3378 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3379 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3380 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3381 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3383 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3384 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3385 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3387 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3388 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3390 DEC_PYCALLBACK__(InitDialog
);
3391 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3392 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3393 DEC_PYCALLBACK_BOOL_(Validate
);
3395 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3396 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3397 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3399 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3400 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3402 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3403 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3405 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3407 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3412 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3414 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3415 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3416 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3417 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3419 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3420 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3421 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3423 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3424 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3426 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3427 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3428 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3429 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3431 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3432 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3433 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3435 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3436 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3438 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3439 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3441 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3443 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3445 // C++ version of Python aware wxScrolledWindow
3446 class wxPyScrolledWindow
: public wxScrolledWindow
3448 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3450 wxPyScrolledWindow() : wxScrolledWindow() {}
3451 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3452 const wxPoint
& pos
= wxDefaultPosition
,
3453 const wxSize
& size
= wxDefaultSize
,
3455 const wxString
& name
= wxPyPanelNameStr
)
3456 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3458 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3459 bool DoEraseBackground(wxDC
* dc
) {
3461 return wxWindow::DoEraseBackground(dc
->GetHDC());
3463 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3469 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3470 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3471 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3472 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3474 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3475 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3476 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3478 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3479 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3481 DEC_PYCALLBACK__(InitDialog
);
3482 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3483 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3484 DEC_PYCALLBACK_BOOL_(Validate
);
3486 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3487 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3488 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3490 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3491 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3493 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3494 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3496 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3498 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3503 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3505 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3506 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3507 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3508 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3510 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3511 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3512 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3514 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3515 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3517 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3518 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3519 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3520 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3522 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3523 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3524 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3526 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3527 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3529 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3530 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3532 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3534 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3537 #include "wx/wxPython/printfw.h"
3540 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3541 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3542 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3544 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3545 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3546 self
->GetPrivDataLen());
3547 wxPyEndBlockThreads(blocked
);
3550 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3551 if (! PyString_Check(data
)) {
3552 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3553 "Expected string object"));
3557 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3558 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3559 wxPyEndBlockThreads(blocked
);
3563 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3565 // Since this one would be tough and ugly to do with the Macros...
3566 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3567 bool hadErr
= false;
3570 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3571 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3572 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3573 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3576 val
= PyTuple_GetItem(result
, 0);
3577 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3580 val
= PyTuple_GetItem(result
, 1);
3581 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3584 val
= PyTuple_GetItem(result
, 2);
3585 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3588 val
= PyTuple_GetItem(result
, 3);
3589 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3596 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3601 wxPyEndBlockThreads(blocked
);
3603 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3608 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3609 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3610 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3611 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3612 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3613 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3614 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3620 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3621 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3624 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3625 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3628 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3629 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3630 PyObject* win = wxPyMake_wxObject(a,false); \
3631 PyObject* dc = wxPyMake_wxObject(&b,false); \
3632 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3636 wxPyEndBlockThreads(blocked); \
3638 rval = PCLASS::CBNAME(a, b); \
3645 class wxPyPrintPreview
: public wxPrintPreview
3647 DECLARE_CLASS(wxPyPrintPreview
)
3649 wxPyPrintPreview(wxPyPrintout
* printout
,
3650 wxPyPrintout
* printoutForPrinting
,
3651 wxPrintDialogData
* data
=NULL
)
3652 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3654 wxPyPrintPreview(wxPyPrintout
* printout
,
3655 wxPyPrintout
* printoutForPrinting
,
3657 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3660 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3661 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3662 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3663 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3664 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3665 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3666 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3671 // Stupid renamed classes... Fix this in 2.5...
3672 #if defined(__WXMSW__)
3673 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3674 #elif defined(__WXMAC__)
3675 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3680 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3681 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3682 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3683 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3684 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3685 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3686 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3689 class wxPyPreviewFrame
: public wxPreviewFrame
3691 DECLARE_CLASS(wxPyPreviewFrame
)
3693 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3694 const wxString
& title
,
3695 const wxPoint
& pos
= wxDefaultPosition
,
3696 const wxSize
& size
= wxDefaultSize
,
3697 long style
= wxDEFAULT_FRAME_STYLE
,
3698 const wxString
& name
= wxPyFrameNameStr
)
3699 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3702 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3703 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3705 DEC_PYCALLBACK_VOID_(Initialize
);
3706 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3707 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3712 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3714 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3715 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3716 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3719 class wxPyPreviewControlBar
: public wxPreviewControlBar
3721 DECLARE_CLASS(wxPyPreviewControlBar
)
3723 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3726 const wxPoint
& pos
= wxDefaultPosition
,
3727 const wxSize
& size
= wxDefaultSize
,
3729 const wxString
& name
= wxPyPanelNameStr
)
3730 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3733 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3735 DEC_PYCALLBACK_VOID_(CreateButtons
);
3736 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3741 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3742 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3743 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3748 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3749 PyObject
*resultobj
= 0;
3750 wxWindow
*arg1
= (wxWindow
*) 0 ;
3751 int arg2
= (int) (int)-1 ;
3752 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3753 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3754 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3755 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3756 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3757 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3758 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3759 wxPanel
*result
= 0 ;
3768 bool temp6
= false ;
3769 PyObject
* obj0
= 0 ;
3770 PyObject
* obj1
= 0 ;
3771 PyObject
* obj2
= 0 ;
3772 PyObject
* obj3
= 0 ;
3773 PyObject
* obj4
= 0 ;
3774 PyObject
* obj5
= 0 ;
3775 char * kwnames
[] = {
3776 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3781 if (!SWIG_IsOK(res1
)) {
3782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3784 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3786 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3787 if (!SWIG_IsOK(ecode2
)) {
3788 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3790 arg2
= static_cast< int >(val2
);
3795 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3801 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3805 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3806 if (!SWIG_IsOK(ecode5
)) {
3807 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3809 arg5
= static_cast< long >(val5
);
3813 arg6
= wxString_in_helper(obj5
);
3814 if (arg6
== NULL
) SWIG_fail
;
3819 if (!wxPyCheckForApp()) SWIG_fail
;
3820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3821 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3822 wxPyEndAllowThreads(__tstate
);
3823 if (PyErr_Occurred()) SWIG_fail
;
3825 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3840 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3841 PyObject
*resultobj
= 0;
3842 wxPanel
*result
= 0 ;
3844 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3846 if (!wxPyCheckForApp()) SWIG_fail
;
3847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3848 result
= (wxPanel
*)new wxPanel();
3849 wxPyEndAllowThreads(__tstate
);
3850 if (PyErr_Occurred()) SWIG_fail
;
3852 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3859 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3860 PyObject
*resultobj
= 0;
3861 wxPanel
*arg1
= (wxPanel
*) 0 ;
3862 wxWindow
*arg2
= (wxWindow
*) 0 ;
3863 int arg3
= (int) (int)-1 ;
3864 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3865 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3866 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3867 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3868 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3869 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3870 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3882 bool temp7
= false ;
3883 PyObject
* obj0
= 0 ;
3884 PyObject
* obj1
= 0 ;
3885 PyObject
* obj2
= 0 ;
3886 PyObject
* obj3
= 0 ;
3887 PyObject
* obj4
= 0 ;
3888 PyObject
* obj5
= 0 ;
3889 PyObject
* obj6
= 0 ;
3890 char * kwnames
[] = {
3891 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3896 if (!SWIG_IsOK(res1
)) {
3897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3899 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3901 if (!SWIG_IsOK(res2
)) {
3902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3904 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3907 if (!SWIG_IsOK(ecode3
)) {
3908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3910 arg3
= static_cast< int >(val3
);
3915 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3921 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3925 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3926 if (!SWIG_IsOK(ecode6
)) {
3927 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3929 arg6
= static_cast< long >(val6
);
3933 arg7
= wxString_in_helper(obj6
);
3934 if (arg7
== NULL
) SWIG_fail
;
3939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3940 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3961 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3962 PyObject
*resultobj
= 0;
3963 wxPanel
*arg1
= (wxPanel
*) 0 ;
3966 PyObject
*swig_obj
[1] ;
3968 if (!args
) SWIG_fail
;
3970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3971 if (!SWIG_IsOK(res1
)) {
3972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3974 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3977 (arg1
)->SetFocusIgnoringChildren();
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 resultobj
= SWIG_Py_Void();
3988 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
*resultobj
= 0;
3990 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3991 SwigValueWrapper
<wxVisualAttributes
> result
;
3994 PyObject
* obj0
= 0 ;
3995 char * kwnames
[] = {
3996 (char *) "variant", NULL
3999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4001 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4002 if (!SWIG_IsOK(ecode1
)) {
4003 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4005 arg1
= static_cast< wxWindowVariant
>(val1
);
4008 if (!wxPyCheckForApp()) SWIG_fail
;
4009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4010 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4011 wxPyEndAllowThreads(__tstate
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4014 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4021 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4024 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4025 return SWIG_Py_Void();
4028 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4029 return SWIG_Python_InitShadowInstance(args
);
4032 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
= 0;
4034 wxWindow
*arg1
= (wxWindow
*) 0 ;
4035 int arg2
= (int) (int)-1 ;
4036 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4037 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4038 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4039 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4040 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4041 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4042 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4043 wxScrolledWindow
*result
= 0 ;
4052 bool temp6
= false ;
4053 PyObject
* obj0
= 0 ;
4054 PyObject
* obj1
= 0 ;
4055 PyObject
* obj2
= 0 ;
4056 PyObject
* obj3
= 0 ;
4057 PyObject
* obj4
= 0 ;
4058 PyObject
* obj5
= 0 ;
4059 char * kwnames
[] = {
4060 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4065 if (!SWIG_IsOK(res1
)) {
4066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4068 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4071 if (!SWIG_IsOK(ecode2
)) {
4072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4074 arg2
= static_cast< int >(val2
);
4079 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4085 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4089 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4090 if (!SWIG_IsOK(ecode5
)) {
4091 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4093 arg5
= static_cast< long >(val5
);
4097 arg6
= wxString_in_helper(obj5
);
4098 if (arg6
== NULL
) SWIG_fail
;
4103 if (!wxPyCheckForApp()) SWIG_fail
;
4104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4105 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4124 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4125 PyObject
*resultobj
= 0;
4126 wxScrolledWindow
*result
= 0 ;
4128 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4130 if (!wxPyCheckForApp()) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4133 wxPyEndAllowThreads(__tstate
);
4134 if (PyErr_Occurred()) SWIG_fail
;
4136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4143 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4144 PyObject
*resultobj
= 0;
4145 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4146 wxWindow
*arg2
= (wxWindow
*) 0 ;
4147 int arg3
= (int) (int)-1 ;
4148 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4149 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4150 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4151 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4152 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4153 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4154 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4166 bool temp7
= false ;
4167 PyObject
* obj0
= 0 ;
4168 PyObject
* obj1
= 0 ;
4169 PyObject
* obj2
= 0 ;
4170 PyObject
* obj3
= 0 ;
4171 PyObject
* obj4
= 0 ;
4172 PyObject
* obj5
= 0 ;
4173 PyObject
* obj6
= 0 ;
4174 char * kwnames
[] = {
4175 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4180 if (!SWIG_IsOK(res1
)) {
4181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4183 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4184 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4185 if (!SWIG_IsOK(res2
)) {
4186 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4188 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4190 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4191 if (!SWIG_IsOK(ecode3
)) {
4192 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4194 arg3
= static_cast< int >(val3
);
4199 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4205 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4209 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4210 if (!SWIG_IsOK(ecode6
)) {
4211 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4213 arg6
= static_cast< long >(val6
);
4217 arg7
= wxString_in_helper(obj6
);
4218 if (arg7
== NULL
) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4225 wxPyEndAllowThreads(__tstate
);
4226 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4245 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4246 PyObject
*resultobj
= 0;
4247 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4252 int arg6
= (int) 0 ;
4253 int arg7
= (int) 0 ;
4254 bool arg8
= (bool) false ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4273 PyObject
* obj2
= 0 ;
4274 PyObject
* obj3
= 0 ;
4275 PyObject
* obj4
= 0 ;
4276 PyObject
* obj5
= 0 ;
4277 PyObject
* obj6
= 0 ;
4278 PyObject
* obj7
= 0 ;
4279 char * kwnames
[] = {
4280 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4283 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4284 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4285 if (!SWIG_IsOK(res1
)) {
4286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4288 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4289 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4290 if (!SWIG_IsOK(ecode2
)) {
4291 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4293 arg2
= static_cast< int >(val2
);
4294 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4295 if (!SWIG_IsOK(ecode3
)) {
4296 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4298 arg3
= static_cast< int >(val3
);
4299 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4300 if (!SWIG_IsOK(ecode4
)) {
4301 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4303 arg4
= static_cast< int >(val4
);
4304 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4305 if (!SWIG_IsOK(ecode5
)) {
4306 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4308 arg5
= static_cast< int >(val5
);
4310 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4311 if (!SWIG_IsOK(ecode6
)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4314 arg6
= static_cast< int >(val6
);
4317 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4318 if (!SWIG_IsOK(ecode7
)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4321 arg7
= static_cast< int >(val7
);
4324 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4325 if (!SWIG_IsOK(ecode8
)) {
4326 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4328 arg8
= static_cast< bool >(val8
);
4331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4332 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4333 wxPyEndAllowThreads(__tstate
);
4334 if (PyErr_Occurred()) SWIG_fail
;
4336 resultobj
= SWIG_Py_Void();
4343 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4344 PyObject
*resultobj
= 0;
4345 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4355 PyObject
* obj1
= 0 ;
4356 PyObject
* obj2
= 0 ;
4357 char * kwnames
[] = {
4358 (char *) "self",(char *) "x",(char *) "y", NULL
4361 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4362 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4363 if (!SWIG_IsOK(res1
)) {
4364 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4366 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4368 if (!SWIG_IsOK(ecode2
)) {
4369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4371 arg2
= static_cast< int >(val2
);
4372 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4373 if (!SWIG_IsOK(ecode3
)) {
4374 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4376 arg3
= static_cast< int >(val3
);
4378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 (arg1
)->Scroll(arg2
,arg3
);
4380 wxPyEndAllowThreads(__tstate
);
4381 if (PyErr_Occurred()) SWIG_fail
;
4383 resultobj
= SWIG_Py_Void();
4390 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4391 PyObject
*resultobj
= 0;
4392 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4399 PyObject
* obj0
= 0 ;
4400 PyObject
* obj1
= 0 ;
4401 char * kwnames
[] = {
4402 (char *) "self",(char *) "orient", NULL
4405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4407 if (!SWIG_IsOK(res1
)) {
4408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4410 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4412 if (!SWIG_IsOK(ecode2
)) {
4413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4415 arg2
= static_cast< int >(val2
);
4417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4418 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4419 wxPyEndAllowThreads(__tstate
);
4420 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= SWIG_From_int(static_cast< int >(result
));
4429 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4430 PyObject
*resultobj
= 0;
4431 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4440 PyObject
* obj0
= 0 ;
4441 PyObject
* obj1
= 0 ;
4442 PyObject
* obj2
= 0 ;
4443 char * kwnames
[] = {
4444 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4448 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4449 if (!SWIG_IsOK(res1
)) {
4450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4452 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4454 if (!SWIG_IsOK(ecode2
)) {
4455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4457 arg2
= static_cast< int >(val2
);
4458 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4459 if (!SWIG_IsOK(ecode3
)) {
4460 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4462 arg3
= static_cast< int >(val3
);
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4466 wxPyEndAllowThreads(__tstate
);
4467 if (PyErr_Occurred()) SWIG_fail
;
4469 resultobj
= SWIG_Py_Void();
4476 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4477 PyObject
*resultobj
= 0;
4478 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4487 PyObject
* obj0
= 0 ;
4488 PyObject
* obj1
= 0 ;
4489 PyObject
* obj2
= 0 ;
4490 char * kwnames
[] = {
4491 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4496 if (!SWIG_IsOK(res1
)) {
4497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4499 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4501 if (!SWIG_IsOK(ecode2
)) {
4502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4504 arg2
= static_cast< int >(val2
);
4505 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4506 if (!SWIG_IsOK(ecode3
)) {
4507 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4509 arg3
= static_cast< int >(val3
);
4511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4512 (arg1
)->SetScrollRate(arg2
,arg3
);
4513 wxPyEndAllowThreads(__tstate
);
4514 if (PyErr_Occurred()) SWIG_fail
;
4516 resultobj
= SWIG_Py_Void();
4523 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4524 PyObject
*resultobj
= 0;
4525 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4526 int *arg2
= (int *) 0 ;
4527 int *arg3
= (int *) 0 ;
4531 int res2
= SWIG_TMPOBJ
;
4533 int res3
= SWIG_TMPOBJ
;
4534 PyObject
*swig_obj
[1] ;
4538 if (!args
) SWIG_fail
;
4540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4541 if (!SWIG_IsOK(res1
)) {
4542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4544 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4547 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4548 wxPyEndAllowThreads(__tstate
);
4549 if (PyErr_Occurred()) SWIG_fail
;
4551 resultobj
= SWIG_Py_Void();
4552 if (SWIG_IsTmpObj(res2
)) {
4553 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4555 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4556 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4558 if (SWIG_IsTmpObj(res3
)) {
4559 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4561 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4562 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4570 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
= 0;
4572 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4582 PyObject
* obj1
= 0 ;
4583 PyObject
* obj2
= 0 ;
4584 char * kwnames
[] = {
4585 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4588 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4589 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4590 if (!SWIG_IsOK(res1
)) {
4591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4593 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4594 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4595 if (!SWIG_IsOK(ecode2
)) {
4596 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4598 arg2
= static_cast< bool >(val2
);
4599 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4600 if (!SWIG_IsOK(ecode3
)) {
4601 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4603 arg3
= static_cast< bool >(val3
);
4605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4606 (arg1
)->EnableScrolling(arg2
,arg3
);
4607 wxPyEndAllowThreads(__tstate
);
4608 if (PyErr_Occurred()) SWIG_fail
;
4610 resultobj
= SWIG_Py_Void();
4617 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4618 PyObject
*resultobj
= 0;
4619 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4620 int *arg2
= (int *) 0 ;
4621 int *arg3
= (int *) 0 ;
4625 int res2
= SWIG_TMPOBJ
;
4627 int res3
= SWIG_TMPOBJ
;
4628 PyObject
*swig_obj
[1] ;
4632 if (!args
) SWIG_fail
;
4634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4635 if (!SWIG_IsOK(res1
)) {
4636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4638 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4641 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4642 wxPyEndAllowThreads(__tstate
);
4643 if (PyErr_Occurred()) SWIG_fail
;
4645 resultobj
= SWIG_Py_Void();
4646 if (SWIG_IsTmpObj(res2
)) {
4647 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4649 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4650 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4652 if (SWIG_IsTmpObj(res3
)) {
4653 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4655 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4656 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4664 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
= 0;
4666 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4675 PyObject
* obj0
= 0 ;
4676 PyObject
* obj1
= 0 ;
4677 PyObject
* obj2
= 0 ;
4678 char * kwnames
[] = {
4679 (char *) "self",(char *) "xs",(char *) "ys", NULL
4682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4684 if (!SWIG_IsOK(res1
)) {
4685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4687 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4688 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4689 if (!SWIG_IsOK(ecode2
)) {
4690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4692 arg2
= static_cast< double >(val2
);
4693 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4694 if (!SWIG_IsOK(ecode3
)) {
4695 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4697 arg3
= static_cast< double >(val3
);
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 (arg1
)->SetScale(arg2
,arg3
);
4701 wxPyEndAllowThreads(__tstate
);
4702 if (PyErr_Occurred()) SWIG_fail
;
4704 resultobj
= SWIG_Py_Void();
4711 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4712 PyObject
*resultobj
= 0;
4713 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4717 PyObject
*swig_obj
[1] ;
4719 if (!args
) SWIG_fail
;
4721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4722 if (!SWIG_IsOK(res1
)) {
4723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4725 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4728 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4729 wxPyEndAllowThreads(__tstate
);
4730 if (PyErr_Occurred()) SWIG_fail
;
4732 resultobj
= SWIG_From_double(static_cast< double >(result
));
4739 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4740 PyObject
*resultobj
= 0;
4741 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4745 PyObject
*swig_obj
[1] ;
4747 if (!args
) SWIG_fail
;
4749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4750 if (!SWIG_IsOK(res1
)) {
4751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4753 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4756 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4757 wxPyEndAllowThreads(__tstate
);
4758 if (PyErr_Occurred()) SWIG_fail
;
4760 resultobj
= SWIG_From_double(static_cast< double >(result
));
4767 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4768 PyObject
*resultobj
= 0;
4769 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4776 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4778 if (!SWIG_IsOK(res1
)) {
4779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4781 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4784 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4799 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4800 PyObject
*resultobj
= 0;
4801 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4804 int *arg4
= (int *) 0 ;
4805 int *arg5
= (int *) 0 ;
4813 int res4
= SWIG_TMPOBJ
;
4815 int res5
= SWIG_TMPOBJ
;
4819 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4820 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4821 if (!SWIG_IsOK(res1
)) {
4822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4824 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4825 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4826 if (!SWIG_IsOK(ecode2
)) {
4827 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4829 arg2
= static_cast< int >(val2
);
4830 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4831 if (!SWIG_IsOK(ecode3
)) {
4832 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4834 arg3
= static_cast< int >(val3
);
4836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4837 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4838 wxPyEndAllowThreads(__tstate
);
4839 if (PyErr_Occurred()) SWIG_fail
;
4841 resultobj
= SWIG_Py_Void();
4842 if (SWIG_IsTmpObj(res4
)) {
4843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4845 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4848 if (SWIG_IsTmpObj(res5
)) {
4849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4851 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4860 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4864 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4867 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4870 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4874 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4879 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4880 PyObject
*resultobj
= 0;
4881 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4888 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4890 if (!SWIG_IsOK(res1
)) {
4891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4893 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4896 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4911 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4912 PyObject
*resultobj
= 0;
4913 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4916 int *arg4
= (int *) 0 ;
4917 int *arg5
= (int *) 0 ;
4925 int res4
= SWIG_TMPOBJ
;
4927 int res5
= SWIG_TMPOBJ
;
4931 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4933 if (!SWIG_IsOK(res1
)) {
4934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4936 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4937 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4938 if (!SWIG_IsOK(ecode2
)) {
4939 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4941 arg2
= static_cast< int >(val2
);
4942 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4943 if (!SWIG_IsOK(ecode3
)) {
4944 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4946 arg3
= static_cast< int >(val3
);
4948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4949 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4950 wxPyEndAllowThreads(__tstate
);
4951 if (PyErr_Occurred()) SWIG_fail
;
4953 resultobj
= SWIG_Py_Void();
4954 if (SWIG_IsTmpObj(res4
)) {
4955 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4957 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4958 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4960 if (SWIG_IsTmpObj(res5
)) {
4961 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4963 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4964 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4972 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4976 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4979 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4982 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4986 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4991 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4992 PyObject
*resultobj
= 0;
4993 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4996 PyObject
*swig_obj
[1] ;
4998 if (!args
) SWIG_fail
;
5000 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5001 if (!SWIG_IsOK(res1
)) {
5002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5004 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5007 (arg1
)->AdjustScrollbars();
5008 wxPyEndAllowThreads(__tstate
);
5009 if (PyErr_Occurred()) SWIG_fail
;
5011 resultobj
= SWIG_Py_Void();
5018 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5019 PyObject
*resultobj
= 0;
5020 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5021 wxScrollWinEvent
*arg2
= 0 ;
5027 PyObject
* obj0
= 0 ;
5028 PyObject
* obj1
= 0 ;
5029 char * kwnames
[] = {
5030 (char *) "self",(char *) "event", NULL
5033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5035 if (!SWIG_IsOK(res1
)) {
5036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5038 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5039 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5040 if (!SWIG_IsOK(res2
)) {
5041 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5044 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5046 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5049 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= SWIG_From_int(static_cast< int >(result
));
5060 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
= 0;
5062 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5063 wxWindow
*arg2
= (wxWindow
*) 0 ;
5068 PyObject
* obj0
= 0 ;
5069 PyObject
* obj1
= 0 ;
5070 char * kwnames
[] = {
5071 (char *) "self",(char *) "target", NULL
5074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5076 if (!SWIG_IsOK(res1
)) {
5077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5079 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5080 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5081 if (!SWIG_IsOK(res2
)) {
5082 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5084 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 (arg1
)->SetTargetWindow(arg2
);
5088 wxPyEndAllowThreads(__tstate
);
5089 if (PyErr_Occurred()) SWIG_fail
;
5091 resultobj
= SWIG_Py_Void();
5098 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5099 PyObject
*resultobj
= 0;
5100 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5101 wxWindow
*result
= 0 ;
5104 PyObject
*swig_obj
[1] ;
5106 if (!args
) SWIG_fail
;
5108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5109 if (!SWIG_IsOK(res1
)) {
5110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5112 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5116 wxPyEndAllowThreads(__tstate
);
5117 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= wxPyMake_wxObject(result
, 0);
5128 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5129 PyObject
*resultobj
= 0;
5130 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5135 PyObject
* obj0
= 0 ;
5136 PyObject
* obj1
= 0 ;
5137 char * kwnames
[] = {
5138 (char *) "self",(char *) "rect", NULL
5141 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5142 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5143 if (!SWIG_IsOK(res1
)) {
5144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5146 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5149 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5153 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5154 wxPyEndAllowThreads(__tstate
);
5155 if (PyErr_Occurred()) SWIG_fail
;
5157 resultobj
= SWIG_Py_Void();
5164 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5165 PyObject
*resultobj
= 0;
5166 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5170 PyObject
*swig_obj
[1] ;
5172 if (!args
) SWIG_fail
;
5174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5175 if (!SWIG_IsOK(res1
)) {
5176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5178 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5181 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5182 wxPyEndAllowThreads(__tstate
);
5183 if (PyErr_Occurred()) SWIG_fail
;
5185 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5192 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5193 PyObject
*resultobj
= 0;
5194 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5200 PyObject
* obj0
= 0 ;
5201 PyObject
* obj1
= 0 ;
5202 char * kwnames
[] = {
5203 (char *) "self",(char *) "dc", NULL
5206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5207 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5208 if (!SWIG_IsOK(res1
)) {
5209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5211 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5212 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5213 if (!SWIG_IsOK(res2
)) {
5214 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5217 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5219 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5222 (arg1
)->DoPrepareDC(*arg2
);
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 resultobj
= SWIG_Py_Void();
5233 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
= 0;
5235 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5236 SwigValueWrapper
<wxVisualAttributes
> result
;
5239 PyObject
* obj0
= 0 ;
5240 char * kwnames
[] = {
5241 (char *) "variant", NULL
5244 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5246 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5247 if (!SWIG_IsOK(ecode1
)) {
5248 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5250 arg1
= static_cast< wxWindowVariant
>(val1
);
5253 if (!wxPyCheckForApp()) SWIG_fail
;
5254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5255 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5256 wxPyEndAllowThreads(__tstate
);
5257 if (PyErr_Occurred()) SWIG_fail
;
5259 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5266 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5268 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5269 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5270 return SWIG_Py_Void();
5273 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5274 return SWIG_Python_InitShadowInstance(args
);
5277 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5278 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5283 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5284 PyObject
*pyobj
= 0;
5288 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5290 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5297 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5298 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5303 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5304 PyObject
*pyobj
= 0;
5308 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5310 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5317 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5318 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5323 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5324 PyObject
*pyobj
= 0;
5328 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5330 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5337 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5338 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5343 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5344 PyObject
*pyobj
= 0;
5348 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5350 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5357 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
= 0;
5359 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5360 bool arg2
= (bool) true ;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5367 char * kwnames
[] = {
5368 (char *) "self",(char *) "maximize", NULL
5371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5373 if (!SWIG_IsOK(res1
)) {
5374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5376 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5378 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5379 if (!SWIG_IsOK(ecode2
)) {
5380 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5382 arg2
= static_cast< bool >(val2
);
5385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5386 (arg1
)->Maximize(arg2
);
5387 wxPyEndAllowThreads(__tstate
);
5388 if (PyErr_Occurred()) SWIG_fail
;
5390 resultobj
= SWIG_Py_Void();
5397 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5398 PyObject
*resultobj
= 0;
5399 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5402 PyObject
*swig_obj
[1] ;
5404 if (!args
) SWIG_fail
;
5406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5407 if (!SWIG_IsOK(res1
)) {
5408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5410 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5414 wxPyEndAllowThreads(__tstate
);
5415 if (PyErr_Occurred()) SWIG_fail
;
5417 resultobj
= SWIG_Py_Void();
5424 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5425 PyObject
*resultobj
= 0;
5426 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5427 bool arg2
= (bool) true ;
5432 PyObject
* obj0
= 0 ;
5433 PyObject
* obj1
= 0 ;
5434 char * kwnames
[] = {
5435 (char *) "self",(char *) "iconize", NULL
5438 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5439 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5440 if (!SWIG_IsOK(res1
)) {
5441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5443 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5445 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5446 if (!SWIG_IsOK(ecode2
)) {
5447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5449 arg2
= static_cast< bool >(val2
);
5452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5453 (arg1
)->Iconize(arg2
);
5454 wxPyEndAllowThreads(__tstate
);
5455 if (PyErr_Occurred()) SWIG_fail
;
5457 resultobj
= SWIG_Py_Void();
5464 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5465 PyObject
*resultobj
= 0;
5466 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5470 PyObject
*swig_obj
[1] ;
5472 if (!args
) SWIG_fail
;
5474 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5475 if (!SWIG_IsOK(res1
)) {
5476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5478 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5481 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5482 wxPyEndAllowThreads(__tstate
);
5483 if (PyErr_Occurred()) SWIG_fail
;
5486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5494 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5495 PyObject
*resultobj
= 0;
5496 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5500 PyObject
*swig_obj
[1] ;
5502 if (!args
) SWIG_fail
;
5504 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5505 if (!SWIG_IsOK(res1
)) {
5506 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5508 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5511 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5512 wxPyEndAllowThreads(__tstate
);
5513 if (PyErr_Occurred()) SWIG_fail
;
5516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5524 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5525 PyObject
*resultobj
= 0;
5526 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5530 PyObject
*swig_obj
[1] ;
5532 if (!args
) SWIG_fail
;
5534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5535 if (!SWIG_IsOK(res1
)) {
5536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5538 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5541 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5542 wxPyEndAllowThreads(__tstate
);
5543 if (PyErr_Occurred()) SWIG_fail
;
5546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5554 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5555 PyObject
*resultobj
= 0;
5556 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5560 PyObject
*swig_obj
[1] ;
5562 if (!args
) SWIG_fail
;
5564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5565 if (!SWIG_IsOK(res1
)) {
5566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5568 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5572 wxPyEndAllowThreads(__tstate
);
5573 if (PyErr_Occurred()) SWIG_fail
;
5575 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5582 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
= 0;
5584 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5590 PyObject
* obj0
= 0 ;
5591 PyObject
* obj1
= 0 ;
5592 char * kwnames
[] = {
5593 (char *) "self",(char *) "icon", NULL
5596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5598 if (!SWIG_IsOK(res1
)) {
5599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5601 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5602 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5603 if (!SWIG_IsOK(res2
)) {
5604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5607 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5609 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5612 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5613 wxPyEndAllowThreads(__tstate
);
5614 if (PyErr_Occurred()) SWIG_fail
;
5616 resultobj
= SWIG_Py_Void();
5623 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5624 PyObject
*resultobj
= 0;
5625 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5626 wxIconBundle
*arg2
= 0 ;
5631 PyObject
* obj0
= 0 ;
5632 PyObject
* obj1
= 0 ;
5633 char * kwnames
[] = {
5634 (char *) "self",(char *) "icons", NULL
5637 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5638 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5639 if (!SWIG_IsOK(res1
)) {
5640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5642 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5643 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5644 if (!SWIG_IsOK(res2
)) {
5645 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5648 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5650 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5653 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5654 wxPyEndAllowThreads(__tstate
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5657 resultobj
= SWIG_Py_Void();
5664 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
= 0;
5666 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5668 long arg3
= (long) wxFULLSCREEN_ALL
;
5676 PyObject
* obj0
= 0 ;
5677 PyObject
* obj1
= 0 ;
5678 PyObject
* obj2
= 0 ;
5679 char * kwnames
[] = {
5680 (char *) "self",(char *) "show",(char *) "style", NULL
5683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5685 if (!SWIG_IsOK(res1
)) {
5686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5688 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5689 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5690 if (!SWIG_IsOK(ecode2
)) {
5691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5693 arg2
= static_cast< bool >(val2
);
5695 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5696 if (!SWIG_IsOK(ecode3
)) {
5697 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5699 arg3
= static_cast< long >(val3
);
5702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5703 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5704 wxPyEndAllowThreads(__tstate
);
5705 if (PyErr_Occurred()) SWIG_fail
;
5708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5716 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5717 PyObject
*resultobj
= 0;
5718 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5722 PyObject
*swig_obj
[1] ;
5724 if (!args
) SWIG_fail
;
5726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5727 if (!SWIG_IsOK(res1
)) {
5728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5730 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5733 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5746 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
= 0;
5748 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5749 wxString
*arg2
= 0 ;
5752 bool temp2
= false ;
5753 PyObject
* obj0
= 0 ;
5754 PyObject
* obj1
= 0 ;
5755 char * kwnames
[] = {
5756 (char *) "self",(char *) "title", NULL
5759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5761 if (!SWIG_IsOK(res1
)) {
5762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5764 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5766 arg2
= wxString_in_helper(obj1
);
5767 if (arg2
== NULL
) SWIG_fail
;
5771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5772 (arg1
)->SetTitle((wxString
const &)*arg2
);
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 resultobj
= SWIG_Py_Void();
5791 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5792 PyObject
*resultobj
= 0;
5793 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5797 PyObject
*swig_obj
[1] ;
5799 if (!args
) SWIG_fail
;
5801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5802 if (!SWIG_IsOK(res1
)) {
5803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5805 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5808 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5809 wxPyEndAllowThreads(__tstate
);
5810 if (PyErr_Occurred()) SWIG_fail
;
5814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5825 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5826 PyObject
*resultobj
= 0;
5827 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5828 wxRegion
*arg2
= 0 ;
5834 PyObject
* obj0
= 0 ;
5835 PyObject
* obj1
= 0 ;
5836 char * kwnames
[] = {
5837 (char *) "self",(char *) "region", NULL
5840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5842 if (!SWIG_IsOK(res1
)) {
5843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5845 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5846 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5847 if (!SWIG_IsOK(res2
)) {
5848 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5851 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5853 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5857 wxPyEndAllowThreads(__tstate
);
5858 if (PyErr_Occurred()) SWIG_fail
;
5861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5869 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5870 PyObject
*resultobj
= 0;
5871 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5872 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5877 PyObject
* obj0
= 0 ;
5878 PyObject
* obj1
= 0 ;
5879 char * kwnames
[] = {
5880 (char *) "self",(char *) "flags", NULL
5883 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5884 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5885 if (!SWIG_IsOK(res1
)) {
5886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5888 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5891 if (!SWIG_IsOK(ecode2
)) {
5892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5894 arg2
= static_cast< int >(val2
);
5897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5898 (arg1
)->RequestUserAttention(arg2
);
5899 wxPyEndAllowThreads(__tstate
);
5900 if (PyErr_Occurred()) SWIG_fail
;
5902 resultobj
= SWIG_Py_Void();
5909 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5910 PyObject
*resultobj
= 0;
5911 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5915 PyObject
*swig_obj
[1] ;
5917 if (!args
) SWIG_fail
;
5919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5920 if (!SWIG_IsOK(res1
)) {
5921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5923 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5926 result
= (bool)(arg1
)->IsActive();
5927 wxPyEndAllowThreads(__tstate
);
5928 if (PyErr_Occurred()) SWIG_fail
;
5931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5939 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5940 PyObject
*resultobj
= 0;
5941 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5947 PyObject
* obj0
= 0 ;
5948 PyObject
* obj1
= 0 ;
5949 char * kwnames
[] = {
5950 (char *) "self",(char *) "on", NULL
5953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5955 if (!SWIG_IsOK(res1
)) {
5956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5958 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5959 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5960 if (!SWIG_IsOK(ecode2
)) {
5961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5963 arg2
= static_cast< bool >(val2
);
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5967 wxPyEndAllowThreads(__tstate
);
5968 if (PyErr_Occurred()) SWIG_fail
;
5970 resultobj
= SWIG_Py_Void();
5977 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5978 PyObject
*resultobj
= 0;
5979 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5983 PyObject
*swig_obj
[1] ;
5985 if (!args
) SWIG_fail
;
5987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5988 if (!SWIG_IsOK(res1
)) {
5989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5991 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5994 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5995 wxPyEndAllowThreads(__tstate
);
5996 if (PyErr_Occurred()) SWIG_fail
;
5999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6007 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6008 PyObject
*resultobj
= 0;
6009 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6010 int arg2
= (int) wxBOTH
;
6015 PyObject
* obj0
= 0 ;
6016 PyObject
* obj1
= 0 ;
6017 char * kwnames
[] = {
6018 (char *) "self",(char *) "dir", NULL
6021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6022 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6023 if (!SWIG_IsOK(res1
)) {
6024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6026 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6028 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6029 if (!SWIG_IsOK(ecode2
)) {
6030 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6032 arg2
= static_cast< int >(val2
);
6035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6036 (arg1
)->CenterOnScreen(arg2
);
6037 wxPyEndAllowThreads(__tstate
);
6038 if (PyErr_Occurred()) SWIG_fail
;
6040 resultobj
= SWIG_Py_Void();
6047 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6050 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6051 return SWIG_Py_Void();
6054 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6055 PyObject
*resultobj
= 0;
6056 wxWindow
*arg1
= (wxWindow
*) 0 ;
6057 int arg2
= (int) (int)-1 ;
6058 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6059 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6060 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6061 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6062 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6063 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6064 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6065 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6066 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6067 wxFrame
*result
= 0 ;
6072 bool temp3
= false ;
6077 bool temp7
= false ;
6078 PyObject
* obj0
= 0 ;
6079 PyObject
* obj1
= 0 ;
6080 PyObject
* obj2
= 0 ;
6081 PyObject
* obj3
= 0 ;
6082 PyObject
* obj4
= 0 ;
6083 PyObject
* obj5
= 0 ;
6084 PyObject
* obj6
= 0 ;
6085 char * kwnames
[] = {
6086 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6091 if (!SWIG_IsOK(res1
)) {
6092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6094 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6097 if (!SWIG_IsOK(ecode2
)) {
6098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6100 arg2
= static_cast< int >(val2
);
6104 arg3
= wxString_in_helper(obj2
);
6105 if (arg3
== NULL
) SWIG_fail
;
6112 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6118 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6122 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6123 if (!SWIG_IsOK(ecode6
)) {
6124 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6126 arg6
= static_cast< long >(val6
);
6130 arg7
= wxString_in_helper(obj6
);
6131 if (arg7
== NULL
) SWIG_fail
;
6136 if (!wxPyCheckForApp()) SWIG_fail
;
6137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6138 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6165 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6166 PyObject
*resultobj
= 0;
6167 wxFrame
*result
= 0 ;
6169 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6171 if (!wxPyCheckForApp()) SWIG_fail
;
6172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6173 result
= (wxFrame
*)new wxFrame();
6174 wxPyEndAllowThreads(__tstate
);
6175 if (PyErr_Occurred()) SWIG_fail
;
6177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6184 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6185 PyObject
*resultobj
= 0;
6186 wxFrame
*arg1
= (wxFrame
*) 0 ;
6187 wxWindow
*arg2
= (wxWindow
*) 0 ;
6188 int arg3
= (int) (int)-1 ;
6189 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6190 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6191 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6192 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6193 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6194 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6195 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6196 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6197 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6205 bool temp4
= false ;
6210 bool temp8
= false ;
6211 PyObject
* obj0
= 0 ;
6212 PyObject
* obj1
= 0 ;
6213 PyObject
* obj2
= 0 ;
6214 PyObject
* obj3
= 0 ;
6215 PyObject
* obj4
= 0 ;
6216 PyObject
* obj5
= 0 ;
6217 PyObject
* obj6
= 0 ;
6218 PyObject
* obj7
= 0 ;
6219 char * kwnames
[] = {
6220 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6225 if (!SWIG_IsOK(res1
)) {
6226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6228 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6230 if (!SWIG_IsOK(res2
)) {
6231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6233 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6236 if (!SWIG_IsOK(ecode3
)) {
6237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6239 arg3
= static_cast< int >(val3
);
6243 arg4
= wxString_in_helper(obj3
);
6244 if (arg4
== NULL
) SWIG_fail
;
6251 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6257 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6261 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6262 if (!SWIG_IsOK(ecode7
)) {
6263 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6265 arg7
= static_cast< long >(val7
);
6269 arg8
= wxString_in_helper(obj7
);
6270 if (arg8
== NULL
) SWIG_fail
;
6275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6276 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6305 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6306 PyObject
*resultobj
= 0;
6307 wxFrame
*arg1
= (wxFrame
*) 0 ;
6310 PyObject
*swig_obj
[1] ;
6312 if (!args
) SWIG_fail
;
6314 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6315 if (!SWIG_IsOK(res1
)) {
6316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6318 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6321 (arg1
)->SendSizeEvent();
6322 wxPyEndAllowThreads(__tstate
);
6323 if (PyErr_Occurred()) SWIG_fail
;
6325 resultobj
= SWIG_Py_Void();
6332 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6333 PyObject
*resultobj
= 0;
6334 wxFrame
*arg1
= (wxFrame
*) 0 ;
6335 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6340 PyObject
* obj0
= 0 ;
6341 PyObject
* obj1
= 0 ;
6342 char * kwnames
[] = {
6343 (char *) "self",(char *) "menubar", NULL
6346 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6347 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6348 if (!SWIG_IsOK(res1
)) {
6349 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6351 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6352 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6353 if (!SWIG_IsOK(res2
)) {
6354 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6356 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 (arg1
)->SetMenuBar(arg2
);
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= SWIG_Py_Void();
6370 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6371 PyObject
*resultobj
= 0;
6372 wxFrame
*arg1
= (wxFrame
*) 0 ;
6373 wxMenuBar
*result
= 0 ;
6376 PyObject
*swig_obj
[1] ;
6378 if (!args
) SWIG_fail
;
6380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6381 if (!SWIG_IsOK(res1
)) {
6382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6384 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6387 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6388 wxPyEndAllowThreads(__tstate
);
6389 if (PyErr_Occurred()) SWIG_fail
;
6392 resultobj
= wxPyMake_wxObject(result
, 0);
6400 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
*resultobj
= 0;
6402 wxFrame
*arg1
= (wxFrame
*) 0 ;
6409 PyObject
* obj0
= 0 ;
6410 PyObject
* obj1
= 0 ;
6411 char * kwnames
[] = {
6412 (char *) "self",(char *) "winid", NULL
6415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6417 if (!SWIG_IsOK(res1
)) {
6418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6420 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6422 if (!SWIG_IsOK(ecode2
)) {
6423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6425 arg2
= static_cast< int >(val2
);
6427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6428 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6429 wxPyEndAllowThreads(__tstate
);
6430 if (PyErr_Occurred()) SWIG_fail
;
6433 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6441 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6442 PyObject
*resultobj
= 0;
6443 wxFrame
*arg1
= (wxFrame
*) 0 ;
6444 int arg2
= (int) 1 ;
6445 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6446 int arg4
= (int) 0 ;
6447 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6448 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6449 wxStatusBar
*result
= 0 ;
6458 bool temp5
= false ;
6459 PyObject
* obj0
= 0 ;
6460 PyObject
* obj1
= 0 ;
6461 PyObject
* obj2
= 0 ;
6462 PyObject
* obj3
= 0 ;
6463 PyObject
* obj4
= 0 ;
6464 char * kwnames
[] = {
6465 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6470 if (!SWIG_IsOK(res1
)) {
6471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6473 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6475 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6476 if (!SWIG_IsOK(ecode2
)) {
6477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6479 arg2
= static_cast< int >(val2
);
6482 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6483 if (!SWIG_IsOK(ecode3
)) {
6484 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6486 arg3
= static_cast< long >(val3
);
6489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6490 if (!SWIG_IsOK(ecode4
)) {
6491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6493 arg4
= static_cast< int >(val4
);
6497 arg5
= wxString_in_helper(obj4
);
6498 if (arg5
== NULL
) SWIG_fail
;
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6525 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6526 PyObject
*resultobj
= 0;
6527 wxFrame
*arg1
= (wxFrame
*) 0 ;
6528 wxStatusBar
*result
= 0 ;
6531 PyObject
*swig_obj
[1] ;
6533 if (!args
) SWIG_fail
;
6535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6536 if (!SWIG_IsOK(res1
)) {
6537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6539 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6542 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6543 wxPyEndAllowThreads(__tstate
);
6544 if (PyErr_Occurred()) SWIG_fail
;
6547 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6555 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6556 PyObject
*resultobj
= 0;
6557 wxFrame
*arg1
= (wxFrame
*) 0 ;
6558 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6563 PyObject
* obj0
= 0 ;
6564 PyObject
* obj1
= 0 ;
6565 char * kwnames
[] = {
6566 (char *) "self",(char *) "statBar", NULL
6569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6571 if (!SWIG_IsOK(res1
)) {
6572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6574 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6575 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6576 if (!SWIG_IsOK(res2
)) {
6577 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6579 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6582 (arg1
)->SetStatusBar(arg2
);
6583 wxPyEndAllowThreads(__tstate
);
6584 if (PyErr_Occurred()) SWIG_fail
;
6586 resultobj
= SWIG_Py_Void();
6593 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6594 PyObject
*resultobj
= 0;
6595 wxFrame
*arg1
= (wxFrame
*) 0 ;
6596 wxString
*arg2
= 0 ;
6597 int arg3
= (int) 0 ;
6600 bool temp2
= false ;
6603 PyObject
* obj0
= 0 ;
6604 PyObject
* obj1
= 0 ;
6605 PyObject
* obj2
= 0 ;
6606 char * kwnames
[] = {
6607 (char *) "self",(char *) "text",(char *) "number", NULL
6610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6612 if (!SWIG_IsOK(res1
)) {
6613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6615 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6617 arg2
= wxString_in_helper(obj1
);
6618 if (arg2
== NULL
) SWIG_fail
;
6622 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6623 if (!SWIG_IsOK(ecode3
)) {
6624 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6626 arg3
= static_cast< int >(val3
);
6629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6630 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= SWIG_Py_Void();
6649 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
*resultobj
= 0;
6651 wxFrame
*arg1
= (wxFrame
*) 0 ;
6653 int *arg3
= (int *) 0 ;
6656 PyObject
* obj0
= 0 ;
6657 PyObject
* obj1
= 0 ;
6658 char * kwnames
[] = {
6659 (char *) "self",(char *) "widths", NULL
6662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6664 if (!SWIG_IsOK(res1
)) {
6665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6667 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6669 arg2
= PyList_Size(obj1
);
6670 arg3
= int_LIST_helper(obj1
);
6671 if (arg3
== NULL
) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6679 resultobj
= SWIG_Py_Void();
6681 if (arg3
) delete [] arg3
;
6686 if (arg3
) delete [] arg3
;
6692 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
= 0;
6694 wxFrame
*arg1
= (wxFrame
*) 0 ;
6695 wxString
*arg2
= 0 ;
6696 int arg3
= (int) 0 ;
6699 bool temp2
= false ;
6702 PyObject
* obj0
= 0 ;
6703 PyObject
* obj1
= 0 ;
6704 PyObject
* obj2
= 0 ;
6705 char * kwnames
[] = {
6706 (char *) "self",(char *) "text",(char *) "number", NULL
6709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6711 if (!SWIG_IsOK(res1
)) {
6712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6714 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6716 arg2
= wxString_in_helper(obj1
);
6717 if (arg2
== NULL
) SWIG_fail
;
6721 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6722 if (!SWIG_IsOK(ecode3
)) {
6723 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6725 arg3
= static_cast< int >(val3
);
6728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6729 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= SWIG_Py_Void();
6748 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
= 0;
6750 wxFrame
*arg1
= (wxFrame
*) 0 ;
6751 int arg2
= (int) 0 ;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6758 char * kwnames
[] = {
6759 (char *) "self",(char *) "number", NULL
6762 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6763 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6764 if (!SWIG_IsOK(res1
)) {
6765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6767 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6769 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6770 if (!SWIG_IsOK(ecode2
)) {
6771 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6773 arg2
= static_cast< int >(val2
);
6776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6777 (arg1
)->PopStatusText(arg2
);
6778 wxPyEndAllowThreads(__tstate
);
6779 if (PyErr_Occurred()) SWIG_fail
;
6781 resultobj
= SWIG_Py_Void();
6788 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
= 0;
6790 wxFrame
*arg1
= (wxFrame
*) 0 ;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6798 char * kwnames
[] = {
6799 (char *) "self",(char *) "n", NULL
6802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6804 if (!SWIG_IsOK(res1
)) {
6805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6807 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6808 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6809 if (!SWIG_IsOK(ecode2
)) {
6810 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6812 arg2
= static_cast< int >(val2
);
6814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6815 (arg1
)->SetStatusBarPane(arg2
);
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6819 resultobj
= SWIG_Py_Void();
6826 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6827 PyObject
*resultobj
= 0;
6828 wxFrame
*arg1
= (wxFrame
*) 0 ;
6832 PyObject
*swig_obj
[1] ;
6834 if (!args
) SWIG_fail
;
6836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6837 if (!SWIG_IsOK(res1
)) {
6838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6840 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6843 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6844 wxPyEndAllowThreads(__tstate
);
6845 if (PyErr_Occurred()) SWIG_fail
;
6847 resultobj
= SWIG_From_int(static_cast< int >(result
));
6854 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6855 PyObject
*resultobj
= 0;
6856 wxFrame
*arg1
= (wxFrame
*) 0 ;
6857 long arg2
= (long) -1 ;
6858 int arg3
= (int) -1 ;
6859 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6860 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6861 wxToolBar
*result
= 0 ;
6868 bool temp4
= false ;
6869 PyObject
* obj0
= 0 ;
6870 PyObject
* obj1
= 0 ;
6871 PyObject
* obj2
= 0 ;
6872 PyObject
* obj3
= 0 ;
6873 char * kwnames
[] = {
6874 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6879 if (!SWIG_IsOK(res1
)) {
6880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6882 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6884 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6885 if (!SWIG_IsOK(ecode2
)) {
6886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6888 arg2
= static_cast< long >(val2
);
6891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6892 if (!SWIG_IsOK(ecode3
)) {
6893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6895 arg3
= static_cast< int >(val3
);
6899 arg4
= wxString_in_helper(obj3
);
6900 if (arg4
== NULL
) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6907 wxPyEndAllowThreads(__tstate
);
6908 if (PyErr_Occurred()) SWIG_fail
;
6911 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6927 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6928 PyObject
*resultobj
= 0;
6929 wxFrame
*arg1
= (wxFrame
*) 0 ;
6930 wxToolBar
*result
= 0 ;
6933 PyObject
*swig_obj
[1] ;
6935 if (!args
) SWIG_fail
;
6937 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6938 if (!SWIG_IsOK(res1
)) {
6939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6941 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6944 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6945 wxPyEndAllowThreads(__tstate
);
6946 if (PyErr_Occurred()) SWIG_fail
;
6949 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6957 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
= 0;
6959 wxFrame
*arg1
= (wxFrame
*) 0 ;
6960 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6965 PyObject
* obj0
= 0 ;
6966 PyObject
* obj1
= 0 ;
6967 char * kwnames
[] = {
6968 (char *) "self",(char *) "toolbar", NULL
6971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6973 if (!SWIG_IsOK(res1
)) {
6974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6976 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6977 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6978 if (!SWIG_IsOK(res2
)) {
6979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6981 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6984 (arg1
)->SetToolBar(arg2
);
6985 wxPyEndAllowThreads(__tstate
);
6986 if (PyErr_Occurred()) SWIG_fail
;
6988 resultobj
= SWIG_Py_Void();
6995 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6996 PyObject
*resultobj
= 0;
6997 wxFrame
*arg1
= (wxFrame
*) 0 ;
6998 wxString
*arg2
= 0 ;
7002 bool temp2
= false ;
7005 PyObject
* obj0
= 0 ;
7006 PyObject
* obj1
= 0 ;
7007 PyObject
* obj2
= 0 ;
7008 char * kwnames
[] = {
7009 (char *) "self",(char *) "text",(char *) "show", NULL
7012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7014 if (!SWIG_IsOK(res1
)) {
7015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7017 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7019 arg2
= wxString_in_helper(obj1
);
7020 if (arg2
== NULL
) SWIG_fail
;
7023 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7024 if (!SWIG_IsOK(ecode3
)) {
7025 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7027 arg3
= static_cast< bool >(val3
);
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7034 resultobj
= SWIG_Py_Void();
7049 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7050 PyObject
*resultobj
= 0;
7051 wxFrame
*arg1
= (wxFrame
*) 0 ;
7052 wxMenu
*arg2
= (wxMenu
*) NULL
;
7057 PyObject
* obj0
= 0 ;
7058 PyObject
* obj1
= 0 ;
7059 char * kwnames
[] = {
7060 (char *) "self",(char *) "menu", NULL
7063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7065 if (!SWIG_IsOK(res1
)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7068 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7070 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7071 if (!SWIG_IsOK(res2
)) {
7072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7074 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7078 (arg1
)->DoMenuUpdates(arg2
);
7079 wxPyEndAllowThreads(__tstate
);
7080 if (PyErr_Occurred()) SWIG_fail
;
7082 resultobj
= SWIG_Py_Void();
7089 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7090 PyObject
*resultobj
= 0;
7091 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7092 SwigValueWrapper
<wxVisualAttributes
> result
;
7095 PyObject
* obj0
= 0 ;
7096 char * kwnames
[] = {
7097 (char *) "variant", NULL
7100 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7102 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7103 if (!SWIG_IsOK(ecode1
)) {
7104 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7106 arg1
= static_cast< wxWindowVariant
>(val1
);
7109 if (!wxPyCheckForApp()) SWIG_fail
;
7110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7111 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7122 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7124 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7125 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7126 return SWIG_Py_Void();
7129 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7130 return SWIG_Python_InitShadowInstance(args
);
7133 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7134 PyObject
*resultobj
= 0;
7135 wxWindow
*arg1
= (wxWindow
*) 0 ;
7136 int arg2
= (int) (int)-1 ;
7137 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7138 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7139 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7140 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7141 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7142 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7143 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7144 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7145 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7146 wxDialog
*result
= 0 ;
7151 bool temp3
= false ;
7156 bool temp7
= false ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7159 PyObject
* obj2
= 0 ;
7160 PyObject
* obj3
= 0 ;
7161 PyObject
* obj4
= 0 ;
7162 PyObject
* obj5
= 0 ;
7163 PyObject
* obj6
= 0 ;
7164 char * kwnames
[] = {
7165 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7170 if (!SWIG_IsOK(res1
)) {
7171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7173 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7176 if (!SWIG_IsOK(ecode2
)) {
7177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7179 arg2
= static_cast< int >(val2
);
7183 arg3
= wxString_in_helper(obj2
);
7184 if (arg3
== NULL
) SWIG_fail
;
7191 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7197 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7201 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7202 if (!SWIG_IsOK(ecode6
)) {
7203 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7205 arg6
= static_cast< long >(val6
);
7209 arg7
= wxString_in_helper(obj6
);
7210 if (arg7
== NULL
) SWIG_fail
;
7215 if (!wxPyCheckForApp()) SWIG_fail
;
7216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7217 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7218 wxPyEndAllowThreads(__tstate
);
7219 if (PyErr_Occurred()) SWIG_fail
;
7221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7244 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7245 PyObject
*resultobj
= 0;
7246 wxDialog
*result
= 0 ;
7248 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7250 if (!wxPyCheckForApp()) SWIG_fail
;
7251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7252 result
= (wxDialog
*)new wxDialog();
7253 wxPyEndAllowThreads(__tstate
);
7254 if (PyErr_Occurred()) SWIG_fail
;
7256 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7263 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7264 PyObject
*resultobj
= 0;
7265 wxDialog
*arg1
= (wxDialog
*) 0 ;
7266 wxWindow
*arg2
= (wxWindow
*) 0 ;
7267 int arg3
= (int) (int)-1 ;
7268 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7269 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7270 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7271 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7272 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7273 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7274 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7275 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7276 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7284 bool temp4
= false ;
7289 bool temp8
= false ;
7290 PyObject
* obj0
= 0 ;
7291 PyObject
* obj1
= 0 ;
7292 PyObject
* obj2
= 0 ;
7293 PyObject
* obj3
= 0 ;
7294 PyObject
* obj4
= 0 ;
7295 PyObject
* obj5
= 0 ;
7296 PyObject
* obj6
= 0 ;
7297 PyObject
* obj7
= 0 ;
7298 char * kwnames
[] = {
7299 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7304 if (!SWIG_IsOK(res1
)) {
7305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7307 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7308 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7309 if (!SWIG_IsOK(res2
)) {
7310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7312 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7314 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7315 if (!SWIG_IsOK(ecode3
)) {
7316 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7318 arg3
= static_cast< int >(val3
);
7322 arg4
= wxString_in_helper(obj3
);
7323 if (arg4
== NULL
) SWIG_fail
;
7330 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7336 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7340 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7341 if (!SWIG_IsOK(ecode7
)) {
7342 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7344 arg7
= static_cast< long >(val7
);
7348 arg8
= wxString_in_helper(obj7
);
7349 if (arg8
== NULL
) SWIG_fail
;
7354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7355 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7384 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7385 PyObject
*resultobj
= 0;
7386 wxDialog
*arg1
= (wxDialog
*) 0 ;
7392 PyObject
* obj0
= 0 ;
7393 PyObject
* obj1
= 0 ;
7394 char * kwnames
[] = {
7395 (char *) "self",(char *) "returnCode", NULL
7398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7400 if (!SWIG_IsOK(res1
)) {
7401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7403 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7405 if (!SWIG_IsOK(ecode2
)) {
7406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7408 arg2
= static_cast< int >(val2
);
7410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7411 (arg1
)->SetReturnCode(arg2
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= SWIG_Py_Void();
7422 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7423 PyObject
*resultobj
= 0;
7424 wxDialog
*arg1
= (wxDialog
*) 0 ;
7428 PyObject
*swig_obj
[1] ;
7430 if (!args
) SWIG_fail
;
7432 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7433 if (!SWIG_IsOK(res1
)) {
7434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7436 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7443 resultobj
= SWIG_From_int(static_cast< int >(result
));
7450 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7451 PyObject
*resultobj
= 0;
7452 wxDialog
*arg1
= (wxDialog
*) 0 ;
7458 PyObject
* obj0
= 0 ;
7459 PyObject
* obj1
= 0 ;
7460 char * kwnames
[] = {
7461 (char *) "self",(char *) "affirmativeId", NULL
7464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7466 if (!SWIG_IsOK(res1
)) {
7467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7469 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7471 if (!SWIG_IsOK(ecode2
)) {
7472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7474 arg2
= static_cast< int >(val2
);
7476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7477 (arg1
)->SetAffirmativeId(arg2
);
7478 wxPyEndAllowThreads(__tstate
);
7479 if (PyErr_Occurred()) SWIG_fail
;
7481 resultobj
= SWIG_Py_Void();
7488 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7489 PyObject
*resultobj
= 0;
7490 wxDialog
*arg1
= (wxDialog
*) 0 ;
7494 PyObject
*swig_obj
[1] ;
7496 if (!args
) SWIG_fail
;
7498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7499 if (!SWIG_IsOK(res1
)) {
7500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7502 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7505 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7506 wxPyEndAllowThreads(__tstate
);
7507 if (PyErr_Occurred()) SWIG_fail
;
7509 resultobj
= SWIG_From_int(static_cast< int >(result
));
7516 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7517 PyObject
*resultobj
= 0;
7518 wxDialog
*arg1
= (wxDialog
*) 0 ;
7524 PyObject
* obj0
= 0 ;
7525 PyObject
* obj1
= 0 ;
7526 char * kwnames
[] = {
7527 (char *) "self",(char *) "escapeId", NULL
7530 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7531 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7532 if (!SWIG_IsOK(res1
)) {
7533 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7535 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7537 if (!SWIG_IsOK(ecode2
)) {
7538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7540 arg2
= static_cast< int >(val2
);
7542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7543 (arg1
)->SetEscapeId(arg2
);
7544 wxPyEndAllowThreads(__tstate
);
7545 if (PyErr_Occurred()) SWIG_fail
;
7547 resultobj
= SWIG_Py_Void();
7554 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7555 PyObject
*resultobj
= 0;
7556 wxDialog
*arg1
= (wxDialog
*) 0 ;
7560 PyObject
*swig_obj
[1] ;
7562 if (!args
) SWIG_fail
;
7564 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7565 if (!SWIG_IsOK(res1
)) {
7566 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7568 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7571 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_From_int(static_cast< int >(result
));
7582 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7583 PyObject
*resultobj
= 0;
7584 wxDialog
*arg1
= (wxDialog
*) 0 ;
7585 wxString
*arg2
= 0 ;
7586 wxSizer
*result
= 0 ;
7589 bool temp2
= false ;
7590 PyObject
* obj0
= 0 ;
7591 PyObject
* obj1
= 0 ;
7592 char * kwnames
[] = {
7593 (char *) "self",(char *) "message", NULL
7596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7598 if (!SWIG_IsOK(res1
)) {
7599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7601 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7603 arg2
= wxString_in_helper(obj1
);
7604 if (arg2
== NULL
) SWIG_fail
;
7608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7609 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7610 wxPyEndAllowThreads(__tstate
);
7611 if (PyErr_Occurred()) SWIG_fail
;
7614 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7630 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7631 PyObject
*resultobj
= 0;
7632 wxDialog
*arg1
= (wxDialog
*) 0 ;
7634 bool arg3
= (bool) false ;
7635 int arg4
= (int) 0 ;
7636 wxSizer
*result
= 0 ;
7645 PyObject
* obj0
= 0 ;
7646 PyObject
* obj1
= 0 ;
7647 PyObject
* obj2
= 0 ;
7648 PyObject
* obj3
= 0 ;
7649 char * kwnames
[] = {
7650 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7655 if (!SWIG_IsOK(res1
)) {
7656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7658 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7659 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7660 if (!SWIG_IsOK(ecode2
)) {
7661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7663 arg2
= static_cast< long >(val2
);
7665 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7666 if (!SWIG_IsOK(ecode3
)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7669 arg3
= static_cast< bool >(val3
);
7672 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7673 if (!SWIG_IsOK(ecode4
)) {
7674 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7676 arg4
= static_cast< int >(val4
);
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7681 wxPyEndAllowThreads(__tstate
);
7682 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7693 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
= 0;
7695 wxDialog
*arg1
= (wxDialog
*) 0 ;
7697 wxStdDialogButtonSizer
*result
= 0 ;
7702 PyObject
* obj0
= 0 ;
7703 PyObject
* obj1
= 0 ;
7704 char * kwnames
[] = {
7705 (char *) "self",(char *) "flags", NULL
7708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7710 if (!SWIG_IsOK(res1
)) {
7711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7713 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7714 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7715 if (!SWIG_IsOK(ecode2
)) {
7716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7718 arg2
= static_cast< long >(val2
);
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7722 wxPyEndAllowThreads(__tstate
);
7723 if (PyErr_Occurred()) SWIG_fail
;
7725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7732 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7733 PyObject
*resultobj
= 0;
7734 wxDialog
*arg1
= (wxDialog
*) 0 ;
7738 PyObject
*swig_obj
[1] ;
7740 if (!args
) SWIG_fail
;
7742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7743 if (!SWIG_IsOK(res1
)) {
7744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7746 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7749 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7762 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7763 PyObject
*resultobj
= 0;
7764 wxDialog
*arg1
= (wxDialog
*) 0 ;
7768 PyObject
*swig_obj
[1] ;
7770 if (!args
) SWIG_fail
;
7772 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7773 if (!SWIG_IsOK(res1
)) {
7774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7776 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= (int)(arg1
)->ShowModal();
7780 wxPyEndAllowThreads(__tstate
);
7781 if (PyErr_Occurred()) SWIG_fail
;
7783 resultobj
= SWIG_From_int(static_cast< int >(result
));
7790 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7791 PyObject
*resultobj
= 0;
7792 wxDialog
*arg1
= (wxDialog
*) 0 ;
7798 PyObject
* obj0
= 0 ;
7799 PyObject
* obj1
= 0 ;
7800 char * kwnames
[] = {
7801 (char *) "self",(char *) "retCode", NULL
7804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7806 if (!SWIG_IsOK(res1
)) {
7807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7809 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7810 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7811 if (!SWIG_IsOK(ecode2
)) {
7812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7814 arg2
= static_cast< int >(val2
);
7816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7817 (arg1
)->EndModal(arg2
);
7818 wxPyEndAllowThreads(__tstate
);
7819 if (PyErr_Occurred()) SWIG_fail
;
7821 resultobj
= SWIG_Py_Void();
7828 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7829 PyObject
*resultobj
= 0;
7830 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7831 SwigValueWrapper
<wxVisualAttributes
> result
;
7834 PyObject
* obj0
= 0 ;
7835 char * kwnames
[] = {
7836 (char *) "variant", NULL
7839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7841 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7842 if (!SWIG_IsOK(ecode1
)) {
7843 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7845 arg1
= static_cast< wxWindowVariant
>(val1
);
7848 if (!wxPyCheckForApp()) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7854 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7861 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7863 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7864 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7865 return SWIG_Py_Void();
7868 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7869 return SWIG_Python_InitShadowInstance(args
);
7872 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
= 0;
7874 wxWindow
*arg1
= (wxWindow
*) 0 ;
7875 int arg2
= (int) (int)-1 ;
7876 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7877 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7878 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7879 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7880 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7881 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7882 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7883 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7884 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7885 wxMiniFrame
*result
= 0 ;
7890 bool temp3
= false ;
7895 bool temp7
= false ;
7896 PyObject
* obj0
= 0 ;
7897 PyObject
* obj1
= 0 ;
7898 PyObject
* obj2
= 0 ;
7899 PyObject
* obj3
= 0 ;
7900 PyObject
* obj4
= 0 ;
7901 PyObject
* obj5
= 0 ;
7902 PyObject
* obj6
= 0 ;
7903 char * kwnames
[] = {
7904 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7909 if (!SWIG_IsOK(res1
)) {
7910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7912 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7914 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7915 if (!SWIG_IsOK(ecode2
)) {
7916 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7918 arg2
= static_cast< int >(val2
);
7922 arg3
= wxString_in_helper(obj2
);
7923 if (arg3
== NULL
) SWIG_fail
;
7930 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7936 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7940 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7941 if (!SWIG_IsOK(ecode6
)) {
7942 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7944 arg6
= static_cast< long >(val6
);
7948 arg7
= wxString_in_helper(obj6
);
7949 if (arg7
== NULL
) SWIG_fail
;
7954 if (!wxPyCheckForApp()) SWIG_fail
;
7955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7956 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7957 wxPyEndAllowThreads(__tstate
);
7958 if (PyErr_Occurred()) SWIG_fail
;
7960 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7983 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7984 PyObject
*resultobj
= 0;
7985 wxMiniFrame
*result
= 0 ;
7987 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7989 if (!wxPyCheckForApp()) SWIG_fail
;
7990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7991 result
= (wxMiniFrame
*)new wxMiniFrame();
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8002 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
= 0;
8004 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8005 wxWindow
*arg2
= (wxWindow
*) 0 ;
8006 int arg3
= (int) (int)-1 ;
8007 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8008 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8009 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8010 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8011 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8012 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8013 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8014 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8015 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8023 bool temp4
= false ;
8028 bool temp8
= false ;
8029 PyObject
* obj0
= 0 ;
8030 PyObject
* obj1
= 0 ;
8031 PyObject
* obj2
= 0 ;
8032 PyObject
* obj3
= 0 ;
8033 PyObject
* obj4
= 0 ;
8034 PyObject
* obj5
= 0 ;
8035 PyObject
* obj6
= 0 ;
8036 PyObject
* obj7
= 0 ;
8037 char * kwnames
[] = {
8038 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8043 if (!SWIG_IsOK(res1
)) {
8044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8046 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8047 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8048 if (!SWIG_IsOK(res2
)) {
8049 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8051 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8053 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8054 if (!SWIG_IsOK(ecode3
)) {
8055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8057 arg3
= static_cast< int >(val3
);
8061 arg4
= wxString_in_helper(obj3
);
8062 if (arg4
== NULL
) SWIG_fail
;
8069 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8075 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8079 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8080 if (!SWIG_IsOK(ecode7
)) {
8081 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8083 arg7
= static_cast< long >(val7
);
8087 arg8
= wxString_in_helper(obj7
);
8088 if (arg8
== NULL
) SWIG_fail
;
8093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8094 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8123 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8125 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8126 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8127 return SWIG_Py_Void();
8130 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8131 return SWIG_Python_InitShadowInstance(args
);
8134 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8135 PyObject
*resultobj
= 0;
8136 wxBitmap
*arg1
= 0 ;
8137 wxWindow
*arg2
= (wxWindow
*) 0 ;
8139 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8140 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8141 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8142 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8143 long arg6
= (long) wxNO_BORDER
;
8144 wxSplashScreenWindow
*result
= 0 ;
8155 PyObject
* obj0
= 0 ;
8156 PyObject
* obj1
= 0 ;
8157 PyObject
* obj2
= 0 ;
8158 PyObject
* obj3
= 0 ;
8159 PyObject
* obj4
= 0 ;
8160 PyObject
* obj5
= 0 ;
8161 char * kwnames
[] = {
8162 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8166 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8167 if (!SWIG_IsOK(res1
)) {
8168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8173 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8174 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8175 if (!SWIG_IsOK(res2
)) {
8176 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8178 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8179 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8180 if (!SWIG_IsOK(ecode3
)) {
8181 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8183 arg3
= static_cast< int >(val3
);
8187 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8193 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8197 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8198 if (!SWIG_IsOK(ecode6
)) {
8199 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8201 arg6
= static_cast< long >(val6
);
8204 if (!wxPyCheckForApp()) SWIG_fail
;
8205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8206 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8207 wxPyEndAllowThreads(__tstate
);
8208 if (PyErr_Occurred()) SWIG_fail
;
8210 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8217 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8218 PyObject
*resultobj
= 0;
8219 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8220 wxBitmap
*arg2
= 0 ;
8225 PyObject
* obj0
= 0 ;
8226 PyObject
* obj1
= 0 ;
8227 char * kwnames
[] = {
8228 (char *) "self",(char *) "bitmap", NULL
8231 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8232 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8233 if (!SWIG_IsOK(res1
)) {
8234 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8236 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8237 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8238 if (!SWIG_IsOK(res2
)) {
8239 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8242 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8244 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8247 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8248 wxPyEndAllowThreads(__tstate
);
8249 if (PyErr_Occurred()) SWIG_fail
;
8251 resultobj
= SWIG_Py_Void();
8258 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8259 PyObject
*resultobj
= 0;
8260 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8261 wxBitmap
*result
= 0 ;
8264 PyObject
*swig_obj
[1] ;
8266 if (!args
) SWIG_fail
;
8268 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8269 if (!SWIG_IsOK(res1
)) {
8270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8272 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8276 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8277 result
= (wxBitmap
*) &_result_ref
;
8279 wxPyEndAllowThreads(__tstate
);
8280 if (PyErr_Occurred()) SWIG_fail
;
8283 wxBitmap
* resultptr
= new wxBitmap(*result
);
8284 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8292 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8294 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8295 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8296 return SWIG_Py_Void();
8299 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8300 return SWIG_Python_InitShadowInstance(args
);
8303 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8304 PyObject
*resultobj
= 0;
8305 wxBitmap
*arg1
= 0 ;
8308 wxWindow
*arg4
= (wxWindow
*) 0 ;
8309 int arg5
= (int) -1 ;
8310 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8311 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8312 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8313 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8314 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8315 wxSplashScreen
*result
= 0 ;
8330 PyObject
* obj0
= 0 ;
8331 PyObject
* obj1
= 0 ;
8332 PyObject
* obj2
= 0 ;
8333 PyObject
* obj3
= 0 ;
8334 PyObject
* obj4
= 0 ;
8335 PyObject
* obj5
= 0 ;
8336 PyObject
* obj6
= 0 ;
8337 PyObject
* obj7
= 0 ;
8338 char * kwnames
[] = {
8339 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8343 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8344 if (!SWIG_IsOK(res1
)) {
8345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8348 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8350 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8351 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8352 if (!SWIG_IsOK(ecode2
)) {
8353 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8355 arg2
= static_cast< long >(val2
);
8356 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8357 if (!SWIG_IsOK(ecode3
)) {
8358 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8360 arg3
= static_cast< int >(val3
);
8361 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8362 if (!SWIG_IsOK(res4
)) {
8363 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8365 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8367 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8368 if (!SWIG_IsOK(ecode5
)) {
8369 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8371 arg5
= static_cast< int >(val5
);
8376 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8382 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8386 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8387 if (!SWIG_IsOK(ecode8
)) {
8388 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8390 arg8
= static_cast< long >(val8
);
8393 if (!wxPyCheckForApp()) SWIG_fail
;
8394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8395 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8396 wxPyEndAllowThreads(__tstate
);
8397 if (PyErr_Occurred()) SWIG_fail
;
8399 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8406 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8407 PyObject
*resultobj
= 0;
8408 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8412 PyObject
*swig_obj
[1] ;
8414 if (!args
) SWIG_fail
;
8416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8417 if (!SWIG_IsOK(res1
)) {
8418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8420 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8424 wxPyEndAllowThreads(__tstate
);
8425 if (PyErr_Occurred()) SWIG_fail
;
8427 resultobj
= SWIG_From_long(static_cast< long >(result
));
8434 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8435 PyObject
*resultobj
= 0;
8436 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8437 wxSplashScreenWindow
*result
= 0 ;
8440 PyObject
*swig_obj
[1] ;
8442 if (!args
) SWIG_fail
;
8444 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8445 if (!SWIG_IsOK(res1
)) {
8446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8448 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8451 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8452 wxPyEndAllowThreads(__tstate
);
8453 if (PyErr_Occurred()) SWIG_fail
;
8455 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8462 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8463 PyObject
*resultobj
= 0;
8464 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8468 PyObject
*swig_obj
[1] ;
8470 if (!args
) SWIG_fail
;
8472 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8473 if (!SWIG_IsOK(res1
)) {
8474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8476 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8479 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8480 wxPyEndAllowThreads(__tstate
);
8481 if (PyErr_Occurred()) SWIG_fail
;
8483 resultobj
= SWIG_From_int(static_cast< int >(result
));
8490 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8492 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8493 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8494 return SWIG_Py_Void();
8497 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8498 return SWIG_Python_InitShadowInstance(args
);
8501 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8502 PyObject
*resultobj
= 0;
8503 wxWindow
*arg1
= (wxWindow
*) 0 ;
8504 int arg2
= (int) -1 ;
8505 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8506 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8507 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8508 wxStatusBar
*result
= 0 ;
8515 bool temp4
= false ;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8518 PyObject
* obj2
= 0 ;
8519 PyObject
* obj3
= 0 ;
8520 char * kwnames
[] = {
8521 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8524 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8525 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8526 if (!SWIG_IsOK(res1
)) {
8527 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8529 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8531 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8532 if (!SWIG_IsOK(ecode2
)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8535 arg2
= static_cast< int >(val2
);
8538 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8539 if (!SWIG_IsOK(ecode3
)) {
8540 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8542 arg3
= static_cast< long >(val3
);
8546 arg4
= wxString_in_helper(obj3
);
8547 if (arg4
== NULL
) SWIG_fail
;
8552 if (!wxPyCheckForApp()) SWIG_fail
;
8553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8554 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8555 wxPyEndAllowThreads(__tstate
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8558 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8573 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8574 PyObject
*resultobj
= 0;
8575 wxStatusBar
*result
= 0 ;
8577 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8579 if (!wxPyCheckForApp()) SWIG_fail
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 result
= (wxStatusBar
*)new wxStatusBar();
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8592 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8593 PyObject
*resultobj
= 0;
8594 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8595 wxWindow
*arg2
= (wxWindow
*) 0 ;
8596 int arg3
= (int) -1 ;
8597 long arg4
= (long) wxST_SIZEGRIP
;
8598 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8599 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8609 bool temp5
= false ;
8610 PyObject
* obj0
= 0 ;
8611 PyObject
* obj1
= 0 ;
8612 PyObject
* obj2
= 0 ;
8613 PyObject
* obj3
= 0 ;
8614 PyObject
* obj4
= 0 ;
8615 char * kwnames
[] = {
8616 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8621 if (!SWIG_IsOK(res1
)) {
8622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8624 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8625 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8626 if (!SWIG_IsOK(res2
)) {
8627 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8629 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8631 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8632 if (!SWIG_IsOK(ecode3
)) {
8633 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8635 arg3
= static_cast< int >(val3
);
8638 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8639 if (!SWIG_IsOK(ecode4
)) {
8640 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8642 arg4
= static_cast< long >(val4
);
8646 arg5
= wxString_in_helper(obj4
);
8647 if (arg5
== NULL
) SWIG_fail
;
8652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8653 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8654 wxPyEndAllowThreads(__tstate
);
8655 if (PyErr_Occurred()) SWIG_fail
;
8658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8674 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8675 PyObject
*resultobj
= 0;
8676 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8677 int arg2
= (int) 1 ;
8682 PyObject
* obj0
= 0 ;
8683 PyObject
* obj1
= 0 ;
8684 char * kwnames
[] = {
8685 (char *) "self",(char *) "number", NULL
8688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8690 if (!SWIG_IsOK(res1
)) {
8691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8693 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8696 if (!SWIG_IsOK(ecode2
)) {
8697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8699 arg2
= static_cast< int >(val2
);
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 (arg1
)->SetFieldsCount(arg2
);
8704 wxPyEndAllowThreads(__tstate
);
8705 if (PyErr_Occurred()) SWIG_fail
;
8707 resultobj
= SWIG_Py_Void();
8714 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8715 PyObject
*resultobj
= 0;
8716 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8720 PyObject
*swig_obj
[1] ;
8722 if (!args
) SWIG_fail
;
8724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8725 if (!SWIG_IsOK(res1
)) {
8726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8728 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8731 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8732 wxPyEndAllowThreads(__tstate
);
8733 if (PyErr_Occurred()) SWIG_fail
;
8735 resultobj
= SWIG_From_int(static_cast< int >(result
));
8742 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8743 PyObject
*resultobj
= 0;
8744 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8745 wxString
*arg2
= 0 ;
8746 int arg3
= (int) 0 ;
8749 bool temp2
= false ;
8752 PyObject
* obj0
= 0 ;
8753 PyObject
* obj1
= 0 ;
8754 PyObject
* obj2
= 0 ;
8755 char * kwnames
[] = {
8756 (char *) "self",(char *) "text",(char *) "number", NULL
8759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8761 if (!SWIG_IsOK(res1
)) {
8762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8764 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8766 arg2
= wxString_in_helper(obj1
);
8767 if (arg2
== NULL
) SWIG_fail
;
8771 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8772 if (!SWIG_IsOK(ecode3
)) {
8773 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8775 arg3
= static_cast< int >(val3
);
8778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8779 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8780 wxPyEndAllowThreads(__tstate
);
8781 if (PyErr_Occurred()) SWIG_fail
;
8783 resultobj
= SWIG_Py_Void();
8798 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8799 PyObject
*resultobj
= 0;
8800 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8801 int arg2
= (int) 0 ;
8807 PyObject
* obj0
= 0 ;
8808 PyObject
* obj1
= 0 ;
8809 char * kwnames
[] = {
8810 (char *) "self",(char *) "number", NULL
8813 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8814 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8815 if (!SWIG_IsOK(res1
)) {
8816 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8818 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8821 if (!SWIG_IsOK(ecode2
)) {
8822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8824 arg2
= static_cast< int >(val2
);
8827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8828 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8829 wxPyEndAllowThreads(__tstate
);
8830 if (PyErr_Occurred()) SWIG_fail
;
8834 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8836 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8845 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8846 PyObject
*resultobj
= 0;
8847 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8848 wxString
*arg2
= 0 ;
8849 int arg3
= (int) 0 ;
8852 bool temp2
= false ;
8855 PyObject
* obj0
= 0 ;
8856 PyObject
* obj1
= 0 ;
8857 PyObject
* obj2
= 0 ;
8858 char * kwnames
[] = {
8859 (char *) "self",(char *) "text",(char *) "number", NULL
8862 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8863 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8864 if (!SWIG_IsOK(res1
)) {
8865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8867 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8869 arg2
= wxString_in_helper(obj1
);
8870 if (arg2
== NULL
) SWIG_fail
;
8874 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8875 if (!SWIG_IsOK(ecode3
)) {
8876 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8878 arg3
= static_cast< int >(val3
);
8881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8882 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8883 wxPyEndAllowThreads(__tstate
);
8884 if (PyErr_Occurred()) SWIG_fail
;
8886 resultobj
= SWIG_Py_Void();
8901 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8902 PyObject
*resultobj
= 0;
8903 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8904 int arg2
= (int) 0 ;
8909 PyObject
* obj0
= 0 ;
8910 PyObject
* obj1
= 0 ;
8911 char * kwnames
[] = {
8912 (char *) "self",(char *) "number", NULL
8915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8917 if (!SWIG_IsOK(res1
)) {
8918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8920 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8922 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8923 if (!SWIG_IsOK(ecode2
)) {
8924 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8926 arg2
= static_cast< int >(val2
);
8929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8930 (arg1
)->PopStatusText(arg2
);
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8934 resultobj
= SWIG_Py_Void();
8941 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
= 0;
8943 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8945 int *arg3
= (int *) 0 ;
8948 PyObject
* obj0
= 0 ;
8949 PyObject
* obj1
= 0 ;
8950 char * kwnames
[] = {
8951 (char *) "self",(char *) "widths", NULL
8954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8956 if (!SWIG_IsOK(res1
)) {
8957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8959 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8961 arg2
= PyList_Size(obj1
);
8962 arg3
= int_LIST_helper(obj1
);
8963 if (arg3
== NULL
) SWIG_fail
;
8966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8967 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8968 wxPyEndAllowThreads(__tstate
);
8969 if (PyErr_Occurred()) SWIG_fail
;
8971 resultobj
= SWIG_Py_Void();
8973 if (arg3
) delete [] arg3
;
8978 if (arg3
) delete [] arg3
;
8984 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
= 0;
8986 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8988 int *arg3
= (int *) 0 ;
8991 PyObject
* obj0
= 0 ;
8992 PyObject
* obj1
= 0 ;
8993 char * kwnames
[] = {
8994 (char *) "self",(char *) "styles", NULL
8997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8999 if (!SWIG_IsOK(res1
)) {
9000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9002 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9004 arg2
= PyList_Size(obj1
);
9005 arg3
= int_LIST_helper(obj1
);
9006 if (arg3
== NULL
) SWIG_fail
;
9009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9010 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9011 wxPyEndAllowThreads(__tstate
);
9012 if (PyErr_Occurred()) SWIG_fail
;
9014 resultobj
= SWIG_Py_Void();
9016 if (arg3
) delete [] arg3
;
9021 if (arg3
) delete [] arg3
;
9027 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9028 PyObject
*resultobj
= 0;
9029 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9036 PyObject
* obj0
= 0 ;
9037 PyObject
* obj1
= 0 ;
9038 char * kwnames
[] = {
9039 (char *) "self",(char *) "i", NULL
9042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9044 if (!SWIG_IsOK(res1
)) {
9045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9047 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9048 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9049 if (!SWIG_IsOK(ecode2
)) {
9050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9052 arg2
= static_cast< int >(val2
);
9054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9055 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9066 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
= 0;
9068 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9076 char * kwnames
[] = {
9077 (char *) "self",(char *) "height", NULL
9080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9082 if (!SWIG_IsOK(res1
)) {
9083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9085 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9086 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9087 if (!SWIG_IsOK(ecode2
)) {
9088 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9090 arg2
= static_cast< int >(val2
);
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 (arg1
)->SetMinHeight(arg2
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 resultobj
= SWIG_Py_Void();
9104 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9105 PyObject
*resultobj
= 0;
9106 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9110 PyObject
*swig_obj
[1] ;
9112 if (!args
) SWIG_fail
;
9114 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9115 if (!SWIG_IsOK(res1
)) {
9116 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9118 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9121 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9122 wxPyEndAllowThreads(__tstate
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9125 resultobj
= SWIG_From_int(static_cast< int >(result
));
9132 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9133 PyObject
*resultobj
= 0;
9134 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9138 PyObject
*swig_obj
[1] ;
9140 if (!args
) SWIG_fail
;
9142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9143 if (!SWIG_IsOK(res1
)) {
9144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9146 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9149 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9150 wxPyEndAllowThreads(__tstate
);
9151 if (PyErr_Occurred()) SWIG_fail
;
9153 resultobj
= SWIG_From_int(static_cast< int >(result
));
9160 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9161 PyObject
*resultobj
= 0;
9162 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9163 SwigValueWrapper
<wxVisualAttributes
> result
;
9166 PyObject
* obj0
= 0 ;
9167 char * kwnames
[] = {
9168 (char *) "variant", NULL
9171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9173 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9174 if (!SWIG_IsOK(ecode1
)) {
9175 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9177 arg1
= static_cast< wxWindowVariant
>(val1
);
9180 if (!wxPyCheckForApp()) SWIG_fail
;
9181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9182 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9183 wxPyEndAllowThreads(__tstate
);
9184 if (PyErr_Occurred()) SWIG_fail
;
9186 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9193 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9195 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9196 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9197 return SWIG_Py_Void();
9200 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9201 return SWIG_Python_InitShadowInstance(args
);
9204 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9205 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9210 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9211 PyObject
*pyobj
= 0;
9215 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9217 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9224 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9225 PyObject
*resultobj
= 0;
9226 wxWindow
*arg1
= (wxWindow
*) 0 ;
9227 int arg2
= (int) -1 ;
9228 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9229 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9230 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9231 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9232 long arg5
= (long) wxSP_3D
;
9233 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9234 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9235 wxSplitterWindow
*result
= 0 ;
9244 bool temp6
= false ;
9245 PyObject
* obj0
= 0 ;
9246 PyObject
* obj1
= 0 ;
9247 PyObject
* obj2
= 0 ;
9248 PyObject
* obj3
= 0 ;
9249 PyObject
* obj4
= 0 ;
9250 PyObject
* obj5
= 0 ;
9251 char * kwnames
[] = {
9252 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9257 if (!SWIG_IsOK(res1
)) {
9258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9260 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9263 if (!SWIG_IsOK(ecode2
)) {
9264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9266 arg2
= static_cast< int >(val2
);
9271 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9277 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9281 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9282 if (!SWIG_IsOK(ecode5
)) {
9283 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9285 arg5
= static_cast< long >(val5
);
9289 arg6
= wxString_in_helper(obj5
);
9290 if (arg6
== NULL
) SWIG_fail
;
9295 if (!wxPyCheckForApp()) SWIG_fail
;
9296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9297 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9298 wxPyEndAllowThreads(__tstate
);
9299 if (PyErr_Occurred()) SWIG_fail
;
9301 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9316 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9317 PyObject
*resultobj
= 0;
9318 wxSplitterWindow
*result
= 0 ;
9320 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9322 if (!wxPyCheckForApp()) SWIG_fail
;
9323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9324 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9325 wxPyEndAllowThreads(__tstate
);
9326 if (PyErr_Occurred()) SWIG_fail
;
9328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9335 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9336 PyObject
*resultobj
= 0;
9337 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9338 wxWindow
*arg2
= (wxWindow
*) 0 ;
9339 int arg3
= (int) -1 ;
9340 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9341 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9342 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9343 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9344 long arg6
= (long) wxSP_3D
;
9345 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9346 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9358 bool temp7
= false ;
9359 PyObject
* obj0
= 0 ;
9360 PyObject
* obj1
= 0 ;
9361 PyObject
* obj2
= 0 ;
9362 PyObject
* obj3
= 0 ;
9363 PyObject
* obj4
= 0 ;
9364 PyObject
* obj5
= 0 ;
9365 PyObject
* obj6
= 0 ;
9366 char * kwnames
[] = {
9367 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9372 if (!SWIG_IsOK(res1
)) {
9373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9375 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9376 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9377 if (!SWIG_IsOK(res2
)) {
9378 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9380 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9382 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9383 if (!SWIG_IsOK(ecode3
)) {
9384 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9386 arg3
= static_cast< int >(val3
);
9391 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9397 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9401 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9402 if (!SWIG_IsOK(ecode6
)) {
9403 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9405 arg6
= static_cast< long >(val6
);
9409 arg7
= wxString_in_helper(obj6
);
9410 if (arg7
== NULL
) SWIG_fail
;
9415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9416 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9417 wxPyEndAllowThreads(__tstate
);
9418 if (PyErr_Occurred()) SWIG_fail
;
9421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9437 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9438 PyObject
*resultobj
= 0;
9439 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9440 wxWindow
*result
= 0 ;
9443 PyObject
*swig_obj
[1] ;
9445 if (!args
) SWIG_fail
;
9447 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9448 if (!SWIG_IsOK(res1
)) {
9449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9451 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9454 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9455 wxPyEndAllowThreads(__tstate
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9459 resultobj
= wxPyMake_wxObject(result
, 0);
9467 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9468 PyObject
*resultobj
= 0;
9469 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9470 wxWindow
*result
= 0 ;
9473 PyObject
*swig_obj
[1] ;
9475 if (!args
) SWIG_fail
;
9477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9478 if (!SWIG_IsOK(res1
)) {
9479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9481 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9484 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9485 wxPyEndAllowThreads(__tstate
);
9486 if (PyErr_Occurred()) SWIG_fail
;
9489 resultobj
= wxPyMake_wxObject(result
, 0);
9497 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9498 PyObject
*resultobj
= 0;
9499 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9505 PyObject
* obj0
= 0 ;
9506 PyObject
* obj1
= 0 ;
9507 char * kwnames
[] = {
9508 (char *) "self",(char *) "mode", NULL
9511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9513 if (!SWIG_IsOK(res1
)) {
9514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9516 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9518 if (!SWIG_IsOK(ecode2
)) {
9519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9521 arg2
= static_cast< int >(val2
);
9523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9524 (arg1
)->SetSplitMode(arg2
);
9525 wxPyEndAllowThreads(__tstate
);
9526 if (PyErr_Occurred()) SWIG_fail
;
9528 resultobj
= SWIG_Py_Void();
9535 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9536 PyObject
*resultobj
= 0;
9537 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9541 PyObject
*swig_obj
[1] ;
9543 if (!args
) SWIG_fail
;
9545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9546 if (!SWIG_IsOK(res1
)) {
9547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9549 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9552 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9553 wxPyEndAllowThreads(__tstate
);
9554 if (PyErr_Occurred()) SWIG_fail
;
9556 resultobj
= SWIG_From_int(static_cast< int >(result
));
9563 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
= 0;
9565 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9566 wxWindow
*arg2
= (wxWindow
*) 0 ;
9571 PyObject
* obj0
= 0 ;
9572 PyObject
* obj1
= 0 ;
9573 char * kwnames
[] = {
9574 (char *) "self",(char *) "window", NULL
9577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9579 if (!SWIG_IsOK(res1
)) {
9580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9582 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9583 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9584 if (!SWIG_IsOK(res2
)) {
9585 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9587 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9590 (arg1
)->Initialize(arg2
);
9591 wxPyEndAllowThreads(__tstate
);
9592 if (PyErr_Occurred()) SWIG_fail
;
9594 resultobj
= SWIG_Py_Void();
9601 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
= 0;
9603 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9604 wxWindow
*arg2
= (wxWindow
*) 0 ;
9605 wxWindow
*arg3
= (wxWindow
*) 0 ;
9606 int arg4
= (int) 0 ;
9616 PyObject
* obj0
= 0 ;
9617 PyObject
* obj1
= 0 ;
9618 PyObject
* obj2
= 0 ;
9619 PyObject
* obj3
= 0 ;
9620 char * kwnames
[] = {
9621 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9626 if (!SWIG_IsOK(res1
)) {
9627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9629 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9630 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9631 if (!SWIG_IsOK(res2
)) {
9632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9634 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9635 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9636 if (!SWIG_IsOK(res3
)) {
9637 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9639 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9641 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9642 if (!SWIG_IsOK(ecode4
)) {
9643 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9645 arg4
= static_cast< int >(val4
);
9648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9649 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9650 wxPyEndAllowThreads(__tstate
);
9651 if (PyErr_Occurred()) SWIG_fail
;
9654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9662 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9663 PyObject
*resultobj
= 0;
9664 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9665 wxWindow
*arg2
= (wxWindow
*) 0 ;
9666 wxWindow
*arg3
= (wxWindow
*) 0 ;
9667 int arg4
= (int) 0 ;
9677 PyObject
* obj0
= 0 ;
9678 PyObject
* obj1
= 0 ;
9679 PyObject
* obj2
= 0 ;
9680 PyObject
* obj3
= 0 ;
9681 char * kwnames
[] = {
9682 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9685 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9686 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9687 if (!SWIG_IsOK(res1
)) {
9688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9690 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9691 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9692 if (!SWIG_IsOK(res2
)) {
9693 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9695 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9696 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9697 if (!SWIG_IsOK(res3
)) {
9698 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9700 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9702 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9703 if (!SWIG_IsOK(ecode4
)) {
9704 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9706 arg4
= static_cast< int >(val4
);
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9723 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
= 0;
9725 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9726 wxWindow
*arg2
= (wxWindow
*) NULL
;
9732 PyObject
* obj0
= 0 ;
9733 PyObject
* obj1
= 0 ;
9734 char * kwnames
[] = {
9735 (char *) "self",(char *) "toRemove", NULL
9738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9740 if (!SWIG_IsOK(res1
)) {
9741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9743 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9745 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9746 if (!SWIG_IsOK(res2
)) {
9747 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9749 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 result
= (bool)(arg1
)->Unsplit(arg2
);
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9766 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9767 PyObject
*resultobj
= 0;
9768 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9769 wxWindow
*arg2
= (wxWindow
*) 0 ;
9770 wxWindow
*arg3
= (wxWindow
*) 0 ;
9778 PyObject
* obj0
= 0 ;
9779 PyObject
* obj1
= 0 ;
9780 PyObject
* obj2
= 0 ;
9781 char * kwnames
[] = {
9782 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9787 if (!SWIG_IsOK(res1
)) {
9788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9790 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9791 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9792 if (!SWIG_IsOK(res2
)) {
9793 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9795 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9796 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9797 if (!SWIG_IsOK(res3
)) {
9798 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9800 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9803 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9804 wxPyEndAllowThreads(__tstate
);
9805 if (PyErr_Occurred()) SWIG_fail
;
9808 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9816 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9817 PyObject
*resultobj
= 0;
9818 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9821 PyObject
*swig_obj
[1] ;
9823 if (!args
) SWIG_fail
;
9825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9826 if (!SWIG_IsOK(res1
)) {
9827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9829 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9832 (arg1
)->UpdateSize();
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9836 resultobj
= SWIG_Py_Void();
9843 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9844 PyObject
*resultobj
= 0;
9845 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9849 PyObject
*swig_obj
[1] ;
9851 if (!args
) SWIG_fail
;
9853 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9854 if (!SWIG_IsOK(res1
)) {
9855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9857 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9873 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
= 0;
9875 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9881 PyObject
* obj0
= 0 ;
9882 PyObject
* obj1
= 0 ;
9883 char * kwnames
[] = {
9884 (char *) "self",(char *) "width", NULL
9887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9889 if (!SWIG_IsOK(res1
)) {
9890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9892 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9893 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9894 if (!SWIG_IsOK(ecode2
)) {
9895 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9897 arg2
= static_cast< int >(val2
);
9899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9900 (arg1
)->SetSashSize(arg2
);
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9904 resultobj
= SWIG_Py_Void();
9911 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9912 PyObject
*resultobj
= 0;
9913 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9919 PyObject
* obj0
= 0 ;
9920 PyObject
* obj1
= 0 ;
9921 char * kwnames
[] = {
9922 (char *) "self",(char *) "width", NULL
9925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9927 if (!SWIG_IsOK(res1
)) {
9928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9930 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9931 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9932 if (!SWIG_IsOK(ecode2
)) {
9933 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9935 arg2
= static_cast< int >(val2
);
9937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9938 (arg1
)->SetBorderSize(arg2
);
9939 wxPyEndAllowThreads(__tstate
);
9940 if (PyErr_Occurred()) SWIG_fail
;
9942 resultobj
= SWIG_Py_Void();
9949 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9950 PyObject
*resultobj
= 0;
9951 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9955 PyObject
*swig_obj
[1] ;
9957 if (!args
) SWIG_fail
;
9959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9960 if (!SWIG_IsOK(res1
)) {
9961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9963 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9966 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= SWIG_From_int(static_cast< int >(result
));
9977 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9978 PyObject
*resultobj
= 0;
9979 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9983 PyObject
*swig_obj
[1] ;
9985 if (!args
) SWIG_fail
;
9987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9988 if (!SWIG_IsOK(res1
)) {
9989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9991 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9998 resultobj
= SWIG_From_int(static_cast< int >(result
));
10005 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10006 PyObject
*resultobj
= 0;
10007 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10009 bool arg3
= (bool) true ;
10016 PyObject
* obj0
= 0 ;
10017 PyObject
* obj1
= 0 ;
10018 PyObject
* obj2
= 0 ;
10019 char * kwnames
[] = {
10020 (char *) "self",(char *) "position",(char *) "redraw", NULL
10023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10025 if (!SWIG_IsOK(res1
)) {
10026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10028 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10030 if (!SWIG_IsOK(ecode2
)) {
10031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10033 arg2
= static_cast< int >(val2
);
10035 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10036 if (!SWIG_IsOK(ecode3
)) {
10037 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10039 arg3
= static_cast< bool >(val3
);
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 (arg1
)->SetSashPosition(arg2
,arg3
);
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= SWIG_Py_Void();
10054 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10055 PyObject
*resultobj
= 0;
10056 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10060 PyObject
*swig_obj
[1] ;
10062 if (!args
) SWIG_fail
;
10063 swig_obj
[0] = args
;
10064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10065 if (!SWIG_IsOK(res1
)) {
10066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10068 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= SWIG_From_int(static_cast< int >(result
));
10082 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10083 PyObject
*resultobj
= 0;
10084 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10090 PyObject
* obj0
= 0 ;
10091 PyObject
* obj1
= 0 ;
10092 char * kwnames
[] = {
10093 (char *) "self",(char *) "gravity", NULL
10096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10098 if (!SWIG_IsOK(res1
)) {
10099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10101 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10102 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10103 if (!SWIG_IsOK(ecode2
)) {
10104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10106 arg2
= static_cast< double >(val2
);
10108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10109 (arg1
)->SetSashGravity(arg2
);
10110 wxPyEndAllowThreads(__tstate
);
10111 if (PyErr_Occurred()) SWIG_fail
;
10113 resultobj
= SWIG_Py_Void();
10120 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10121 PyObject
*resultobj
= 0;
10122 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10126 PyObject
*swig_obj
[1] ;
10128 if (!args
) SWIG_fail
;
10129 swig_obj
[0] = args
;
10130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10131 if (!SWIG_IsOK(res1
)) {
10132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10134 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10137 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10138 wxPyEndAllowThreads(__tstate
);
10139 if (PyErr_Occurred()) SWIG_fail
;
10141 resultobj
= SWIG_From_double(static_cast< double >(result
));
10148 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10149 PyObject
*resultobj
= 0;
10150 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10156 PyObject
* obj0
= 0 ;
10157 PyObject
* obj1
= 0 ;
10158 char * kwnames
[] = {
10159 (char *) "self",(char *) "min", NULL
10162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10164 if (!SWIG_IsOK(res1
)) {
10165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10167 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10169 if (!SWIG_IsOK(ecode2
)) {
10170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10172 arg2
= static_cast< int >(val2
);
10174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10175 (arg1
)->SetMinimumPaneSize(arg2
);
10176 wxPyEndAllowThreads(__tstate
);
10177 if (PyErr_Occurred()) SWIG_fail
;
10179 resultobj
= SWIG_Py_Void();
10186 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10187 PyObject
*resultobj
= 0;
10188 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10192 PyObject
*swig_obj
[1] ;
10194 if (!args
) SWIG_fail
;
10195 swig_obj
[0] = args
;
10196 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10197 if (!SWIG_IsOK(res1
)) {
10198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10200 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10203 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10204 wxPyEndAllowThreads(__tstate
);
10205 if (PyErr_Occurred()) SWIG_fail
;
10207 resultobj
= SWIG_From_int(static_cast< int >(result
));
10214 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10215 PyObject
*resultobj
= 0;
10216 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10219 int arg4
= (int) 5 ;
10229 PyObject
* obj0
= 0 ;
10230 PyObject
* obj1
= 0 ;
10231 PyObject
* obj2
= 0 ;
10232 PyObject
* obj3
= 0 ;
10233 char * kwnames
[] = {
10234 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10239 if (!SWIG_IsOK(res1
)) {
10240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10242 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10243 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10244 if (!SWIG_IsOK(ecode2
)) {
10245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10247 arg2
= static_cast< int >(val2
);
10248 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10249 if (!SWIG_IsOK(ecode3
)) {
10250 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10252 arg3
= static_cast< int >(val3
);
10254 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10255 if (!SWIG_IsOK(ecode4
)) {
10256 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10258 arg4
= static_cast< int >(val4
);
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10263 wxPyEndAllowThreads(__tstate
);
10264 if (PyErr_Occurred()) SWIG_fail
;
10267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10275 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10276 PyObject
*resultobj
= 0;
10277 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10280 PyObject
*swig_obj
[1] ;
10282 if (!args
) SWIG_fail
;
10283 swig_obj
[0] = args
;
10284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10285 if (!SWIG_IsOK(res1
)) {
10286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10288 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10291 (arg1
)->SizeWindows();
10292 wxPyEndAllowThreads(__tstate
);
10293 if (PyErr_Occurred()) SWIG_fail
;
10295 resultobj
= SWIG_Py_Void();
10302 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10303 PyObject
*resultobj
= 0;
10304 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 char * kwnames
[] = {
10313 (char *) "self",(char *) "needUpdating", NULL
10316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10318 if (!SWIG_IsOK(res1
)) {
10319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10321 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10322 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10323 if (!SWIG_IsOK(ecode2
)) {
10324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10326 arg2
= static_cast< bool >(val2
);
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 (arg1
)->SetNeedUpdating(arg2
);
10330 wxPyEndAllowThreads(__tstate
);
10331 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= SWIG_Py_Void();
10340 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10341 PyObject
*resultobj
= 0;
10342 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10346 PyObject
*swig_obj
[1] ;
10348 if (!args
) SWIG_fail
;
10349 swig_obj
[0] = args
;
10350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10351 if (!SWIG_IsOK(res1
)) {
10352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10354 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10357 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10370 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
= 0;
10372 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10373 SwigValueWrapper
<wxVisualAttributes
> result
;
10376 PyObject
* obj0
= 0 ;
10377 char * kwnames
[] = {
10378 (char *) "variant", NULL
10381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10383 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10384 if (!SWIG_IsOK(ecode1
)) {
10385 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10387 arg1
= static_cast< wxWindowVariant
>(val1
);
10390 if (!wxPyCheckForApp()) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10393 wxPyEndAllowThreads(__tstate
);
10394 if (PyErr_Occurred()) SWIG_fail
;
10396 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10403 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10406 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10407 return SWIG_Py_Void();
10410 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10411 return SWIG_Python_InitShadowInstance(args
);
10414 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10415 PyObject
*resultobj
= 0;
10416 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10417 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10418 wxSplitterEvent
*result
= 0 ;
10423 PyObject
* obj0
= 0 ;
10424 PyObject
* obj1
= 0 ;
10425 char * kwnames
[] = {
10426 (char *) "type",(char *) "splitter", NULL
10429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10431 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10432 if (!SWIG_IsOK(ecode1
)) {
10433 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10435 arg1
= static_cast< wxEventType
>(val1
);
10438 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10439 if (!SWIG_IsOK(res2
)) {
10440 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10442 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10447 wxPyEndAllowThreads(__tstate
);
10448 if (PyErr_Occurred()) SWIG_fail
;
10450 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10457 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10458 PyObject
*resultobj
= 0;
10459 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10465 PyObject
* obj0
= 0 ;
10466 PyObject
* obj1
= 0 ;
10467 char * kwnames
[] = {
10468 (char *) "self",(char *) "pos", NULL
10471 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10472 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10473 if (!SWIG_IsOK(res1
)) {
10474 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10476 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10477 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10478 if (!SWIG_IsOK(ecode2
)) {
10479 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10481 arg2
= static_cast< int >(val2
);
10483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10484 (arg1
)->SetSashPosition(arg2
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 resultobj
= SWIG_Py_Void();
10495 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10496 PyObject
*resultobj
= 0;
10497 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10501 PyObject
*swig_obj
[1] ;
10503 if (!args
) SWIG_fail
;
10504 swig_obj
[0] = args
;
10505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10506 if (!SWIG_IsOK(res1
)) {
10507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10509 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10512 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10513 wxPyEndAllowThreads(__tstate
);
10514 if (PyErr_Occurred()) SWIG_fail
;
10516 resultobj
= SWIG_From_int(static_cast< int >(result
));
10523 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10524 PyObject
*resultobj
= 0;
10525 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10526 wxWindow
*result
= 0 ;
10529 PyObject
*swig_obj
[1] ;
10531 if (!args
) SWIG_fail
;
10532 swig_obj
[0] = args
;
10533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10534 if (!SWIG_IsOK(res1
)) {
10535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10537 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10545 resultobj
= wxPyMake_wxObject(result
, 0);
10553 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10554 PyObject
*resultobj
= 0;
10555 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10559 PyObject
*swig_obj
[1] ;
10561 if (!args
) SWIG_fail
;
10562 swig_obj
[0] = args
;
10563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10564 if (!SWIG_IsOK(res1
)) {
10565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10567 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10570 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10571 wxPyEndAllowThreads(__tstate
);
10572 if (PyErr_Occurred()) SWIG_fail
;
10574 resultobj
= SWIG_From_int(static_cast< int >(result
));
10581 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10582 PyObject
*resultobj
= 0;
10583 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10587 PyObject
*swig_obj
[1] ;
10589 if (!args
) SWIG_fail
;
10590 swig_obj
[0] = args
;
10591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10592 if (!SWIG_IsOK(res1
)) {
10593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10595 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 resultobj
= SWIG_From_int(static_cast< int >(result
));
10609 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10611 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10612 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10613 return SWIG_Py_Void();
10616 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10617 return SWIG_Python_InitShadowInstance(args
);
10620 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10621 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10626 SWIGINTERN PyObject
*SashNameStr_get(void) {
10627 PyObject
*pyobj
= 0;
10631 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10633 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10640 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10641 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10646 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10647 PyObject
*pyobj
= 0;
10651 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10653 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10660 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10661 PyObject
*resultobj
= 0;
10662 wxWindow
*arg1
= (wxWindow
*) 0 ;
10663 int arg2
= (int) -1 ;
10664 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10665 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10666 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10667 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10668 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10669 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10670 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10671 wxSashWindow
*result
= 0 ;
10680 bool temp6
= false ;
10681 PyObject
* obj0
= 0 ;
10682 PyObject
* obj1
= 0 ;
10683 PyObject
* obj2
= 0 ;
10684 PyObject
* obj3
= 0 ;
10685 PyObject
* obj4
= 0 ;
10686 PyObject
* obj5
= 0 ;
10687 char * kwnames
[] = {
10688 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10693 if (!SWIG_IsOK(res1
)) {
10694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10696 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10698 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10699 if (!SWIG_IsOK(ecode2
)) {
10700 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10702 arg2
= static_cast< int >(val2
);
10707 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10713 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10717 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10718 if (!SWIG_IsOK(ecode5
)) {
10719 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10721 arg5
= static_cast< long >(val5
);
10725 arg6
= wxString_in_helper(obj5
);
10726 if (arg6
== NULL
) SWIG_fail
;
10731 if (!wxPyCheckForApp()) SWIG_fail
;
10732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10733 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10737 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10752 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10753 PyObject
*resultobj
= 0;
10754 wxSashWindow
*result
= 0 ;
10756 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10758 if (!wxPyCheckForApp()) SWIG_fail
;
10759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10760 result
= (wxSashWindow
*)new wxSashWindow();
10761 wxPyEndAllowThreads(__tstate
);
10762 if (PyErr_Occurred()) SWIG_fail
;
10764 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10771 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10772 PyObject
*resultobj
= 0;
10773 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10774 wxWindow
*arg2
= (wxWindow
*) 0 ;
10775 int arg3
= (int) -1 ;
10776 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10777 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10778 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10779 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10780 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10781 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10782 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10794 bool temp7
= false ;
10795 PyObject
* obj0
= 0 ;
10796 PyObject
* obj1
= 0 ;
10797 PyObject
* obj2
= 0 ;
10798 PyObject
* obj3
= 0 ;
10799 PyObject
* obj4
= 0 ;
10800 PyObject
* obj5
= 0 ;
10801 PyObject
* obj6
= 0 ;
10802 char * kwnames
[] = {
10803 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10808 if (!SWIG_IsOK(res1
)) {
10809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10811 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10812 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10813 if (!SWIG_IsOK(res2
)) {
10814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10816 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10818 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10819 if (!SWIG_IsOK(ecode3
)) {
10820 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10822 arg3
= static_cast< int >(val3
);
10827 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10833 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10837 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10838 if (!SWIG_IsOK(ecode6
)) {
10839 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10841 arg6
= static_cast< long >(val6
);
10845 arg7
= wxString_in_helper(obj6
);
10846 if (arg7
== NULL
) SWIG_fail
;
10851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10852 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10853 wxPyEndAllowThreads(__tstate
);
10854 if (PyErr_Occurred()) SWIG_fail
;
10857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10873 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
= 0;
10875 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10876 wxSashEdgePosition arg2
;
10884 PyObject
* obj0
= 0 ;
10885 PyObject
* obj1
= 0 ;
10886 PyObject
* obj2
= 0 ;
10887 char * kwnames
[] = {
10888 (char *) "self",(char *) "edge",(char *) "sash", NULL
10891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10893 if (!SWIG_IsOK(res1
)) {
10894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10896 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10898 if (!SWIG_IsOK(ecode2
)) {
10899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10901 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10902 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10903 if (!SWIG_IsOK(ecode3
)) {
10904 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10906 arg3
= static_cast< bool >(val3
);
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 (arg1
)->SetSashVisible(arg2
,arg3
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 resultobj
= SWIG_Py_Void();
10920 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
= 0;
10922 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10923 wxSashEdgePosition arg2
;
10929 PyObject
* obj0
= 0 ;
10930 PyObject
* obj1
= 0 ;
10931 char * kwnames
[] = {
10932 (char *) "self",(char *) "edge", NULL
10935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10937 if (!SWIG_IsOK(res1
)) {
10938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10940 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10942 if (!SWIG_IsOK(ecode2
)) {
10943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10945 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10948 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10949 wxPyEndAllowThreads(__tstate
);
10950 if (PyErr_Occurred()) SWIG_fail
;
10953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10961 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10962 PyObject
*resultobj
= 0;
10963 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10964 wxSashEdgePosition arg2
;
10972 PyObject
* obj0
= 0 ;
10973 PyObject
* obj1
= 0 ;
10974 PyObject
* obj2
= 0 ;
10975 char * kwnames
[] = {
10976 (char *) "self",(char *) "edge",(char *) "border", NULL
10979 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10980 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10981 if (!SWIG_IsOK(res1
)) {
10982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10984 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10985 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10986 if (!SWIG_IsOK(ecode2
)) {
10987 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10989 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10990 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10991 if (!SWIG_IsOK(ecode3
)) {
10992 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10994 arg3
= static_cast< bool >(val3
);
10996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10997 (arg1
)->SetSashBorder(arg2
,arg3
);
10998 wxPyEndAllowThreads(__tstate
);
10999 if (PyErr_Occurred()) SWIG_fail
;
11001 resultobj
= SWIG_Py_Void();
11008 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11009 PyObject
*resultobj
= 0;
11010 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11011 wxSashEdgePosition arg2
;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 char * kwnames
[] = {
11020 (char *) "self",(char *) "edge", NULL
11023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11025 if (!SWIG_IsOK(res1
)) {
11026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11028 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11030 if (!SWIG_IsOK(ecode2
)) {
11031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11033 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11049 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11050 PyObject
*resultobj
= 0;
11051 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11052 wxSashEdgePosition arg2
;
11058 PyObject
* obj0
= 0 ;
11059 PyObject
* obj1
= 0 ;
11060 char * kwnames
[] = {
11061 (char *) "self",(char *) "edge", NULL
11064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11066 if (!SWIG_IsOK(res1
)) {
11067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11069 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11070 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11071 if (!SWIG_IsOK(ecode2
)) {
11072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11074 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11077 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 resultobj
= SWIG_From_int(static_cast< int >(result
));
11088 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
= 0;
11090 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11096 PyObject
* obj0
= 0 ;
11097 PyObject
* obj1
= 0 ;
11098 char * kwnames
[] = {
11099 (char *) "self",(char *) "width", NULL
11102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11104 if (!SWIG_IsOK(res1
)) {
11105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11107 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11109 if (!SWIG_IsOK(ecode2
)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11112 arg2
= static_cast< int >(val2
);
11114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 (arg1
)->SetDefaultBorderSize(arg2
);
11116 wxPyEndAllowThreads(__tstate
);
11117 if (PyErr_Occurred()) SWIG_fail
;
11119 resultobj
= SWIG_Py_Void();
11126 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11127 PyObject
*resultobj
= 0;
11128 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11132 PyObject
*swig_obj
[1] ;
11134 if (!args
) SWIG_fail
;
11135 swig_obj
[0] = args
;
11136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11137 if (!SWIG_IsOK(res1
)) {
11138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11140 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11143 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11144 wxPyEndAllowThreads(__tstate
);
11145 if (PyErr_Occurred()) SWIG_fail
;
11147 resultobj
= SWIG_From_int(static_cast< int >(result
));
11154 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11155 PyObject
*resultobj
= 0;
11156 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11162 PyObject
* obj0
= 0 ;
11163 PyObject
* obj1
= 0 ;
11164 char * kwnames
[] = {
11165 (char *) "self",(char *) "width", NULL
11168 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11169 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11170 if (!SWIG_IsOK(res1
)) {
11171 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11173 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11174 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11175 if (!SWIG_IsOK(ecode2
)) {
11176 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11178 arg2
= static_cast< int >(val2
);
11180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11181 (arg1
)->SetExtraBorderSize(arg2
);
11182 wxPyEndAllowThreads(__tstate
);
11183 if (PyErr_Occurred()) SWIG_fail
;
11185 resultobj
= SWIG_Py_Void();
11192 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11193 PyObject
*resultobj
= 0;
11194 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11198 PyObject
*swig_obj
[1] ;
11200 if (!args
) SWIG_fail
;
11201 swig_obj
[0] = args
;
11202 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11203 if (!SWIG_IsOK(res1
)) {
11204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11206 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 resultobj
= SWIG_From_int(static_cast< int >(result
));
11220 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
= 0;
11222 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11228 PyObject
* obj0
= 0 ;
11229 PyObject
* obj1
= 0 ;
11230 char * kwnames
[] = {
11231 (char *) "self",(char *) "min", NULL
11234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11236 if (!SWIG_IsOK(res1
)) {
11237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11239 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11241 if (!SWIG_IsOK(ecode2
)) {
11242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11244 arg2
= static_cast< int >(val2
);
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 (arg1
)->SetMinimumSizeX(arg2
);
11248 wxPyEndAllowThreads(__tstate
);
11249 if (PyErr_Occurred()) SWIG_fail
;
11251 resultobj
= SWIG_Py_Void();
11258 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
= 0;
11260 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11266 PyObject
* obj0
= 0 ;
11267 PyObject
* obj1
= 0 ;
11268 char * kwnames
[] = {
11269 (char *) "self",(char *) "min", NULL
11272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11274 if (!SWIG_IsOK(res1
)) {
11275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11277 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11278 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11279 if (!SWIG_IsOK(ecode2
)) {
11280 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11282 arg2
= static_cast< int >(val2
);
11284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11285 (arg1
)->SetMinimumSizeY(arg2
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= SWIG_Py_Void();
11296 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11297 PyObject
*resultobj
= 0;
11298 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11302 PyObject
*swig_obj
[1] ;
11304 if (!args
) SWIG_fail
;
11305 swig_obj
[0] = args
;
11306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11307 if (!SWIG_IsOK(res1
)) {
11308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11310 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11314 wxPyEndAllowThreads(__tstate
);
11315 if (PyErr_Occurred()) SWIG_fail
;
11317 resultobj
= SWIG_From_int(static_cast< int >(result
));
11324 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11325 PyObject
*resultobj
= 0;
11326 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11330 PyObject
*swig_obj
[1] ;
11332 if (!args
) SWIG_fail
;
11333 swig_obj
[0] = args
;
11334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11335 if (!SWIG_IsOK(res1
)) {
11336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11338 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11341 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= SWIG_From_int(static_cast< int >(result
));
11352 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
= 0;
11354 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11360 PyObject
* obj0
= 0 ;
11361 PyObject
* obj1
= 0 ;
11362 char * kwnames
[] = {
11363 (char *) "self",(char *) "max", NULL
11366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11368 if (!SWIG_IsOK(res1
)) {
11369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11371 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11372 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11373 if (!SWIG_IsOK(ecode2
)) {
11374 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11376 arg2
= static_cast< int >(val2
);
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 (arg1
)->SetMaximumSizeX(arg2
);
11380 wxPyEndAllowThreads(__tstate
);
11381 if (PyErr_Occurred()) SWIG_fail
;
11383 resultobj
= SWIG_Py_Void();
11390 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11391 PyObject
*resultobj
= 0;
11392 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11398 PyObject
* obj0
= 0 ;
11399 PyObject
* obj1
= 0 ;
11400 char * kwnames
[] = {
11401 (char *) "self",(char *) "max", NULL
11404 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11405 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11406 if (!SWIG_IsOK(res1
)) {
11407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11409 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11410 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11411 if (!SWIG_IsOK(ecode2
)) {
11412 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11414 arg2
= static_cast< int >(val2
);
11416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11417 (arg1
)->SetMaximumSizeY(arg2
);
11418 wxPyEndAllowThreads(__tstate
);
11419 if (PyErr_Occurred()) SWIG_fail
;
11421 resultobj
= SWIG_Py_Void();
11428 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11429 PyObject
*resultobj
= 0;
11430 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11434 PyObject
*swig_obj
[1] ;
11436 if (!args
) SWIG_fail
;
11437 swig_obj
[0] = args
;
11438 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11439 if (!SWIG_IsOK(res1
)) {
11440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11442 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11445 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 resultobj
= SWIG_From_int(static_cast< int >(result
));
11456 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11457 PyObject
*resultobj
= 0;
11458 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11462 PyObject
*swig_obj
[1] ;
11464 if (!args
) SWIG_fail
;
11465 swig_obj
[0] = args
;
11466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11467 if (!SWIG_IsOK(res1
)) {
11468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11470 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11473 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= SWIG_From_int(static_cast< int >(result
));
11484 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11485 PyObject
*resultobj
= 0;
11486 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11489 int arg4
= (int) 2 ;
11490 wxSashEdgePosition result
;
11499 PyObject
* obj0
= 0 ;
11500 PyObject
* obj1
= 0 ;
11501 PyObject
* obj2
= 0 ;
11502 PyObject
* obj3
= 0 ;
11503 char * kwnames
[] = {
11504 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11509 if (!SWIG_IsOK(res1
)) {
11510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11512 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11513 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11514 if (!SWIG_IsOK(ecode2
)) {
11515 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11517 arg2
= static_cast< int >(val2
);
11518 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11519 if (!SWIG_IsOK(ecode3
)) {
11520 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11522 arg3
= static_cast< int >(val3
);
11524 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11525 if (!SWIG_IsOK(ecode4
)) {
11526 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11528 arg4
= static_cast< int >(val4
);
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11533 wxPyEndAllowThreads(__tstate
);
11534 if (PyErr_Occurred()) SWIG_fail
;
11536 resultobj
= SWIG_From_int(static_cast< int >(result
));
11543 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11544 PyObject
*resultobj
= 0;
11545 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11548 PyObject
*swig_obj
[1] ;
11550 if (!args
) SWIG_fail
;
11551 swig_obj
[0] = args
;
11552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11553 if (!SWIG_IsOK(res1
)) {
11554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11556 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 (arg1
)->SizeWindows();
11560 wxPyEndAllowThreads(__tstate
);
11561 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= SWIG_Py_Void();
11570 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11572 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11573 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11574 return SWIG_Py_Void();
11577 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11578 return SWIG_Python_InitShadowInstance(args
);
11581 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11582 PyObject
*resultobj
= 0;
11583 int arg1
= (int) 0 ;
11584 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11585 wxSashEvent
*result
= 0 ;
11590 PyObject
* obj0
= 0 ;
11591 PyObject
* obj1
= 0 ;
11592 char * kwnames
[] = {
11593 (char *) "id",(char *) "edge", NULL
11596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11598 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11599 if (!SWIG_IsOK(ecode1
)) {
11600 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11602 arg1
= static_cast< int >(val1
);
11605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11606 if (!SWIG_IsOK(ecode2
)) {
11607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11609 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11613 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11614 wxPyEndAllowThreads(__tstate
);
11615 if (PyErr_Occurred()) SWIG_fail
;
11617 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11624 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11625 PyObject
*resultobj
= 0;
11626 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11627 wxSashEdgePosition arg2
;
11632 PyObject
* obj0
= 0 ;
11633 PyObject
* obj1
= 0 ;
11634 char * kwnames
[] = {
11635 (char *) "self",(char *) "edge", NULL
11638 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11639 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11640 if (!SWIG_IsOK(res1
)) {
11641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11643 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11644 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11645 if (!SWIG_IsOK(ecode2
)) {
11646 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11648 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 (arg1
)->SetEdge(arg2
);
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= SWIG_Py_Void();
11662 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11663 PyObject
*resultobj
= 0;
11664 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11665 wxSashEdgePosition result
;
11668 PyObject
*swig_obj
[1] ;
11670 if (!args
) SWIG_fail
;
11671 swig_obj
[0] = args
;
11672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11673 if (!SWIG_IsOK(res1
)) {
11674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11676 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11679 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11680 wxPyEndAllowThreads(__tstate
);
11681 if (PyErr_Occurred()) SWIG_fail
;
11683 resultobj
= SWIG_From_int(static_cast< int >(result
));
11690 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11691 PyObject
*resultobj
= 0;
11692 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11697 PyObject
* obj0
= 0 ;
11698 PyObject
* obj1
= 0 ;
11699 char * kwnames
[] = {
11700 (char *) "self",(char *) "rect", NULL
11703 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11704 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11705 if (!SWIG_IsOK(res1
)) {
11706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11708 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11711 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11715 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11716 wxPyEndAllowThreads(__tstate
);
11717 if (PyErr_Occurred()) SWIG_fail
;
11719 resultobj
= SWIG_Py_Void();
11726 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11727 PyObject
*resultobj
= 0;
11728 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11732 PyObject
*swig_obj
[1] ;
11734 if (!args
) SWIG_fail
;
11735 swig_obj
[0] = args
;
11736 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11737 if (!SWIG_IsOK(res1
)) {
11738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11740 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11744 wxPyEndAllowThreads(__tstate
);
11745 if (PyErr_Occurred()) SWIG_fail
;
11747 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11754 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
= 0;
11756 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11757 wxSashDragStatus arg2
;
11762 PyObject
* obj0
= 0 ;
11763 PyObject
* obj1
= 0 ;
11764 char * kwnames
[] = {
11765 (char *) "self",(char *) "status", NULL
11768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11770 if (!SWIG_IsOK(res1
)) {
11771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11773 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11774 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11775 if (!SWIG_IsOK(ecode2
)) {
11776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11778 arg2
= static_cast< wxSashDragStatus
>(val2
);
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 (arg1
)->SetDragStatus(arg2
);
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= SWIG_Py_Void();
11792 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11793 PyObject
*resultobj
= 0;
11794 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11795 wxSashDragStatus result
;
11798 PyObject
*swig_obj
[1] ;
11800 if (!args
) SWIG_fail
;
11801 swig_obj
[0] = args
;
11802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11803 if (!SWIG_IsOK(res1
)) {
11804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11806 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11810 wxPyEndAllowThreads(__tstate
);
11811 if (PyErr_Occurred()) SWIG_fail
;
11813 resultobj
= SWIG_From_int(static_cast< int >(result
));
11820 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11823 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11824 return SWIG_Py_Void();
11827 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11828 return SWIG_Python_InitShadowInstance(args
);
11831 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11832 PyObject
*resultobj
= 0;
11833 int arg1
= (int) 0 ;
11834 wxQueryLayoutInfoEvent
*result
= 0 ;
11837 PyObject
* obj0
= 0 ;
11838 char * kwnames
[] = {
11839 (char *) "id", NULL
11842 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11844 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11845 if (!SWIG_IsOK(ecode1
)) {
11846 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11848 arg1
= static_cast< int >(val1
);
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11853 wxPyEndAllowThreads(__tstate
);
11854 if (PyErr_Occurred()) SWIG_fail
;
11856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11863 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11864 PyObject
*resultobj
= 0;
11865 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11871 PyObject
* obj0
= 0 ;
11872 PyObject
* obj1
= 0 ;
11873 char * kwnames
[] = {
11874 (char *) "self",(char *) "length", NULL
11877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11879 if (!SWIG_IsOK(res1
)) {
11880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11882 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11884 if (!SWIG_IsOK(ecode2
)) {
11885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11887 arg2
= static_cast< int >(val2
);
11889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11890 (arg1
)->SetRequestedLength(arg2
);
11891 wxPyEndAllowThreads(__tstate
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11894 resultobj
= SWIG_Py_Void();
11901 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11902 PyObject
*resultobj
= 0;
11903 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11907 PyObject
*swig_obj
[1] ;
11909 if (!args
) SWIG_fail
;
11910 swig_obj
[0] = args
;
11911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11912 if (!SWIG_IsOK(res1
)) {
11913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11915 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11918 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 resultobj
= SWIG_From_int(static_cast< int >(result
));
11929 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
= 0;
11931 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11937 PyObject
* obj0
= 0 ;
11938 PyObject
* obj1
= 0 ;
11939 char * kwnames
[] = {
11940 (char *) "self",(char *) "flags", NULL
11943 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11944 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11945 if (!SWIG_IsOK(res1
)) {
11946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11948 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11950 if (!SWIG_IsOK(ecode2
)) {
11951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11953 arg2
= static_cast< int >(val2
);
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11956 (arg1
)->SetFlags(arg2
);
11957 wxPyEndAllowThreads(__tstate
);
11958 if (PyErr_Occurred()) SWIG_fail
;
11960 resultobj
= SWIG_Py_Void();
11967 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11968 PyObject
*resultobj
= 0;
11969 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11973 PyObject
*swig_obj
[1] ;
11975 if (!args
) SWIG_fail
;
11976 swig_obj
[0] = args
;
11977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11978 if (!SWIG_IsOK(res1
)) {
11979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11981 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11984 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11985 wxPyEndAllowThreads(__tstate
);
11986 if (PyErr_Occurred()) SWIG_fail
;
11988 resultobj
= SWIG_From_int(static_cast< int >(result
));
11995 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11996 PyObject
*resultobj
= 0;
11997 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12002 PyObject
* obj0
= 0 ;
12003 PyObject
* obj1
= 0 ;
12004 char * kwnames
[] = {
12005 (char *) "self",(char *) "size", NULL
12008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12010 if (!SWIG_IsOK(res1
)) {
12011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12013 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12016 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 (arg1
)->SetSize((wxSize
const &)*arg2
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= SWIG_Py_Void();
12031 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12032 PyObject
*resultobj
= 0;
12033 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12037 PyObject
*swig_obj
[1] ;
12039 if (!args
) SWIG_fail
;
12040 swig_obj
[0] = args
;
12041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12042 if (!SWIG_IsOK(res1
)) {
12043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12045 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12048 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12049 wxPyEndAllowThreads(__tstate
);
12050 if (PyErr_Occurred()) SWIG_fail
;
12052 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12059 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12060 PyObject
*resultobj
= 0;
12061 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12062 wxLayoutOrientation arg2
;
12067 PyObject
* obj0
= 0 ;
12068 PyObject
* obj1
= 0 ;
12069 char * kwnames
[] = {
12070 (char *) "self",(char *) "orient", NULL
12073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12075 if (!SWIG_IsOK(res1
)) {
12076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12078 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12080 if (!SWIG_IsOK(ecode2
)) {
12081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12083 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12086 (arg1
)->SetOrientation(arg2
);
12087 wxPyEndAllowThreads(__tstate
);
12088 if (PyErr_Occurred()) SWIG_fail
;
12090 resultobj
= SWIG_Py_Void();
12097 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12098 PyObject
*resultobj
= 0;
12099 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12100 wxLayoutOrientation result
;
12103 PyObject
*swig_obj
[1] ;
12105 if (!args
) SWIG_fail
;
12106 swig_obj
[0] = args
;
12107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12108 if (!SWIG_IsOK(res1
)) {
12109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12111 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12114 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12115 wxPyEndAllowThreads(__tstate
);
12116 if (PyErr_Occurred()) SWIG_fail
;
12118 resultobj
= SWIG_From_int(static_cast< int >(result
));
12125 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12126 PyObject
*resultobj
= 0;
12127 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12128 wxLayoutAlignment arg2
;
12133 PyObject
* obj0
= 0 ;
12134 PyObject
* obj1
= 0 ;
12135 char * kwnames
[] = {
12136 (char *) "self",(char *) "align", NULL
12139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12141 if (!SWIG_IsOK(res1
)) {
12142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12144 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12145 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12146 if (!SWIG_IsOK(ecode2
)) {
12147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12149 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 (arg1
)->SetAlignment(arg2
);
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= SWIG_Py_Void();
12163 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12164 PyObject
*resultobj
= 0;
12165 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12166 wxLayoutAlignment result
;
12169 PyObject
*swig_obj
[1] ;
12171 if (!args
) SWIG_fail
;
12172 swig_obj
[0] = args
;
12173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12174 if (!SWIG_IsOK(res1
)) {
12175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12177 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12181 wxPyEndAllowThreads(__tstate
);
12182 if (PyErr_Occurred()) SWIG_fail
;
12184 resultobj
= SWIG_From_int(static_cast< int >(result
));
12191 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12193 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12194 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12195 return SWIG_Py_Void();
12198 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12199 return SWIG_Python_InitShadowInstance(args
);
12202 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12203 PyObject
*resultobj
= 0;
12204 int arg1
= (int) 0 ;
12205 wxCalculateLayoutEvent
*result
= 0 ;
12208 PyObject
* obj0
= 0 ;
12209 char * kwnames
[] = {
12210 (char *) "id", NULL
12213 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12215 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12216 if (!SWIG_IsOK(ecode1
)) {
12217 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12219 arg1
= static_cast< int >(val1
);
12222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12223 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12224 wxPyEndAllowThreads(__tstate
);
12225 if (PyErr_Occurred()) SWIG_fail
;
12227 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12234 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12235 PyObject
*resultobj
= 0;
12236 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12242 PyObject
* obj0
= 0 ;
12243 PyObject
* obj1
= 0 ;
12244 char * kwnames
[] = {
12245 (char *) "self",(char *) "flags", NULL
12248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12250 if (!SWIG_IsOK(res1
)) {
12251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12253 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12254 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12255 if (!SWIG_IsOK(ecode2
)) {
12256 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12258 arg2
= static_cast< int >(val2
);
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 (arg1
)->SetFlags(arg2
);
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= SWIG_Py_Void();
12272 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12273 PyObject
*resultobj
= 0;
12274 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12278 PyObject
*swig_obj
[1] ;
12280 if (!args
) SWIG_fail
;
12281 swig_obj
[0] = args
;
12282 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12283 if (!SWIG_IsOK(res1
)) {
12284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12286 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12290 wxPyEndAllowThreads(__tstate
);
12291 if (PyErr_Occurred()) SWIG_fail
;
12293 resultobj
= SWIG_From_int(static_cast< int >(result
));
12300 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12301 PyObject
*resultobj
= 0;
12302 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12307 PyObject
* obj0
= 0 ;
12308 PyObject
* obj1
= 0 ;
12309 char * kwnames
[] = {
12310 (char *) "self",(char *) "rect", NULL
12313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12315 if (!SWIG_IsOK(res1
)) {
12316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12318 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12321 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 (arg1
)->SetRect((wxRect
const &)*arg2
);
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= SWIG_Py_Void();
12336 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12337 PyObject
*resultobj
= 0;
12338 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12342 PyObject
*swig_obj
[1] ;
12344 if (!args
) SWIG_fail
;
12345 swig_obj
[0] = args
;
12346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12347 if (!SWIG_IsOK(res1
)) {
12348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12350 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12353 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12354 wxPyEndAllowThreads(__tstate
);
12355 if (PyErr_Occurred()) SWIG_fail
;
12357 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12364 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12366 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12367 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12368 return SWIG_Py_Void();
12371 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12372 return SWIG_Python_InitShadowInstance(args
);
12375 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12376 PyObject
*resultobj
= 0;
12377 wxWindow
*arg1
= (wxWindow
*) 0 ;
12378 int arg2
= (int) -1 ;
12379 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12380 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12381 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12382 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12383 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12384 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12385 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12386 wxSashLayoutWindow
*result
= 0 ;
12395 bool temp6
= false ;
12396 PyObject
* obj0
= 0 ;
12397 PyObject
* obj1
= 0 ;
12398 PyObject
* obj2
= 0 ;
12399 PyObject
* obj3
= 0 ;
12400 PyObject
* obj4
= 0 ;
12401 PyObject
* obj5
= 0 ;
12402 char * kwnames
[] = {
12403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12406 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12407 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12408 if (!SWIG_IsOK(res1
)) {
12409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12411 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12413 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12414 if (!SWIG_IsOK(ecode2
)) {
12415 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12417 arg2
= static_cast< int >(val2
);
12422 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12428 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12432 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12433 if (!SWIG_IsOK(ecode5
)) {
12434 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12436 arg5
= static_cast< long >(val5
);
12440 arg6
= wxString_in_helper(obj5
);
12441 if (arg6
== NULL
) SWIG_fail
;
12446 if (!wxPyCheckForApp()) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12467 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12468 PyObject
*resultobj
= 0;
12469 wxSashLayoutWindow
*result
= 0 ;
12471 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12473 if (!wxPyCheckForApp()) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12486 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
= 0;
12488 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12489 wxWindow
*arg2
= (wxWindow
*) 0 ;
12490 int arg3
= (int) -1 ;
12491 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12492 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12493 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12494 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12495 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12496 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12497 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12509 bool temp7
= false ;
12510 PyObject
* obj0
= 0 ;
12511 PyObject
* obj1
= 0 ;
12512 PyObject
* obj2
= 0 ;
12513 PyObject
* obj3
= 0 ;
12514 PyObject
* obj4
= 0 ;
12515 PyObject
* obj5
= 0 ;
12516 PyObject
* obj6
= 0 ;
12517 char * kwnames
[] = {
12518 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12521 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12522 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12523 if (!SWIG_IsOK(res1
)) {
12524 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12526 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12527 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12528 if (!SWIG_IsOK(res2
)) {
12529 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12531 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12534 if (!SWIG_IsOK(ecode3
)) {
12535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12537 arg3
= static_cast< int >(val3
);
12542 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12548 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12552 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12553 if (!SWIG_IsOK(ecode6
)) {
12554 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12556 arg6
= static_cast< long >(val6
);
12560 arg7
= wxString_in_helper(obj6
);
12561 if (arg7
== NULL
) SWIG_fail
;
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12568 wxPyEndAllowThreads(__tstate
);
12569 if (PyErr_Occurred()) SWIG_fail
;
12572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12588 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12589 PyObject
*resultobj
= 0;
12590 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12591 wxLayoutAlignment result
;
12594 PyObject
*swig_obj
[1] ;
12596 if (!args
) SWIG_fail
;
12597 swig_obj
[0] = args
;
12598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12599 if (!SWIG_IsOK(res1
)) {
12600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12602 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12606 wxPyEndAllowThreads(__tstate
);
12607 if (PyErr_Occurred()) SWIG_fail
;
12609 resultobj
= SWIG_From_int(static_cast< int >(result
));
12616 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12617 PyObject
*resultobj
= 0;
12618 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12619 wxLayoutOrientation result
;
12622 PyObject
*swig_obj
[1] ;
12624 if (!args
) SWIG_fail
;
12625 swig_obj
[0] = args
;
12626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12627 if (!SWIG_IsOK(res1
)) {
12628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12630 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12633 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= SWIG_From_int(static_cast< int >(result
));
12644 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12645 PyObject
*resultobj
= 0;
12646 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12647 wxLayoutAlignment arg2
;
12652 PyObject
* obj0
= 0 ;
12653 PyObject
* obj1
= 0 ;
12654 char * kwnames
[] = {
12655 (char *) "self",(char *) "alignment", NULL
12658 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12659 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12660 if (!SWIG_IsOK(res1
)) {
12661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12663 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12664 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12665 if (!SWIG_IsOK(ecode2
)) {
12666 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12668 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 (arg1
)->SetAlignment(arg2
);
12672 wxPyEndAllowThreads(__tstate
);
12673 if (PyErr_Occurred()) SWIG_fail
;
12675 resultobj
= SWIG_Py_Void();
12682 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12683 PyObject
*resultobj
= 0;
12684 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 PyObject
* obj1
= 0 ;
12691 char * kwnames
[] = {
12692 (char *) "self",(char *) "size", NULL
12695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12697 if (!SWIG_IsOK(res1
)) {
12698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12700 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12703 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12708 wxPyEndAllowThreads(__tstate
);
12709 if (PyErr_Occurred()) SWIG_fail
;
12711 resultobj
= SWIG_Py_Void();
12718 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12719 PyObject
*resultobj
= 0;
12720 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12721 wxLayoutOrientation arg2
;
12726 PyObject
* obj0
= 0 ;
12727 PyObject
* obj1
= 0 ;
12728 char * kwnames
[] = {
12729 (char *) "self",(char *) "orientation", NULL
12732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12734 if (!SWIG_IsOK(res1
)) {
12735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12737 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12738 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12739 if (!SWIG_IsOK(ecode2
)) {
12740 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12742 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 (arg1
)->SetOrientation(arg2
);
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= SWIG_Py_Void();
12756 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12759 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12760 return SWIG_Py_Void();
12763 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12764 return SWIG_Python_InitShadowInstance(args
);
12767 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12768 PyObject
*resultobj
= 0;
12769 wxLayoutAlgorithm
*result
= 0 ;
12771 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12785 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12786 PyObject
*resultobj
= 0;
12787 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12790 PyObject
*swig_obj
[1] ;
12792 if (!args
) SWIG_fail
;
12793 swig_obj
[0] = args
;
12794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12795 if (!SWIG_IsOK(res1
)) {
12796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12798 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= SWIG_Py_Void();
12813 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
= 0;
12815 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12816 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12817 wxRect
*arg3
= (wxRect
*) NULL
;
12825 PyObject
* obj0
= 0 ;
12826 PyObject
* obj1
= 0 ;
12827 PyObject
* obj2
= 0 ;
12828 char * kwnames
[] = {
12829 (char *) "self",(char *) "frame",(char *) "rect", NULL
12832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12834 if (!SWIG_IsOK(res1
)) {
12835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12837 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12838 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12839 if (!SWIG_IsOK(res2
)) {
12840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12842 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12844 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12845 if (!SWIG_IsOK(res3
)) {
12846 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12848 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12865 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12866 PyObject
*resultobj
= 0;
12867 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12868 wxFrame
*arg2
= (wxFrame
*) 0 ;
12869 wxWindow
*arg3
= (wxWindow
*) NULL
;
12877 PyObject
* obj0
= 0 ;
12878 PyObject
* obj1
= 0 ;
12879 PyObject
* obj2
= 0 ;
12880 char * kwnames
[] = {
12881 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12886 if (!SWIG_IsOK(res1
)) {
12887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12889 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12890 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12891 if (!SWIG_IsOK(res2
)) {
12892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12894 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12896 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12897 if (!SWIG_IsOK(res3
)) {
12898 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12900 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12904 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12905 wxPyEndAllowThreads(__tstate
);
12906 if (PyErr_Occurred()) SWIG_fail
;
12909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12917 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12918 PyObject
*resultobj
= 0;
12919 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12920 wxWindow
*arg2
= (wxWindow
*) 0 ;
12921 wxWindow
*arg3
= (wxWindow
*) NULL
;
12929 PyObject
* obj0
= 0 ;
12930 PyObject
* obj1
= 0 ;
12931 PyObject
* obj2
= 0 ;
12932 char * kwnames
[] = {
12933 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12938 if (!SWIG_IsOK(res1
)) {
12939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12941 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12942 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12943 if (!SWIG_IsOK(res2
)) {
12944 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12946 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12948 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12949 if (!SWIG_IsOK(res3
)) {
12950 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12952 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12956 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12957 wxPyEndAllowThreads(__tstate
);
12958 if (PyErr_Occurred()) SWIG_fail
;
12961 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12969 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12971 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12972 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12973 return SWIG_Py_Void();
12976 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12977 return SWIG_Python_InitShadowInstance(args
);
12980 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12981 PyObject
*resultobj
= 0;
12982 wxWindow
*arg1
= (wxWindow
*) 0 ;
12983 int arg2
= (int) wxBORDER_NONE
;
12984 wxPopupWindow
*result
= 0 ;
12989 PyObject
* obj0
= 0 ;
12990 PyObject
* obj1
= 0 ;
12991 char * kwnames
[] = {
12992 (char *) "parent",(char *) "flags", NULL
12995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12997 if (!SWIG_IsOK(res1
)) {
12998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13000 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13002 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13003 if (!SWIG_IsOK(ecode2
)) {
13004 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13006 arg2
= static_cast< int >(val2
);
13009 if (!wxPyCheckForApp()) SWIG_fail
;
13010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13011 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13012 wxPyEndAllowThreads(__tstate
);
13013 if (PyErr_Occurred()) SWIG_fail
;
13015 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13022 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13023 PyObject
*resultobj
= 0;
13024 wxPopupWindow
*result
= 0 ;
13026 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13028 if (!wxPyCheckForApp()) SWIG_fail
;
13029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13030 result
= (wxPopupWindow
*)new wxPopupWindow();
13031 wxPyEndAllowThreads(__tstate
);
13032 if (PyErr_Occurred()) SWIG_fail
;
13034 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13041 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
= 0;
13043 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13044 wxWindow
*arg2
= (wxWindow
*) 0 ;
13045 int arg3
= (int) wxBORDER_NONE
;
13053 PyObject
* obj0
= 0 ;
13054 PyObject
* obj1
= 0 ;
13055 PyObject
* obj2
= 0 ;
13056 char * kwnames
[] = {
13057 (char *) "self",(char *) "parent",(char *) "flags", NULL
13060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13062 if (!SWIG_IsOK(res1
)) {
13063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13065 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13066 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13067 if (!SWIG_IsOK(res2
)) {
13068 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13070 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13072 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13073 if (!SWIG_IsOK(ecode3
)) {
13074 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
13076 arg3
= static_cast< int >(val3
);
13079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13080 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13081 wxPyEndAllowThreads(__tstate
);
13082 if (PyErr_Occurred()) SWIG_fail
;
13085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13093 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13094 PyObject
*resultobj
= 0;
13095 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13096 wxPoint
*arg2
= 0 ;
13102 PyObject
* obj0
= 0 ;
13103 PyObject
* obj1
= 0 ;
13104 PyObject
* obj2
= 0 ;
13105 char * kwnames
[] = {
13106 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13111 if (!SWIG_IsOK(res1
)) {
13112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13114 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13117 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13121 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13125 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13126 wxPyEndAllowThreads(__tstate
);
13127 if (PyErr_Occurred()) SWIG_fail
;
13129 resultobj
= SWIG_Py_Void();
13136 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13138 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13139 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13140 return SWIG_Py_Void();
13143 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13144 return SWIG_Python_InitShadowInstance(args
);
13147 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
= 0;
13149 wxWindow
*arg1
= (wxWindow
*) 0 ;
13150 int arg2
= (int) wxBORDER_NONE
;
13151 wxPyPopupTransientWindow
*result
= 0 ;
13156 PyObject
* obj0
= 0 ;
13157 PyObject
* obj1
= 0 ;
13158 char * kwnames
[] = {
13159 (char *) "parent",(char *) "style", NULL
13162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13164 if (!SWIG_IsOK(res1
)) {
13165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13167 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13169 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13170 if (!SWIG_IsOK(ecode2
)) {
13171 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13173 arg2
= static_cast< int >(val2
);
13176 if (!wxPyCheckForApp()) SWIG_fail
;
13177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13178 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13182 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13189 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13190 PyObject
*resultobj
= 0;
13191 wxPyPopupTransientWindow
*result
= 0 ;
13193 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13195 if (!wxPyCheckForApp()) SWIG_fail
;
13196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13197 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13198 wxPyEndAllowThreads(__tstate
);
13199 if (PyErr_Occurred()) SWIG_fail
;
13201 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13208 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13209 PyObject
*resultobj
= 0;
13210 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13211 PyObject
*arg2
= (PyObject
*) 0 ;
13212 PyObject
*arg3
= (PyObject
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 PyObject
* obj1
= 0 ;
13217 PyObject
* obj2
= 0 ;
13218 char * kwnames
[] = {
13219 (char *) "self",(char *) "self",(char *) "_class", NULL
13222 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13223 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13224 if (!SWIG_IsOK(res1
)) {
13225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13227 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13233 wxPyEndAllowThreads(__tstate
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13236 resultobj
= SWIG_Py_Void();
13243 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
= 0;
13245 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13246 wxWindow
*arg2
= (wxWindow
*) NULL
;
13251 PyObject
* obj0
= 0 ;
13252 PyObject
* obj1
= 0 ;
13253 char * kwnames
[] = {
13254 (char *) "self",(char *) "focus", NULL
13257 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13258 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13259 if (!SWIG_IsOK(res1
)) {
13260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13262 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13264 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13265 if (!SWIG_IsOK(res2
)) {
13266 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13268 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13272 (arg1
)->Popup(arg2
);
13273 wxPyEndAllowThreads(__tstate
);
13274 if (PyErr_Occurred()) SWIG_fail
;
13276 resultobj
= SWIG_Py_Void();
13283 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13284 PyObject
*resultobj
= 0;
13285 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13288 PyObject
*swig_obj
[1] ;
13290 if (!args
) SWIG_fail
;
13291 swig_obj
[0] = args
;
13292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13293 if (!SWIG_IsOK(res1
)) {
13294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13296 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13303 resultobj
= SWIG_Py_Void();
13310 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13312 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13313 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13314 return SWIG_Py_Void();
13317 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13318 return SWIG_Python_InitShadowInstance(args
);
13321 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13322 PyObject
*resultobj
= 0;
13323 wxWindow
*arg1
= (wxWindow
*) 0 ;
13324 wxString
*arg2
= 0 ;
13325 int arg3
= (int) 100 ;
13326 wxRect
*arg4
= (wxRect
*) NULL
;
13327 wxTipWindow
*result
= 0 ;
13330 bool temp2
= false ;
13335 PyObject
* obj0
= 0 ;
13336 PyObject
* obj1
= 0 ;
13337 PyObject
* obj2
= 0 ;
13338 PyObject
* obj3
= 0 ;
13339 char * kwnames
[] = {
13340 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13343 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13344 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13345 if (!SWIG_IsOK(res1
)) {
13346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13348 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13350 arg2
= wxString_in_helper(obj1
);
13351 if (arg2
== NULL
) SWIG_fail
;
13355 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13356 if (!SWIG_IsOK(ecode3
)) {
13357 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13359 arg3
= static_cast< int >(val3
);
13362 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13363 if (!SWIG_IsOK(res4
)) {
13364 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13366 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13369 if (!wxPyCheckForApp()) SWIG_fail
;
13370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13371 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13372 wxPyEndAllowThreads(__tstate
);
13373 if (PyErr_Occurred()) SWIG_fail
;
13375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13390 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
= 0;
13392 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13397 PyObject
* obj0
= 0 ;
13398 PyObject
* obj1
= 0 ;
13399 char * kwnames
[] = {
13400 (char *) "self",(char *) "rectBound", NULL
13403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13405 if (!SWIG_IsOK(res1
)) {
13406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13408 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13411 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13415 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13416 wxPyEndAllowThreads(__tstate
);
13417 if (PyErr_Occurred()) SWIG_fail
;
13419 resultobj
= SWIG_Py_Void();
13426 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13427 PyObject
*resultobj
= 0;
13428 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13431 PyObject
*swig_obj
[1] ;
13433 if (!args
) SWIG_fail
;
13434 swig_obj
[0] = args
;
13435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13436 if (!SWIG_IsOK(res1
)) {
13437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13439 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13443 wxPyEndAllowThreads(__tstate
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 resultobj
= SWIG_Py_Void();
13453 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13455 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13456 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13457 return SWIG_Py_Void();
13460 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13461 return SWIG_Python_InitShadowInstance(args
);
13464 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
= 0;
13466 wxWindow
*arg1
= (wxWindow
*) 0 ;
13467 int arg2
= (int) wxID_ANY
;
13468 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13469 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13470 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13471 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13472 long arg5
= (long) 0 ;
13473 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13474 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13475 wxPyVScrolledWindow
*result
= 0 ;
13484 bool temp6
= false ;
13485 PyObject
* obj0
= 0 ;
13486 PyObject
* obj1
= 0 ;
13487 PyObject
* obj2
= 0 ;
13488 PyObject
* obj3
= 0 ;
13489 PyObject
* obj4
= 0 ;
13490 PyObject
* obj5
= 0 ;
13491 char * kwnames
[] = {
13492 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13495 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13496 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13497 if (!SWIG_IsOK(res1
)) {
13498 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13500 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13502 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13503 if (!SWIG_IsOK(ecode2
)) {
13504 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13506 arg2
= static_cast< int >(val2
);
13511 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13517 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13521 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13522 if (!SWIG_IsOK(ecode5
)) {
13523 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13525 arg5
= static_cast< long >(val5
);
13529 arg6
= wxString_in_helper(obj5
);
13530 if (arg6
== NULL
) SWIG_fail
;
13535 if (!wxPyCheckForApp()) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13538 wxPyEndAllowThreads(__tstate
);
13539 if (PyErr_Occurred()) SWIG_fail
;
13541 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13556 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13557 PyObject
*resultobj
= 0;
13558 wxPyVScrolledWindow
*result
= 0 ;
13560 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13562 if (!wxPyCheckForApp()) SWIG_fail
;
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13565 wxPyEndAllowThreads(__tstate
);
13566 if (PyErr_Occurred()) SWIG_fail
;
13568 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13575 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13576 PyObject
*resultobj
= 0;
13577 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13578 PyObject
*arg2
= (PyObject
*) 0 ;
13579 PyObject
*arg3
= (PyObject
*) 0 ;
13582 PyObject
* obj0
= 0 ;
13583 PyObject
* obj1
= 0 ;
13584 PyObject
* obj2
= 0 ;
13585 char * kwnames
[] = {
13586 (char *) "self",(char *) "self",(char *) "_class", NULL
13589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13591 if (!SWIG_IsOK(res1
)) {
13592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13594 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13599 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13600 wxPyEndAllowThreads(__tstate
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 resultobj
= SWIG_Py_Void();
13610 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
= 0;
13612 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13613 wxWindow
*arg2
= (wxWindow
*) 0 ;
13614 int arg3
= (int) wxID_ANY
;
13615 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13616 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13617 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13618 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13619 long arg6
= (long) 0 ;
13620 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13621 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13633 bool temp7
= false ;
13634 PyObject
* obj0
= 0 ;
13635 PyObject
* obj1
= 0 ;
13636 PyObject
* obj2
= 0 ;
13637 PyObject
* obj3
= 0 ;
13638 PyObject
* obj4
= 0 ;
13639 PyObject
* obj5
= 0 ;
13640 PyObject
* obj6
= 0 ;
13641 char * kwnames
[] = {
13642 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13647 if (!SWIG_IsOK(res1
)) {
13648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13650 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13651 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13652 if (!SWIG_IsOK(res2
)) {
13653 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13655 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13657 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13658 if (!SWIG_IsOK(ecode3
)) {
13659 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13661 arg3
= static_cast< int >(val3
);
13666 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13672 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13676 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13677 if (!SWIG_IsOK(ecode6
)) {
13678 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13680 arg6
= static_cast< long >(val6
);
13684 arg7
= wxString_in_helper(obj6
);
13685 if (arg7
== NULL
) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13712 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
= 0;
13714 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13720 PyObject
* obj0
= 0 ;
13721 PyObject
* obj1
= 0 ;
13722 char * kwnames
[] = {
13723 (char *) "self",(char *) "count", NULL
13726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13728 if (!SWIG_IsOK(res1
)) {
13729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13731 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13732 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13733 if (!SWIG_IsOK(ecode2
)) {
13734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13736 arg2
= static_cast< size_t >(val2
);
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 (arg1
)->SetLineCount(arg2
);
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_Py_Void();
13750 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
= 0;
13752 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13759 PyObject
* obj0
= 0 ;
13760 PyObject
* obj1
= 0 ;
13761 char * kwnames
[] = {
13762 (char *) "self",(char *) "line", NULL
13765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13767 if (!SWIG_IsOK(res1
)) {
13768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13770 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13771 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13772 if (!SWIG_IsOK(ecode2
)) {
13773 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13775 arg2
= static_cast< size_t >(val2
);
13777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13778 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13791 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13792 PyObject
*resultobj
= 0;
13793 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13799 PyObject
* obj0
= 0 ;
13800 PyObject
* obj1
= 0 ;
13801 char * kwnames
[] = {
13802 (char *) "self",(char *) "line", NULL
13805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13807 if (!SWIG_IsOK(res1
)) {
13808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13810 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13811 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13812 if (!SWIG_IsOK(ecode2
)) {
13813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13815 arg2
= static_cast< size_t >(val2
);
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 (arg1
)->RefreshLine(arg2
);
13819 wxPyEndAllowThreads(__tstate
);
13820 if (PyErr_Occurred()) SWIG_fail
;
13822 resultobj
= SWIG_Py_Void();
13829 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13830 PyObject
*resultobj
= 0;
13831 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13840 PyObject
* obj0
= 0 ;
13841 PyObject
* obj1
= 0 ;
13842 PyObject
* obj2
= 0 ;
13843 char * kwnames
[] = {
13844 (char *) "self",(char *) "from",(char *) "to", NULL
13847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13849 if (!SWIG_IsOK(res1
)) {
13850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13852 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13853 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13854 if (!SWIG_IsOK(ecode2
)) {
13855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13857 arg2
= static_cast< size_t >(val2
);
13858 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13859 if (!SWIG_IsOK(ecode3
)) {
13860 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13862 arg3
= static_cast< size_t >(val3
);
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 (arg1
)->RefreshLines(arg2
,arg3
);
13866 wxPyEndAllowThreads(__tstate
);
13867 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= SWIG_Py_Void();
13876 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
= 0;
13878 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13888 PyObject
* obj0
= 0 ;
13889 PyObject
* obj1
= 0 ;
13890 PyObject
* obj2
= 0 ;
13891 char * kwnames
[] = {
13892 (char *) "self",(char *) "x",(char *) "y", NULL
13895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13897 if (!SWIG_IsOK(res1
)) {
13898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13900 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13901 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13902 if (!SWIG_IsOK(ecode2
)) {
13903 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13905 arg2
= static_cast< int >(val2
);
13906 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13907 if (!SWIG_IsOK(ecode3
)) {
13908 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13910 arg3
= static_cast< int >(val3
);
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13914 wxPyEndAllowThreads(__tstate
);
13915 if (PyErr_Occurred()) SWIG_fail
;
13917 resultobj
= SWIG_From_int(static_cast< int >(result
));
13924 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13925 PyObject
*resultobj
= 0;
13926 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13927 wxPoint
*arg2
= 0 ;
13932 PyObject
* obj0
= 0 ;
13933 PyObject
* obj1
= 0 ;
13934 char * kwnames
[] = {
13935 (char *) "self",(char *) "pt", NULL
13938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13940 if (!SWIG_IsOK(res1
)) {
13941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13943 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13946 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 resultobj
= SWIG_From_int(static_cast< int >(result
));
13961 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13962 PyObject
*resultobj
= 0;
13963 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13966 PyObject
*swig_obj
[1] ;
13968 if (!args
) SWIG_fail
;
13969 swig_obj
[0] = args
;
13970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13971 if (!SWIG_IsOK(res1
)) {
13972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13974 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13977 (arg1
)->RefreshAll();
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= SWIG_Py_Void();
13988 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13989 PyObject
*resultobj
= 0;
13990 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13994 PyObject
*swig_obj
[1] ;
13996 if (!args
) SWIG_fail
;
13997 swig_obj
[0] = args
;
13998 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13999 if (!SWIG_IsOK(res1
)) {
14000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14002 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14005 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
14006 wxPyEndAllowThreads(__tstate
);
14007 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14016 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14017 PyObject
*resultobj
= 0;
14018 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14022 PyObject
*swig_obj
[1] ;
14024 if (!args
) SWIG_fail
;
14025 swig_obj
[0] = args
;
14026 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14027 if (!SWIG_IsOK(res1
)) {
14028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14030 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14033 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14034 wxPyEndAllowThreads(__tstate
);
14035 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14044 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14045 PyObject
*resultobj
= 0;
14046 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14050 PyObject
*swig_obj
[1] ;
14052 if (!args
) SWIG_fail
;
14053 swig_obj
[0] = args
;
14054 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14055 if (!SWIG_IsOK(res1
)) {
14056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14058 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14061 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14062 wxPyEndAllowThreads(__tstate
);
14063 if (PyErr_Occurred()) SWIG_fail
;
14065 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14072 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
= 0;
14074 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14081 PyObject
* obj0
= 0 ;
14082 PyObject
* obj1
= 0 ;
14083 char * kwnames
[] = {
14084 (char *) "self",(char *) "line", NULL
14087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14089 if (!SWIG_IsOK(res1
)) {
14090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14092 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14093 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14094 if (!SWIG_IsOK(ecode2
)) {
14095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14097 arg2
= static_cast< size_t >(val2
);
14099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14100 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14101 wxPyEndAllowThreads(__tstate
);
14102 if (PyErr_Occurred()) SWIG_fail
;
14105 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14113 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14114 PyObject
*resultobj
= 0;
14115 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14119 PyObject
*swig_obj
[1] ;
14121 if (!args
) SWIG_fail
;
14122 swig_obj
[0] = args
;
14123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14124 if (!SWIG_IsOK(res1
)) {
14125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14127 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14131 wxPyEndAllowThreads(__tstate
);
14132 if (PyErr_Occurred()) SWIG_fail
;
14134 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14141 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14142 PyObject
*resultobj
= 0;
14143 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14147 PyObject
*swig_obj
[1] ;
14149 if (!args
) SWIG_fail
;
14150 swig_obj
[0] = args
;
14151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14152 if (!SWIG_IsOK(res1
)) {
14153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14155 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14158 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14159 wxPyEndAllowThreads(__tstate
);
14160 if (PyErr_Occurred()) SWIG_fail
;
14162 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14169 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14170 PyObject
*resultobj
= 0;
14171 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14173 bool arg3
= (bool) false ;
14181 PyObject
* obj0
= 0 ;
14182 PyObject
* obj1
= 0 ;
14183 PyObject
* obj2
= 0 ;
14184 char * kwnames
[] = {
14185 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14190 if (!SWIG_IsOK(res1
)) {
14191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14193 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14194 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14195 if (!SWIG_IsOK(ecode2
)) {
14196 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14198 arg2
= static_cast< size_t >(val2
);
14200 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14201 if (!SWIG_IsOK(ecode3
)) {
14202 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14204 arg3
= static_cast< bool >(val3
);
14207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14208 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14209 wxPyEndAllowThreads(__tstate
);
14210 if (PyErr_Occurred()) SWIG_fail
;
14212 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14219 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
= 0;
14221 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14231 PyObject
* obj0
= 0 ;
14232 PyObject
* obj1
= 0 ;
14233 PyObject
* obj2
= 0 ;
14234 char * kwnames
[] = {
14235 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14240 if (!SWIG_IsOK(res1
)) {
14241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14243 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14244 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14245 if (!SWIG_IsOK(ecode2
)) {
14246 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14248 arg2
= static_cast< size_t >(val2
);
14249 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14250 if (!SWIG_IsOK(ecode3
)) {
14251 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14253 arg3
= static_cast< size_t >(val3
);
14255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14256 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14260 resultobj
= SWIG_From_int(static_cast< int >(result
));
14267 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14269 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14270 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14271 return SWIG_Py_Void();
14274 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14275 return SWIG_Python_InitShadowInstance(args
);
14278 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14279 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14284 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14285 PyObject
*pyobj
= 0;
14289 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14291 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14298 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14299 PyObject
*resultobj
= 0;
14300 wxWindow
*arg1
= (wxWindow
*) 0 ;
14301 int arg2
= (int) wxID_ANY
;
14302 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14303 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14304 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14305 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14306 long arg5
= (long) 0 ;
14307 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14308 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14309 wxPyVListBox
*result
= 0 ;
14318 bool temp6
= false ;
14319 PyObject
* obj0
= 0 ;
14320 PyObject
* obj1
= 0 ;
14321 PyObject
* obj2
= 0 ;
14322 PyObject
* obj3
= 0 ;
14323 PyObject
* obj4
= 0 ;
14324 PyObject
* obj5
= 0 ;
14325 char * kwnames
[] = {
14326 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14331 if (!SWIG_IsOK(res1
)) {
14332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14334 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14336 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14337 if (!SWIG_IsOK(ecode2
)) {
14338 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14340 arg2
= static_cast< int >(val2
);
14345 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14351 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14355 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14356 if (!SWIG_IsOK(ecode5
)) {
14357 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14359 arg5
= static_cast< long >(val5
);
14363 arg6
= wxString_in_helper(obj5
);
14364 if (arg6
== NULL
) SWIG_fail
;
14369 if (!wxPyCheckForApp()) SWIG_fail
;
14370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14371 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14372 wxPyEndAllowThreads(__tstate
);
14373 if (PyErr_Occurred()) SWIG_fail
;
14375 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14390 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14391 PyObject
*resultobj
= 0;
14392 wxPyVListBox
*result
= 0 ;
14394 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14396 if (!wxPyCheckForApp()) SWIG_fail
;
14397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14398 result
= (wxPyVListBox
*)new wxPyVListBox();
14399 wxPyEndAllowThreads(__tstate
);
14400 if (PyErr_Occurred()) SWIG_fail
;
14402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14409 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
= 0;
14411 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14412 PyObject
*arg2
= (PyObject
*) 0 ;
14413 PyObject
*arg3
= (PyObject
*) 0 ;
14416 PyObject
* obj0
= 0 ;
14417 PyObject
* obj1
= 0 ;
14418 PyObject
* obj2
= 0 ;
14419 char * kwnames
[] = {
14420 (char *) "self",(char *) "self",(char *) "_class", NULL
14423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14425 if (!SWIG_IsOK(res1
)) {
14426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14428 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14433 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14434 wxPyEndAllowThreads(__tstate
);
14435 if (PyErr_Occurred()) SWIG_fail
;
14437 resultobj
= SWIG_Py_Void();
14444 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
= 0;
14446 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14447 wxWindow
*arg2
= (wxWindow
*) 0 ;
14448 int arg3
= (int) wxID_ANY
;
14449 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14450 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14451 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14452 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14453 long arg6
= (long) 0 ;
14454 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14455 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14467 bool temp7
= false ;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 PyObject
* obj2
= 0 ;
14471 PyObject
* obj3
= 0 ;
14472 PyObject
* obj4
= 0 ;
14473 PyObject
* obj5
= 0 ;
14474 PyObject
* obj6
= 0 ;
14475 char * kwnames
[] = {
14476 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14479 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14480 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14481 if (!SWIG_IsOK(res1
)) {
14482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14484 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14485 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14486 if (!SWIG_IsOK(res2
)) {
14487 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14489 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14491 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14492 if (!SWIG_IsOK(ecode3
)) {
14493 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14495 arg3
= static_cast< int >(val3
);
14500 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14506 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14510 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14511 if (!SWIG_IsOK(ecode6
)) {
14512 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14514 arg6
= static_cast< long >(val6
);
14518 arg7
= wxString_in_helper(obj6
);
14519 if (arg7
== NULL
) SWIG_fail
;
14524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14525 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14526 wxPyEndAllowThreads(__tstate
);
14527 if (PyErr_Occurred()) SWIG_fail
;
14530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14546 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14547 PyObject
*resultobj
= 0;
14548 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14552 PyObject
*swig_obj
[1] ;
14554 if (!args
) SWIG_fail
;
14555 swig_obj
[0] = args
;
14556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14557 if (!SWIG_IsOK(res1
)) {
14558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14560 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14563 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14564 wxPyEndAllowThreads(__tstate
);
14565 if (PyErr_Occurred()) SWIG_fail
;
14567 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14574 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14575 PyObject
*resultobj
= 0;
14576 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14580 PyObject
*swig_obj
[1] ;
14582 if (!args
) SWIG_fail
;
14583 swig_obj
[0] = args
;
14584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14585 if (!SWIG_IsOK(res1
)) {
14586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14588 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14591 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14604 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14605 PyObject
*resultobj
= 0;
14606 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14610 PyObject
*swig_obj
[1] ;
14612 if (!args
) SWIG_fail
;
14613 swig_obj
[0] = args
;
14614 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14615 if (!SWIG_IsOK(res1
)) {
14616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14618 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14622 wxPyEndAllowThreads(__tstate
);
14623 if (PyErr_Occurred()) SWIG_fail
;
14625 resultobj
= SWIG_From_int(static_cast< int >(result
));
14632 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14633 PyObject
*resultobj
= 0;
14634 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14641 PyObject
* obj0
= 0 ;
14642 PyObject
* obj1
= 0 ;
14643 char * kwnames
[] = {
14644 (char *) "self",(char *) "item", NULL
14647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14649 if (!SWIG_IsOK(res1
)) {
14650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14652 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14653 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14654 if (!SWIG_IsOK(ecode2
)) {
14655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14657 arg2
= static_cast< size_t >(val2
);
14659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14660 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14665 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14673 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
= 0;
14675 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14682 PyObject
* obj0
= 0 ;
14683 PyObject
* obj1
= 0 ;
14684 char * kwnames
[] = {
14685 (char *) "self",(char *) "item", NULL
14688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14690 if (!SWIG_IsOK(res1
)) {
14691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14693 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14694 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14695 if (!SWIG_IsOK(ecode2
)) {
14696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14698 arg2
= static_cast< size_t >(val2
);
14700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14701 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14702 wxPyEndAllowThreads(__tstate
);
14703 if (PyErr_Occurred()) SWIG_fail
;
14706 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14714 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14715 PyObject
*resultobj
= 0;
14716 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14720 PyObject
*swig_obj
[1] ;
14722 if (!args
) SWIG_fail
;
14723 swig_obj
[0] = args
;
14724 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14725 if (!SWIG_IsOK(res1
)) {
14726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14728 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14731 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14732 wxPyEndAllowThreads(__tstate
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14735 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14742 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14743 PyObject
*resultobj
= 0;
14744 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14745 PyObject
*result
= 0 ;
14748 PyObject
*swig_obj
[1] ;
14750 if (!args
) SWIG_fail
;
14751 swig_obj
[0] = args
;
14752 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14753 if (!SWIG_IsOK(res1
)) {
14754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14756 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14759 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14760 wxPyEndAllowThreads(__tstate
);
14761 if (PyErr_Occurred()) SWIG_fail
;
14763 resultobj
= result
;
14770 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
= 0;
14772 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14773 unsigned long arg2
;
14774 PyObject
*result
= 0 ;
14777 unsigned long val2
;
14779 PyObject
* obj0
= 0 ;
14780 PyObject
* obj1
= 0 ;
14781 char * kwnames
[] = {
14782 (char *) "self",(char *) "cookie", NULL
14785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14787 if (!SWIG_IsOK(res1
)) {
14788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14790 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14791 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14792 if (!SWIG_IsOK(ecode2
)) {
14793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14795 arg2
= static_cast< unsigned long >(val2
);
14797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14798 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14799 wxPyEndAllowThreads(__tstate
);
14800 if (PyErr_Occurred()) SWIG_fail
;
14802 resultobj
= result
;
14809 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14810 PyObject
*resultobj
= 0;
14811 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14815 PyObject
*swig_obj
[1] ;
14817 if (!args
) SWIG_fail
;
14818 swig_obj
[0] = args
;
14819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14820 if (!SWIG_IsOK(res1
)) {
14821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14823 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14826 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14827 wxPyEndAllowThreads(__tstate
);
14828 if (PyErr_Occurred()) SWIG_fail
;
14830 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14837 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14838 PyObject
*resultobj
= 0;
14839 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14840 wxColour
*result
= 0 ;
14843 PyObject
*swig_obj
[1] ;
14845 if (!args
) SWIG_fail
;
14846 swig_obj
[0] = args
;
14847 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14848 if (!SWIG_IsOK(res1
)) {
14849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14851 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14855 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14856 result
= (wxColour
*) &_result_ref
;
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14868 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14869 PyObject
*resultobj
= 0;
14870 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14876 PyObject
* obj0
= 0 ;
14877 PyObject
* obj1
= 0 ;
14878 char * kwnames
[] = {
14879 (char *) "self",(char *) "count", NULL
14882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14884 if (!SWIG_IsOK(res1
)) {
14885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14887 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14888 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14889 if (!SWIG_IsOK(ecode2
)) {
14890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14892 arg2
= static_cast< size_t >(val2
);
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 (arg1
)->SetItemCount(arg2
);
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_Py_Void();
14906 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14907 PyObject
*resultobj
= 0;
14908 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14911 PyObject
*swig_obj
[1] ;
14913 if (!args
) SWIG_fail
;
14914 swig_obj
[0] = args
;
14915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14916 if (!SWIG_IsOK(res1
)) {
14917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14919 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 wxPyEndAllowThreads(__tstate
);
14924 if (PyErr_Occurred()) SWIG_fail
;
14926 resultobj
= SWIG_Py_Void();
14933 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
= 0;
14935 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14941 PyObject
* obj0
= 0 ;
14942 PyObject
* obj1
= 0 ;
14943 char * kwnames
[] = {
14944 (char *) "self",(char *) "selection", NULL
14947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14949 if (!SWIG_IsOK(res1
)) {
14950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14952 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14953 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14954 if (!SWIG_IsOK(ecode2
)) {
14955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14957 arg2
= static_cast< int >(val2
);
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 (arg1
)->SetSelection(arg2
);
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 resultobj
= SWIG_Py_Void();
14971 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
= 0;
14973 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14975 bool arg3
= (bool) true ;
14983 PyObject
* obj0
= 0 ;
14984 PyObject
* obj1
= 0 ;
14985 PyObject
* obj2
= 0 ;
14986 char * kwnames
[] = {
14987 (char *) "self",(char *) "item",(char *) "select", NULL
14990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14992 if (!SWIG_IsOK(res1
)) {
14993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14995 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14996 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14997 if (!SWIG_IsOK(ecode2
)) {
14998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
15000 arg2
= static_cast< size_t >(val2
);
15002 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
15003 if (!SWIG_IsOK(ecode3
)) {
15004 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
15006 arg3
= static_cast< bool >(val3
);
15009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15010 result
= (bool)(arg1
)->Select(arg2
,arg3
);
15011 wxPyEndAllowThreads(__tstate
);
15012 if (PyErr_Occurred()) SWIG_fail
;
15015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15023 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
= 0;
15025 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15035 PyObject
* obj0
= 0 ;
15036 PyObject
* obj1
= 0 ;
15037 PyObject
* obj2
= 0 ;
15038 char * kwnames
[] = {
15039 (char *) "self",(char *) "from",(char *) "to", NULL
15042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15044 if (!SWIG_IsOK(res1
)) {
15045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15047 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15048 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15049 if (!SWIG_IsOK(ecode2
)) {
15050 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15052 arg2
= static_cast< size_t >(val2
);
15053 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15054 if (!SWIG_IsOK(ecode3
)) {
15055 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15057 arg3
= static_cast< size_t >(val3
);
15059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15060 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15061 wxPyEndAllowThreads(__tstate
);
15062 if (PyErr_Occurred()) SWIG_fail
;
15065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15073 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15074 PyObject
*resultobj
= 0;
15075 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15081 PyObject
* obj0
= 0 ;
15082 PyObject
* obj1
= 0 ;
15083 char * kwnames
[] = {
15084 (char *) "self",(char *) "item", NULL
15087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15089 if (!SWIG_IsOK(res1
)) {
15090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15092 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15093 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15094 if (!SWIG_IsOK(ecode2
)) {
15095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15097 arg2
= static_cast< size_t >(val2
);
15099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15100 (arg1
)->Toggle(arg2
);
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= SWIG_Py_Void();
15111 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15112 PyObject
*resultobj
= 0;
15113 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15117 PyObject
*swig_obj
[1] ;
15119 if (!args
) SWIG_fail
;
15120 swig_obj
[0] = args
;
15121 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15122 if (!SWIG_IsOK(res1
)) {
15123 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15125 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (bool)(arg1
)->SelectAll();
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15141 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15142 PyObject
*resultobj
= 0;
15143 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15147 PyObject
*swig_obj
[1] ;
15149 if (!args
) SWIG_fail
;
15150 swig_obj
[0] = args
;
15151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15152 if (!SWIG_IsOK(res1
)) {
15153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15155 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15158 result
= (bool)(arg1
)->DeselectAll();
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15163 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15171 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15172 PyObject
*resultobj
= 0;
15173 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15174 wxPoint
*arg2
= 0 ;
15178 PyObject
* obj0
= 0 ;
15179 PyObject
* obj1
= 0 ;
15180 char * kwnames
[] = {
15181 (char *) "self",(char *) "pt", NULL
15184 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15185 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15186 if (!SWIG_IsOK(res1
)) {
15187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15189 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15192 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15196 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15200 resultobj
= SWIG_Py_Void();
15207 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
= 0;
15209 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15218 PyObject
* obj0
= 0 ;
15219 PyObject
* obj1
= 0 ;
15220 PyObject
* obj2
= 0 ;
15221 char * kwnames
[] = {
15222 (char *) "self",(char *) "x",(char *) "y", NULL
15225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15227 if (!SWIG_IsOK(res1
)) {
15228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15230 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15232 if (!SWIG_IsOK(ecode2
)) {
15233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15235 arg2
= static_cast< int >(val2
);
15236 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15237 if (!SWIG_IsOK(ecode3
)) {
15238 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15240 arg3
= static_cast< int >(val3
);
15242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15243 (arg1
)->SetMargins(arg2
,arg3
);
15244 wxPyEndAllowThreads(__tstate
);
15245 if (PyErr_Occurred()) SWIG_fail
;
15247 resultobj
= SWIG_Py_Void();
15254 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15255 PyObject
*resultobj
= 0;
15256 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15257 wxColour
*arg2
= 0 ;
15261 PyObject
* obj0
= 0 ;
15262 PyObject
* obj1
= 0 ;
15263 char * kwnames
[] = {
15264 (char *) "self",(char *) "col", NULL
15267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15269 if (!SWIG_IsOK(res1
)) {
15270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15272 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15275 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15279 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15280 wxPyEndAllowThreads(__tstate
);
15281 if (PyErr_Occurred()) SWIG_fail
;
15283 resultobj
= SWIG_Py_Void();
15290 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15291 PyObject
*resultobj
= 0;
15292 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15303 PyObject
* obj0
= 0 ;
15304 PyObject
* obj1
= 0 ;
15305 PyObject
* obj2
= 0 ;
15306 PyObject
* obj3
= 0 ;
15307 char * kwnames
[] = {
15308 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15311 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15312 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15313 if (!SWIG_IsOK(res1
)) {
15314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15316 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15317 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15318 if (!SWIG_IsOK(res2
)) {
15319 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15322 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15324 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15327 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15329 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15330 if (!SWIG_IsOK(ecode4
)) {
15331 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15333 arg4
= static_cast< size_t >(val4
);
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15340 resultobj
= SWIG_Py_Void();
15347 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15348 PyObject
*resultobj
= 0;
15349 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15360 PyObject
* obj0
= 0 ;
15361 PyObject
* obj1
= 0 ;
15362 PyObject
* obj2
= 0 ;
15363 PyObject
* obj3
= 0 ;
15364 char * kwnames
[] = {
15365 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15370 if (!SWIG_IsOK(res1
)) {
15371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15373 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15374 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15375 if (!SWIG_IsOK(res2
)) {
15376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15379 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15381 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15384 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15386 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15387 if (!SWIG_IsOK(ecode4
)) {
15388 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15390 arg4
= static_cast< size_t >(val4
);
15392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15393 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15394 wxPyEndAllowThreads(__tstate
);
15395 if (PyErr_Occurred()) SWIG_fail
;
15397 resultobj
= SWIG_Py_Void();
15404 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15407 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15408 return SWIG_Py_Void();
15411 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15412 return SWIG_Python_InitShadowInstance(args
);
15415 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15416 PyObject
*resultobj
= 0;
15417 wxWindow
*arg1
= (wxWindow
*) 0 ;
15418 int arg2
= (int) wxID_ANY
;
15419 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15420 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15421 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15422 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15423 long arg5
= (long) 0 ;
15424 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15425 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15426 wxPyHtmlListBox
*result
= 0 ;
15435 bool temp6
= false ;
15436 PyObject
* obj0
= 0 ;
15437 PyObject
* obj1
= 0 ;
15438 PyObject
* obj2
= 0 ;
15439 PyObject
* obj3
= 0 ;
15440 PyObject
* obj4
= 0 ;
15441 PyObject
* obj5
= 0 ;
15442 char * kwnames
[] = {
15443 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15448 if (!SWIG_IsOK(res1
)) {
15449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15451 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15453 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15454 if (!SWIG_IsOK(ecode2
)) {
15455 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15457 arg2
= static_cast< int >(val2
);
15462 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15468 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15472 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15473 if (!SWIG_IsOK(ecode5
)) {
15474 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15476 arg5
= static_cast< long >(val5
);
15480 arg6
= wxString_in_helper(obj5
);
15481 if (arg6
== NULL
) SWIG_fail
;
15486 if (!wxPyCheckForApp()) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15489 wxPyEndAllowThreads(__tstate
);
15490 if (PyErr_Occurred()) SWIG_fail
;
15492 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15507 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15508 PyObject
*resultobj
= 0;
15509 wxPyHtmlListBox
*result
= 0 ;
15511 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15513 if (!wxPyCheckForApp()) SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15516 wxPyEndAllowThreads(__tstate
);
15517 if (PyErr_Occurred()) SWIG_fail
;
15519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15526 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15527 PyObject
*resultobj
= 0;
15528 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15529 PyObject
*arg2
= (PyObject
*) 0 ;
15530 PyObject
*arg3
= (PyObject
*) 0 ;
15533 PyObject
* obj0
= 0 ;
15534 PyObject
* obj1
= 0 ;
15535 PyObject
* obj2
= 0 ;
15536 char * kwnames
[] = {
15537 (char *) "self",(char *) "self",(char *) "_class", NULL
15540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15542 if (!SWIG_IsOK(res1
)) {
15543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15545 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15550 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= SWIG_Py_Void();
15561 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15562 PyObject
*resultobj
= 0;
15563 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15564 wxWindow
*arg2
= (wxWindow
*) 0 ;
15565 int arg3
= (int) wxID_ANY
;
15566 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15567 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15568 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15569 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15570 long arg6
= (long) 0 ;
15571 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15572 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15584 bool temp7
= false ;
15585 PyObject
* obj0
= 0 ;
15586 PyObject
* obj1
= 0 ;
15587 PyObject
* obj2
= 0 ;
15588 PyObject
* obj3
= 0 ;
15589 PyObject
* obj4
= 0 ;
15590 PyObject
* obj5
= 0 ;
15591 PyObject
* obj6
= 0 ;
15592 char * kwnames
[] = {
15593 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15598 if (!SWIG_IsOK(res1
)) {
15599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15601 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15602 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15603 if (!SWIG_IsOK(res2
)) {
15604 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15606 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15608 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15609 if (!SWIG_IsOK(ecode3
)) {
15610 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15612 arg3
= static_cast< int >(val3
);
15617 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15623 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15627 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15628 if (!SWIG_IsOK(ecode6
)) {
15629 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15631 arg6
= static_cast< long >(val6
);
15635 arg7
= wxString_in_helper(obj6
);
15636 if (arg7
== NULL
) SWIG_fail
;
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15643 wxPyEndAllowThreads(__tstate
);
15644 if (PyErr_Occurred()) SWIG_fail
;
15647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15663 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15664 PyObject
*resultobj
= 0;
15665 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15671 PyObject
* obj0
= 0 ;
15672 PyObject
* obj1
= 0 ;
15673 char * kwnames
[] = {
15674 (char *) "self",(char *) "count", NULL
15677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15679 if (!SWIG_IsOK(res1
)) {
15680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15682 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15683 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15684 if (!SWIG_IsOK(ecode2
)) {
15685 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15687 arg2
= static_cast< size_t >(val2
);
15689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15690 (arg1
)->SetItemCount(arg2
);
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15694 resultobj
= SWIG_Py_Void();
15701 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15702 PyObject
*resultobj
= 0;
15703 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15704 wxFileSystem
*result
= 0 ;
15707 PyObject
*swig_obj
[1] ;
15709 if (!args
) SWIG_fail
;
15710 swig_obj
[0] = args
;
15711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15712 if (!SWIG_IsOK(res1
)) {
15713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15715 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15719 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15720 result
= (wxFileSystem
*) &_result_ref
;
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15732 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
= 0;
15734 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15736 wxHtmlLinkInfo
*arg3
= 0 ;
15743 PyObject
* obj0
= 0 ;
15744 PyObject
* obj1
= 0 ;
15745 PyObject
* obj2
= 0 ;
15746 char * kwnames
[] = {
15747 (char *) "self",(char *) "n",(char *) "link", NULL
15750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15752 if (!SWIG_IsOK(res1
)) {
15753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15755 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15756 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15757 if (!SWIG_IsOK(ecode2
)) {
15758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15760 arg2
= static_cast< size_t >(val2
);
15761 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15762 if (!SWIG_IsOK(res3
)) {
15763 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15766 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15768 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= SWIG_Py_Void();
15782 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15785 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15786 return SWIG_Py_Void();
15789 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15790 return SWIG_Python_InitShadowInstance(args
);
15793 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15794 PyObject
*resultobj
= 0;
15795 wxPyTaskBarIcon
*result
= 0 ;
15797 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15799 if (!wxPyCheckForApp()) SWIG_fail
;
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15802 wxPyEndAllowThreads(__tstate
);
15803 if (PyErr_Occurred()) SWIG_fail
;
15805 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15812 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15813 PyObject
*resultobj
= 0;
15814 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15817 PyObject
*swig_obj
[1] ;
15819 if (!args
) SWIG_fail
;
15820 swig_obj
[0] = args
;
15821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15822 if (!SWIG_IsOK(res1
)) {
15823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15825 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15830 wxPyEndAllowThreads(__tstate
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15833 resultobj
= SWIG_Py_Void();
15840 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
= 0;
15842 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15843 PyObject
*arg2
= (PyObject
*) 0 ;
15844 PyObject
*arg3
= (PyObject
*) 0 ;
15850 PyObject
* obj0
= 0 ;
15851 PyObject
* obj1
= 0 ;
15852 PyObject
* obj2
= 0 ;
15853 PyObject
* obj3
= 0 ;
15854 char * kwnames
[] = {
15855 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15858 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15859 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15860 if (!SWIG_IsOK(res1
)) {
15861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15863 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15866 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15867 if (!SWIG_IsOK(ecode4
)) {
15868 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15870 arg4
= static_cast< int >(val4
);
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= SWIG_Py_Void();
15884 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15885 PyObject
*resultobj
= 0;
15886 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15889 PyObject
*swig_obj
[1] ;
15891 if (!args
) SWIG_fail
;
15892 swig_obj
[0] = args
;
15893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15894 if (!SWIG_IsOK(res1
)) {
15895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15897 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15900 wxPyTaskBarIcon_Destroy(arg1
);
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 resultobj
= SWIG_Py_Void();
15911 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15912 PyObject
*resultobj
= 0;
15913 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15917 PyObject
*swig_obj
[1] ;
15919 if (!args
) SWIG_fail
;
15920 swig_obj
[0] = args
;
15921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15922 if (!SWIG_IsOK(res1
)) {
15923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15925 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15928 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15929 wxPyEndAllowThreads(__tstate
);
15930 if (PyErr_Occurred()) SWIG_fail
;
15933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15941 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15942 PyObject
*resultobj
= 0;
15943 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15947 PyObject
*swig_obj
[1] ;
15949 if (!args
) SWIG_fail
;
15950 swig_obj
[0] = args
;
15951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15952 if (!SWIG_IsOK(res1
)) {
15953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15955 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15958 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15971 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
= 0;
15973 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15975 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15976 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15982 bool temp3
= false ;
15983 PyObject
* obj0
= 0 ;
15984 PyObject
* obj1
= 0 ;
15985 PyObject
* obj2
= 0 ;
15986 char * kwnames
[] = {
15987 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15992 if (!SWIG_IsOK(res1
)) {
15993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15995 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15996 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15997 if (!SWIG_IsOK(res2
)) {
15998 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16001 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16003 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16006 arg3
= wxString_in_helper(obj2
);
16007 if (arg3
== NULL
) SWIG_fail
;
16012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16013 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16014 wxPyEndAllowThreads(__tstate
);
16015 if (PyErr_Occurred()) SWIG_fail
;
16018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16034 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16035 PyObject
*resultobj
= 0;
16036 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16040 PyObject
*swig_obj
[1] ;
16042 if (!args
) SWIG_fail
;
16043 swig_obj
[0] = args
;
16044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16045 if (!SWIG_IsOK(res1
)) {
16046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16048 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16051 result
= (bool)(arg1
)->RemoveIcon();
16052 wxPyEndAllowThreads(__tstate
);
16053 if (PyErr_Occurred()) SWIG_fail
;
16056 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16064 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16065 PyObject
*resultobj
= 0;
16066 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16067 wxMenu
*arg2
= (wxMenu
*) 0 ;
16073 PyObject
* obj0
= 0 ;
16074 PyObject
* obj1
= 0 ;
16075 char * kwnames
[] = {
16076 (char *) "self",(char *) "menu", NULL
16079 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16080 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16081 if (!SWIG_IsOK(res1
)) {
16082 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16084 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16085 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16086 if (!SWIG_IsOK(res2
)) {
16087 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16089 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 result
= (bool)(arg1
)->PopupMenu(arg2
);
16093 wxPyEndAllowThreads(__tstate
);
16094 if (PyErr_Occurred()) SWIG_fail
;
16097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16105 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16107 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16108 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16109 return SWIG_Py_Void();
16112 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16113 return SWIG_Python_InitShadowInstance(args
);
16116 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16117 PyObject
*resultobj
= 0;
16119 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16120 wxTaskBarIconEvent
*result
= 0 ;
16125 PyObject
* obj0
= 0 ;
16126 PyObject
* obj1
= 0 ;
16127 char * kwnames
[] = {
16128 (char *) "evtType",(char *) "tbIcon", NULL
16131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16132 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16133 if (!SWIG_IsOK(ecode1
)) {
16134 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16136 arg1
= static_cast< wxEventType
>(val1
);
16137 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16138 if (!SWIG_IsOK(res2
)) {
16139 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16141 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16144 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16155 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16157 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16158 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16159 return SWIG_Py_Void();
16162 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16163 return SWIG_Python_InitShadowInstance(args
);
16166 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16167 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16172 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16173 PyObject
*pyobj
= 0;
16177 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16179 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16186 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16187 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16192 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16193 PyObject
*pyobj
= 0;
16197 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16199 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16206 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16207 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16212 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16213 PyObject
*pyobj
= 0;
16217 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16219 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16226 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16227 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16232 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16233 PyObject
*pyobj
= 0;
16237 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16239 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16246 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16247 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16252 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16253 PyObject
*pyobj
= 0;
16257 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16259 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16266 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16267 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16272 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16273 PyObject
*pyobj
= 0;
16277 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16279 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16286 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16287 PyObject
*resultobj
= 0;
16288 wxColourData
*result
= 0 ;
16290 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16293 result
= (wxColourData
*)new wxColourData();
16294 wxPyEndAllowThreads(__tstate
);
16295 if (PyErr_Occurred()) SWIG_fail
;
16297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16304 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16305 PyObject
*resultobj
= 0;
16306 wxColourData
*arg1
= (wxColourData
*) 0 ;
16309 PyObject
*swig_obj
[1] ;
16311 if (!args
) SWIG_fail
;
16312 swig_obj
[0] = args
;
16313 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16314 if (!SWIG_IsOK(res1
)) {
16315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16317 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16322 wxPyEndAllowThreads(__tstate
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16325 resultobj
= SWIG_Py_Void();
16332 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16333 PyObject
*resultobj
= 0;
16334 wxColourData
*arg1
= (wxColourData
*) 0 ;
16338 PyObject
*swig_obj
[1] ;
16340 if (!args
) SWIG_fail
;
16341 swig_obj
[0] = args
;
16342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16343 if (!SWIG_IsOK(res1
)) {
16344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16346 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16349 result
= (bool)(arg1
)->GetChooseFull();
16350 wxPyEndAllowThreads(__tstate
);
16351 if (PyErr_Occurred()) SWIG_fail
;
16354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16362 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16363 PyObject
*resultobj
= 0;
16364 wxColourData
*arg1
= (wxColourData
*) 0 ;
16368 PyObject
*swig_obj
[1] ;
16370 if (!args
) SWIG_fail
;
16371 swig_obj
[0] = args
;
16372 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16373 if (!SWIG_IsOK(res1
)) {
16374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16376 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16379 result
= (arg1
)->GetColour();
16380 wxPyEndAllowThreads(__tstate
);
16381 if (PyErr_Occurred()) SWIG_fail
;
16383 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16390 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16391 PyObject
*resultobj
= 0;
16392 wxColourData
*arg1
= (wxColourData
*) 0 ;
16399 PyObject
* obj0
= 0 ;
16400 PyObject
* obj1
= 0 ;
16401 char * kwnames
[] = {
16402 (char *) "self",(char *) "i", NULL
16405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16407 if (!SWIG_IsOK(res1
)) {
16408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16410 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16411 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16412 if (!SWIG_IsOK(ecode2
)) {
16413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16415 arg2
= static_cast< int >(val2
);
16417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16418 result
= (arg1
)->GetCustomColour(arg2
);
16419 wxPyEndAllowThreads(__tstate
);
16420 if (PyErr_Occurred()) SWIG_fail
;
16422 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16429 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
= 0;
16431 wxColourData
*arg1
= (wxColourData
*) 0 ;
16437 PyObject
* obj0
= 0 ;
16438 PyObject
* obj1
= 0 ;
16439 char * kwnames
[] = {
16440 (char *) "self",(char *) "flag", NULL
16443 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16444 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16445 if (!SWIG_IsOK(res1
)) {
16446 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16448 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16449 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16450 if (!SWIG_IsOK(ecode2
)) {
16451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16453 arg2
= static_cast< int >(val2
);
16455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16456 (arg1
)->SetChooseFull(arg2
);
16457 wxPyEndAllowThreads(__tstate
);
16458 if (PyErr_Occurred()) SWIG_fail
;
16460 resultobj
= SWIG_Py_Void();
16467 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16468 PyObject
*resultobj
= 0;
16469 wxColourData
*arg1
= (wxColourData
*) 0 ;
16470 wxColour
*arg2
= 0 ;
16474 PyObject
* obj0
= 0 ;
16475 PyObject
* obj1
= 0 ;
16476 char * kwnames
[] = {
16477 (char *) "self",(char *) "colour", NULL
16480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16482 if (!SWIG_IsOK(res1
)) {
16483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16485 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16488 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16492 (arg1
)->SetColour((wxColour
const &)*arg2
);
16493 wxPyEndAllowThreads(__tstate
);
16494 if (PyErr_Occurred()) SWIG_fail
;
16496 resultobj
= SWIG_Py_Void();
16503 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16504 PyObject
*resultobj
= 0;
16505 wxColourData
*arg1
= (wxColourData
*) 0 ;
16507 wxColour
*arg3
= 0 ;
16513 PyObject
* obj0
= 0 ;
16514 PyObject
* obj1
= 0 ;
16515 PyObject
* obj2
= 0 ;
16516 char * kwnames
[] = {
16517 (char *) "self",(char *) "i",(char *) "colour", NULL
16520 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16521 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16522 if (!SWIG_IsOK(res1
)) {
16523 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16525 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16527 if (!SWIG_IsOK(ecode2
)) {
16528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16530 arg2
= static_cast< int >(val2
);
16533 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16537 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16538 wxPyEndAllowThreads(__tstate
);
16539 if (PyErr_Occurred()) SWIG_fail
;
16541 resultobj
= SWIG_Py_Void();
16548 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16550 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16551 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16552 return SWIG_Py_Void();
16555 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16556 return SWIG_Python_InitShadowInstance(args
);
16559 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16560 PyObject
*resultobj
= 0;
16561 wxWindow
*arg1
= (wxWindow
*) 0 ;
16562 wxColourData
*arg2
= (wxColourData
*) NULL
;
16563 wxColourDialog
*result
= 0 ;
16568 PyObject
* obj0
= 0 ;
16569 PyObject
* obj1
= 0 ;
16570 char * kwnames
[] = {
16571 (char *) "parent",(char *) "data", NULL
16574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16576 if (!SWIG_IsOK(res1
)) {
16577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16579 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16581 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16582 if (!SWIG_IsOK(res2
)) {
16583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16585 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16588 if (!wxPyCheckForApp()) SWIG_fail
;
16589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16590 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16601 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16602 PyObject
*resultobj
= 0;
16603 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16604 wxColourData
*result
= 0 ;
16607 PyObject
*swig_obj
[1] ;
16609 if (!args
) SWIG_fail
;
16610 swig_obj
[0] = args
;
16611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16612 if (!SWIG_IsOK(res1
)) {
16613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16615 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16619 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16620 result
= (wxColourData
*) &_result_ref
;
16622 wxPyEndAllowThreads(__tstate
);
16623 if (PyErr_Occurred()) SWIG_fail
;
16625 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16632 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16634 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16635 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16636 return SWIG_Py_Void();
16639 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16640 return SWIG_Python_InitShadowInstance(args
);
16643 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16644 PyObject
*resultobj
= 0;
16645 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16646 wxColour
const &arg2_defvalue
= wxNullColour
;
16647 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16648 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16649 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16654 bool temp3
= false ;
16655 PyObject
* obj0
= 0 ;
16656 PyObject
* obj1
= 0 ;
16657 PyObject
* obj2
= 0 ;
16658 char * kwnames
[] = {
16659 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16665 if (!SWIG_IsOK(res1
)) {
16666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16668 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16673 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16678 arg3
= wxString_in_helper(obj2
);
16679 if (arg3
== NULL
) SWIG_fail
;
16684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16685 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16686 wxPyEndAllowThreads(__tstate
);
16687 if (PyErr_Occurred()) SWIG_fail
;
16689 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16704 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16705 PyObject
*resultobj
= 0;
16706 wxWindow
*arg1
= (wxWindow
*) 0 ;
16707 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16708 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16709 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16710 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16711 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16712 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16713 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16714 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16715 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16716 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16717 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16718 wxDirDialog
*result
= 0 ;
16721 bool temp2
= false ;
16722 bool temp3
= false ;
16727 bool temp7
= false ;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 PyObject
* obj2
= 0 ;
16731 PyObject
* obj3
= 0 ;
16732 PyObject
* obj4
= 0 ;
16733 PyObject
* obj5
= 0 ;
16734 PyObject
* obj6
= 0 ;
16735 char * kwnames
[] = {
16736 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16741 if (!SWIG_IsOK(res1
)) {
16742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16744 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16747 arg2
= wxString_in_helper(obj1
);
16748 if (arg2
== NULL
) SWIG_fail
;
16754 arg3
= wxString_in_helper(obj2
);
16755 if (arg3
== NULL
) SWIG_fail
;
16760 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16761 if (!SWIG_IsOK(ecode4
)) {
16762 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16764 arg4
= static_cast< long >(val4
);
16769 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16775 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16780 arg7
= wxString_in_helper(obj6
);
16781 if (arg7
== NULL
) SWIG_fail
;
16786 if (!wxPyCheckForApp()) SWIG_fail
;
16787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16788 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16789 wxPyEndAllowThreads(__tstate
);
16790 if (PyErr_Occurred()) SWIG_fail
;
16792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16823 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16824 PyObject
*resultobj
= 0;
16825 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16829 PyObject
*swig_obj
[1] ;
16831 if (!args
) SWIG_fail
;
16832 swig_obj
[0] = args
;
16833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16834 if (!SWIG_IsOK(res1
)) {
16835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16837 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 result
= (arg1
)->GetPath();
16841 wxPyEndAllowThreads(__tstate
);
16842 if (PyErr_Occurred()) SWIG_fail
;
16846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16857 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16858 PyObject
*resultobj
= 0;
16859 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16863 PyObject
*swig_obj
[1] ;
16865 if (!args
) SWIG_fail
;
16866 swig_obj
[0] = args
;
16867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16868 if (!SWIG_IsOK(res1
)) {
16869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16871 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 result
= (arg1
)->GetMessage();
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16891 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
= 0;
16893 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16894 wxString
*arg2
= 0 ;
16897 bool temp2
= false ;
16898 PyObject
* obj0
= 0 ;
16899 PyObject
* obj1
= 0 ;
16900 char * kwnames
[] = {
16901 (char *) "self",(char *) "message", NULL
16904 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16905 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16906 if (!SWIG_IsOK(res1
)) {
16907 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16909 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16911 arg2
= wxString_in_helper(obj1
);
16912 if (arg2
== NULL
) SWIG_fail
;
16916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16917 (arg1
)->SetMessage((wxString
const &)*arg2
);
16918 wxPyEndAllowThreads(__tstate
);
16919 if (PyErr_Occurred()) SWIG_fail
;
16921 resultobj
= SWIG_Py_Void();
16936 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16937 PyObject
*resultobj
= 0;
16938 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16939 wxString
*arg2
= 0 ;
16942 bool temp2
= false ;
16943 PyObject
* obj0
= 0 ;
16944 PyObject
* obj1
= 0 ;
16945 char * kwnames
[] = {
16946 (char *) "self",(char *) "path", NULL
16949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16951 if (!SWIG_IsOK(res1
)) {
16952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16954 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16956 arg2
= wxString_in_helper(obj1
);
16957 if (arg2
== NULL
) SWIG_fail
;
16961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16962 (arg1
)->SetPath((wxString
const &)*arg2
);
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= SWIG_Py_Void();
16981 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16984 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16985 return SWIG_Py_Void();
16988 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16989 return SWIG_Python_InitShadowInstance(args
);
16992 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16993 PyObject
*resultobj
= 0;
16994 wxWindow
*arg1
= (wxWindow
*) 0 ;
16995 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16996 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16997 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16998 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16999 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17000 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17001 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17002 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17003 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17004 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17005 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17006 wxFileDialog
*result
= 0 ;
17009 bool temp2
= false ;
17010 bool temp3
= false ;
17011 bool temp4
= false ;
17012 bool temp5
= false ;
17016 PyObject
* obj0
= 0 ;
17017 PyObject
* obj1
= 0 ;
17018 PyObject
* obj2
= 0 ;
17019 PyObject
* obj3
= 0 ;
17020 PyObject
* obj4
= 0 ;
17021 PyObject
* obj5
= 0 ;
17022 PyObject
* obj6
= 0 ;
17023 char * kwnames
[] = {
17024 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17029 if (!SWIG_IsOK(res1
)) {
17030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17032 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17035 arg2
= wxString_in_helper(obj1
);
17036 if (arg2
== NULL
) SWIG_fail
;
17042 arg3
= wxString_in_helper(obj2
);
17043 if (arg3
== NULL
) SWIG_fail
;
17049 arg4
= wxString_in_helper(obj3
);
17050 if (arg4
== NULL
) SWIG_fail
;
17056 arg5
= wxString_in_helper(obj4
);
17057 if (arg5
== NULL
) SWIG_fail
;
17062 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17063 if (!SWIG_IsOK(ecode6
)) {
17064 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17066 arg6
= static_cast< long >(val6
);
17071 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17075 if (!wxPyCheckForApp()) SWIG_fail
;
17076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17077 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17078 wxPyEndAllowThreads(__tstate
);
17079 if (PyErr_Occurred()) SWIG_fail
;
17081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17120 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17121 PyObject
*resultobj
= 0;
17122 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17123 wxString
*arg2
= 0 ;
17126 bool temp2
= false ;
17127 PyObject
* obj0
= 0 ;
17128 PyObject
* obj1
= 0 ;
17129 char * kwnames
[] = {
17130 (char *) "self",(char *) "message", NULL
17133 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17134 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17135 if (!SWIG_IsOK(res1
)) {
17136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17138 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17140 arg2
= wxString_in_helper(obj1
);
17141 if (arg2
== NULL
) SWIG_fail
;
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 (arg1
)->SetMessage((wxString
const &)*arg2
);
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17150 resultobj
= SWIG_Py_Void();
17165 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
= 0;
17167 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17168 wxString
*arg2
= 0 ;
17171 bool temp2
= false ;
17172 PyObject
* obj0
= 0 ;
17173 PyObject
* obj1
= 0 ;
17174 char * kwnames
[] = {
17175 (char *) "self",(char *) "path", NULL
17178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17180 if (!SWIG_IsOK(res1
)) {
17181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17183 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17185 arg2
= wxString_in_helper(obj1
);
17186 if (arg2
== NULL
) SWIG_fail
;
17190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17191 (arg1
)->SetPath((wxString
const &)*arg2
);
17192 wxPyEndAllowThreads(__tstate
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17195 resultobj
= SWIG_Py_Void();
17210 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17211 PyObject
*resultobj
= 0;
17212 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17213 wxString
*arg2
= 0 ;
17216 bool temp2
= false ;
17217 PyObject
* obj0
= 0 ;
17218 PyObject
* obj1
= 0 ;
17219 char * kwnames
[] = {
17220 (char *) "self",(char *) "dir", NULL
17223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17225 if (!SWIG_IsOK(res1
)) {
17226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17228 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17230 arg2
= wxString_in_helper(obj1
);
17231 if (arg2
== NULL
) SWIG_fail
;
17235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17236 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17237 wxPyEndAllowThreads(__tstate
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17240 resultobj
= SWIG_Py_Void();
17255 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17256 PyObject
*resultobj
= 0;
17257 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17258 wxString
*arg2
= 0 ;
17261 bool temp2
= false ;
17262 PyObject
* obj0
= 0 ;
17263 PyObject
* obj1
= 0 ;
17264 char * kwnames
[] = {
17265 (char *) "self",(char *) "name", NULL
17268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17270 if (!SWIG_IsOK(res1
)) {
17271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17273 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17275 arg2
= wxString_in_helper(obj1
);
17276 if (arg2
== NULL
) SWIG_fail
;
17280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17281 (arg1
)->SetFilename((wxString
const &)*arg2
);
17282 wxPyEndAllowThreads(__tstate
);
17283 if (PyErr_Occurred()) SWIG_fail
;
17285 resultobj
= SWIG_Py_Void();
17300 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17301 PyObject
*resultobj
= 0;
17302 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17303 wxString
*arg2
= 0 ;
17306 bool temp2
= false ;
17307 PyObject
* obj0
= 0 ;
17308 PyObject
* obj1
= 0 ;
17309 char * kwnames
[] = {
17310 (char *) "self",(char *) "wildCard", NULL
17313 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17314 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17315 if (!SWIG_IsOK(res1
)) {
17316 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17318 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17320 arg2
= wxString_in_helper(obj1
);
17321 if (arg2
== NULL
) SWIG_fail
;
17325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17326 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17330 resultobj
= SWIG_Py_Void();
17345 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
= 0;
17347 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17353 PyObject
* obj0
= 0 ;
17354 PyObject
* obj1
= 0 ;
17355 char * kwnames
[] = {
17356 (char *) "self",(char *) "filterIndex", NULL
17359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17361 if (!SWIG_IsOK(res1
)) {
17362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17364 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17366 if (!SWIG_IsOK(ecode2
)) {
17367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17369 arg2
= static_cast< int >(val2
);
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 (arg1
)->SetFilterIndex(arg2
);
17373 wxPyEndAllowThreads(__tstate
);
17374 if (PyErr_Occurred()) SWIG_fail
;
17376 resultobj
= SWIG_Py_Void();
17383 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17384 PyObject
*resultobj
= 0;
17385 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17389 PyObject
*swig_obj
[1] ;
17391 if (!args
) SWIG_fail
;
17392 swig_obj
[0] = args
;
17393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17394 if (!SWIG_IsOK(res1
)) {
17395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17397 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17408 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17417 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17418 PyObject
*resultobj
= 0;
17419 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17423 PyObject
*swig_obj
[1] ;
17425 if (!args
) SWIG_fail
;
17426 swig_obj
[0] = args
;
17427 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17428 if (!SWIG_IsOK(res1
)) {
17429 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17431 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17434 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17440 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17442 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17451 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17452 PyObject
*resultobj
= 0;
17453 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17457 PyObject
*swig_obj
[1] ;
17459 if (!args
) SWIG_fail
;
17460 swig_obj
[0] = args
;
17461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17462 if (!SWIG_IsOK(res1
)) {
17463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17465 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17485 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17486 PyObject
*resultobj
= 0;
17487 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17491 PyObject
*swig_obj
[1] ;
17493 if (!args
) SWIG_fail
;
17494 swig_obj
[0] = args
;
17495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17496 if (!SWIG_IsOK(res1
)) {
17497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17499 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17502 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17503 wxPyEndAllowThreads(__tstate
);
17504 if (PyErr_Occurred()) SWIG_fail
;
17508 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17510 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17519 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17520 PyObject
*resultobj
= 0;
17521 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17525 PyObject
*swig_obj
[1] ;
17527 if (!args
) SWIG_fail
;
17528 swig_obj
[0] = args
;
17529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17530 if (!SWIG_IsOK(res1
)) {
17531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17533 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17536 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17537 wxPyEndAllowThreads(__tstate
);
17538 if (PyErr_Occurred()) SWIG_fail
;
17542 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17544 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17553 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17554 PyObject
*resultobj
= 0;
17555 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17559 PyObject
*swig_obj
[1] ;
17561 if (!args
) SWIG_fail
;
17562 swig_obj
[0] = args
;
17563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17564 if (!SWIG_IsOK(res1
)) {
17565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17567 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 resultobj
= SWIG_From_int(static_cast< int >(result
));
17581 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17582 PyObject
*resultobj
= 0;
17583 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17584 PyObject
*result
= 0 ;
17587 PyObject
*swig_obj
[1] ;
17589 if (!args
) SWIG_fail
;
17590 swig_obj
[0] = args
;
17591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17592 if (!SWIG_IsOK(res1
)) {
17593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17595 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= result
;
17609 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17610 PyObject
*resultobj
= 0;
17611 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17612 PyObject
*result
= 0 ;
17615 PyObject
*swig_obj
[1] ;
17617 if (!args
) SWIG_fail
;
17618 swig_obj
[0] = args
;
17619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17620 if (!SWIG_IsOK(res1
)) {
17621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17623 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17627 wxPyEndAllowThreads(__tstate
);
17628 if (PyErr_Occurred()) SWIG_fail
;
17630 resultobj
= result
;
17637 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17640 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17641 return SWIG_Py_Void();
17644 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17645 return SWIG_Python_InitShadowInstance(args
);
17648 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17649 PyObject
*resultobj
= 0;
17650 wxWindow
*arg1
= (wxWindow
*) 0 ;
17651 wxString
*arg2
= 0 ;
17652 wxString
*arg3
= 0 ;
17653 int arg4
= (int) 0 ;
17654 wxString
*arg5
= (wxString
*) NULL
;
17655 long arg6
= (long) wxCHOICEDLG_STYLE
;
17656 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17657 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17658 wxMultiChoiceDialog
*result
= 0 ;
17661 bool temp2
= false ;
17662 bool temp3
= false ;
17666 PyObject
* obj0
= 0 ;
17667 PyObject
* obj1
= 0 ;
17668 PyObject
* obj2
= 0 ;
17669 PyObject
* obj3
= 0 ;
17670 PyObject
* obj4
= 0 ;
17671 PyObject
* obj5
= 0 ;
17672 char * kwnames
[] = {
17673 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17678 if (!SWIG_IsOK(res1
)) {
17679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17681 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17683 arg2
= wxString_in_helper(obj1
);
17684 if (arg2
== NULL
) SWIG_fail
;
17688 arg3
= wxString_in_helper(obj2
);
17689 if (arg3
== NULL
) SWIG_fail
;
17694 arg4
= PyList_Size(obj3
);
17695 arg5
= wxString_LIST_helper(obj3
);
17696 if (arg5
== NULL
) SWIG_fail
;
17700 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17701 if (!SWIG_IsOK(ecode6
)) {
17702 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17704 arg6
= static_cast< long >(val6
);
17709 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17713 if (!wxPyCheckForApp()) SWIG_fail
;
17714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17715 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17716 wxPyEndAllowThreads(__tstate
);
17717 if (PyErr_Occurred()) SWIG_fail
;
17719 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17729 if (arg5
) delete [] arg5
;
17742 if (arg5
) delete [] arg5
;
17748 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17749 PyObject
*resultobj
= 0;
17750 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17751 wxArrayInt
*arg2
= 0 ;
17754 bool temp2
= false ;
17755 PyObject
* obj0
= 0 ;
17756 PyObject
* obj1
= 0 ;
17757 char * kwnames
[] = {
17758 (char *) "self",(char *) "selections", NULL
17761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17763 if (!SWIG_IsOK(res1
)) {
17764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17766 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17768 if (! PySequence_Check(obj1
)) {
17769 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17772 arg2
= new wxArrayInt
;
17774 int i
, len
=PySequence_Length(obj1
);
17775 for (i
=0; i
<len
; i
++) {
17776 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17777 PyObject
* number
= PyNumber_Int(item
);
17778 arg2
->Add(PyInt_AS_LONG(number
));
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 resultobj
= SWIG_Py_Void();
17791 if (temp2
) delete arg2
;
17796 if (temp2
) delete arg2
;
17802 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17803 PyObject
*resultobj
= 0;
17804 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17805 PyObject
*result
= 0 ;
17808 PyObject
*swig_obj
[1] ;
17810 if (!args
) SWIG_fail
;
17811 swig_obj
[0] = args
;
17812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17813 if (!SWIG_IsOK(res1
)) {
17814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17816 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17823 resultobj
= result
;
17830 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17832 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17833 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17834 return SWIG_Py_Void();
17837 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17838 return SWIG_Python_InitShadowInstance(args
);
17841 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
= 0;
17843 wxWindow
*arg1
= (wxWindow
*) 0 ;
17844 wxString
*arg2
= 0 ;
17845 wxString
*arg3
= 0 ;
17847 wxString
*arg5
= (wxString
*) 0 ;
17848 long arg6
= (long) wxCHOICEDLG_STYLE
;
17849 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17850 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17851 wxSingleChoiceDialog
*result
= 0 ;
17854 bool temp2
= false ;
17855 bool temp3
= false ;
17859 PyObject
* obj0
= 0 ;
17860 PyObject
* obj1
= 0 ;
17861 PyObject
* obj2
= 0 ;
17862 PyObject
* obj3
= 0 ;
17863 PyObject
* obj4
= 0 ;
17864 PyObject
* obj5
= 0 ;
17865 char * kwnames
[] = {
17866 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17871 if (!SWIG_IsOK(res1
)) {
17872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17874 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17876 arg2
= wxString_in_helper(obj1
);
17877 if (arg2
== NULL
) SWIG_fail
;
17881 arg3
= wxString_in_helper(obj2
);
17882 if (arg3
== NULL
) SWIG_fail
;
17886 arg4
= PyList_Size(obj3
);
17887 arg5
= wxString_LIST_helper(obj3
);
17888 if (arg5
== NULL
) SWIG_fail
;
17891 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17892 if (!SWIG_IsOK(ecode6
)) {
17893 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17895 arg6
= static_cast< long >(val6
);
17900 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17904 if (!wxPyCheckForApp()) SWIG_fail
;
17905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17906 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17920 if (arg5
) delete [] arg5
;
17933 if (arg5
) delete [] arg5
;
17939 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17940 PyObject
*resultobj
= 0;
17941 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17945 PyObject
*swig_obj
[1] ;
17947 if (!args
) SWIG_fail
;
17948 swig_obj
[0] = args
;
17949 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17950 if (!SWIG_IsOK(res1
)) {
17951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17953 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17956 result
= (int)(arg1
)->GetSelection();
17957 wxPyEndAllowThreads(__tstate
);
17958 if (PyErr_Occurred()) SWIG_fail
;
17960 resultobj
= SWIG_From_int(static_cast< int >(result
));
17967 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17968 PyObject
*resultobj
= 0;
17969 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17973 PyObject
*swig_obj
[1] ;
17975 if (!args
) SWIG_fail
;
17976 swig_obj
[0] = args
;
17977 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17978 if (!SWIG_IsOK(res1
)) {
17979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17981 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17984 result
= (arg1
)->GetStringSelection();
17985 wxPyEndAllowThreads(__tstate
);
17986 if (PyErr_Occurred()) SWIG_fail
;
17990 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17992 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18001 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18002 PyObject
*resultobj
= 0;
18003 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 PyObject
* obj1
= 0 ;
18011 char * kwnames
[] = {
18012 (char *) "self",(char *) "sel", NULL
18015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18017 if (!SWIG_IsOK(res1
)) {
18018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18020 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18022 if (!SWIG_IsOK(ecode2
)) {
18023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18025 arg2
= static_cast< int >(val2
);
18027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18028 (arg1
)->SetSelection(arg2
);
18029 wxPyEndAllowThreads(__tstate
);
18030 if (PyErr_Occurred()) SWIG_fail
;
18032 resultobj
= SWIG_Py_Void();
18039 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18041 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18042 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18043 return SWIG_Py_Void();
18046 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18047 return SWIG_Python_InitShadowInstance(args
);
18050 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18051 PyObject
*resultobj
= 0;
18052 wxWindow
*arg1
= (wxWindow
*) 0 ;
18053 wxString
*arg2
= 0 ;
18054 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18055 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18056 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18057 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18058 long arg5
= (long) wxTextEntryDialogStyle
;
18059 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18060 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18061 wxTextEntryDialog
*result
= 0 ;
18064 bool temp2
= false ;
18065 bool temp3
= false ;
18066 bool temp4
= false ;
18070 PyObject
* obj0
= 0 ;
18071 PyObject
* obj1
= 0 ;
18072 PyObject
* obj2
= 0 ;
18073 PyObject
* obj3
= 0 ;
18074 PyObject
* obj4
= 0 ;
18075 PyObject
* obj5
= 0 ;
18076 char * kwnames
[] = {
18077 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18080 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18081 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18082 if (!SWIG_IsOK(res1
)) {
18083 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18085 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18087 arg2
= wxString_in_helper(obj1
);
18088 if (arg2
== NULL
) SWIG_fail
;
18093 arg3
= wxString_in_helper(obj2
);
18094 if (arg3
== NULL
) SWIG_fail
;
18100 arg4
= wxString_in_helper(obj3
);
18101 if (arg4
== NULL
) SWIG_fail
;
18106 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18107 if (!SWIG_IsOK(ecode5
)) {
18108 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18110 arg5
= static_cast< long >(val5
);
18115 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18119 if (!wxPyCheckForApp()) SWIG_fail
;
18120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18121 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18156 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18157 PyObject
*resultobj
= 0;
18158 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18162 PyObject
*swig_obj
[1] ;
18164 if (!args
) SWIG_fail
;
18165 swig_obj
[0] = args
;
18166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18167 if (!SWIG_IsOK(res1
)) {
18168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18170 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 result
= (arg1
)->GetValue();
18174 wxPyEndAllowThreads(__tstate
);
18175 if (PyErr_Occurred()) SWIG_fail
;
18179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18190 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18191 PyObject
*resultobj
= 0;
18192 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18193 wxString
*arg2
= 0 ;
18196 bool temp2
= false ;
18197 PyObject
* obj0
= 0 ;
18198 PyObject
* obj1
= 0 ;
18199 char * kwnames
[] = {
18200 (char *) "self",(char *) "value", NULL
18203 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18204 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18205 if (!SWIG_IsOK(res1
)) {
18206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18208 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18210 arg2
= wxString_in_helper(obj1
);
18211 if (arg2
== NULL
) SWIG_fail
;
18215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18216 (arg1
)->SetValue((wxString
const &)*arg2
);
18217 wxPyEndAllowThreads(__tstate
);
18218 if (PyErr_Occurred()) SWIG_fail
;
18220 resultobj
= SWIG_Py_Void();
18235 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18237 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18238 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18239 return SWIG_Py_Void();
18242 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18243 return SWIG_Python_InitShadowInstance(args
);
18246 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18247 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18252 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18253 PyObject
*pyobj
= 0;
18257 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18259 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18266 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
= 0;
18268 wxWindow
*arg1
= (wxWindow
*) 0 ;
18269 wxString
*arg2
= 0 ;
18270 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18271 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18272 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18273 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18274 long arg5
= (long) wxTextEntryDialogStyle
;
18275 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18276 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18277 wxPasswordEntryDialog
*result
= 0 ;
18280 bool temp2
= false ;
18281 bool temp3
= false ;
18282 bool temp4
= false ;
18286 PyObject
* obj0
= 0 ;
18287 PyObject
* obj1
= 0 ;
18288 PyObject
* obj2
= 0 ;
18289 PyObject
* obj3
= 0 ;
18290 PyObject
* obj4
= 0 ;
18291 PyObject
* obj5
= 0 ;
18292 char * kwnames
[] = {
18293 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18298 if (!SWIG_IsOK(res1
)) {
18299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18301 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18303 arg2
= wxString_in_helper(obj1
);
18304 if (arg2
== NULL
) SWIG_fail
;
18309 arg3
= wxString_in_helper(obj2
);
18310 if (arg3
== NULL
) SWIG_fail
;
18316 arg4
= wxString_in_helper(obj3
);
18317 if (arg4
== NULL
) SWIG_fail
;
18322 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18323 if (!SWIG_IsOK(ecode5
)) {
18324 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18326 arg5
= static_cast< long >(val5
);
18331 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18337 wxPyEndAllowThreads(__tstate
);
18338 if (PyErr_Occurred()) SWIG_fail
;
18340 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18371 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18373 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18374 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18375 return SWIG_Py_Void();
18378 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18379 return SWIG_Python_InitShadowInstance(args
);
18382 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18383 PyObject
*resultobj
= 0;
18384 wxFontData
*result
= 0 ;
18386 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18389 result
= (wxFontData
*)new wxFontData();
18390 wxPyEndAllowThreads(__tstate
);
18391 if (PyErr_Occurred()) SWIG_fail
;
18393 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18400 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18401 PyObject
*resultobj
= 0;
18402 wxFontData
*arg1
= (wxFontData
*) 0 ;
18405 PyObject
*swig_obj
[1] ;
18407 if (!args
) SWIG_fail
;
18408 swig_obj
[0] = args
;
18409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18410 if (!SWIG_IsOK(res1
)) {
18411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18413 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 resultobj
= SWIG_Py_Void();
18428 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
= 0;
18430 wxFontData
*arg1
= (wxFontData
*) 0 ;
18436 PyObject
* obj0
= 0 ;
18437 PyObject
* obj1
= 0 ;
18438 char * kwnames
[] = {
18439 (char *) "self",(char *) "enable", NULL
18442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18444 if (!SWIG_IsOK(res1
)) {
18445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18447 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18448 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18449 if (!SWIG_IsOK(ecode2
)) {
18450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18452 arg2
= static_cast< bool >(val2
);
18454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18455 (arg1
)->EnableEffects(arg2
);
18456 wxPyEndAllowThreads(__tstate
);
18457 if (PyErr_Occurred()) SWIG_fail
;
18459 resultobj
= SWIG_Py_Void();
18466 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18467 PyObject
*resultobj
= 0;
18468 wxFontData
*arg1
= (wxFontData
*) 0 ;
18472 PyObject
*swig_obj
[1] ;
18474 if (!args
) SWIG_fail
;
18475 swig_obj
[0] = args
;
18476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18477 if (!SWIG_IsOK(res1
)) {
18478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18480 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18483 result
= (bool)(arg1
)->GetAllowSymbols();
18484 wxPyEndAllowThreads(__tstate
);
18485 if (PyErr_Occurred()) SWIG_fail
;
18488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18496 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18497 PyObject
*resultobj
= 0;
18498 wxFontData
*arg1
= (wxFontData
*) 0 ;
18502 PyObject
*swig_obj
[1] ;
18504 if (!args
) SWIG_fail
;
18505 swig_obj
[0] = args
;
18506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18507 if (!SWIG_IsOK(res1
)) {
18508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18510 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 result
= (arg1
)->GetColour();
18514 wxPyEndAllowThreads(__tstate
);
18515 if (PyErr_Occurred()) SWIG_fail
;
18517 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18524 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18525 PyObject
*resultobj
= 0;
18526 wxFontData
*arg1
= (wxFontData
*) 0 ;
18530 PyObject
*swig_obj
[1] ;
18532 if (!args
) SWIG_fail
;
18533 swig_obj
[0] = args
;
18534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18535 if (!SWIG_IsOK(res1
)) {
18536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18538 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18541 result
= (arg1
)->GetChosenFont();
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18545 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18552 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18553 PyObject
*resultobj
= 0;
18554 wxFontData
*arg1
= (wxFontData
*) 0 ;
18558 PyObject
*swig_obj
[1] ;
18560 if (!args
) SWIG_fail
;
18561 swig_obj
[0] = args
;
18562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18563 if (!SWIG_IsOK(res1
)) {
18564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18566 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18569 result
= (bool)(arg1
)->GetEnableEffects();
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18582 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18583 PyObject
*resultobj
= 0;
18584 wxFontData
*arg1
= (wxFontData
*) 0 ;
18588 PyObject
*swig_obj
[1] ;
18590 if (!args
) SWIG_fail
;
18591 swig_obj
[0] = args
;
18592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18593 if (!SWIG_IsOK(res1
)) {
18594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18596 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18599 result
= (arg1
)->GetInitialFont();
18600 wxPyEndAllowThreads(__tstate
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18603 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18610 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18611 PyObject
*resultobj
= 0;
18612 wxFontData
*arg1
= (wxFontData
*) 0 ;
18616 PyObject
*swig_obj
[1] ;
18618 if (!args
) SWIG_fail
;
18619 swig_obj
[0] = args
;
18620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18621 if (!SWIG_IsOK(res1
)) {
18622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18624 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18627 result
= (bool)(arg1
)->GetShowHelp();
18628 wxPyEndAllowThreads(__tstate
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18640 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18641 PyObject
*resultobj
= 0;
18642 wxFontData
*arg1
= (wxFontData
*) 0 ;
18648 PyObject
* obj0
= 0 ;
18649 PyObject
* obj1
= 0 ;
18650 char * kwnames
[] = {
18651 (char *) "self",(char *) "allowSymbols", NULL
18654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18656 if (!SWIG_IsOK(res1
)) {
18657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18659 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18660 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18661 if (!SWIG_IsOK(ecode2
)) {
18662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18664 arg2
= static_cast< bool >(val2
);
18666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18667 (arg1
)->SetAllowSymbols(arg2
);
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 resultobj
= SWIG_Py_Void();
18678 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
= 0;
18680 wxFontData
*arg1
= (wxFontData
*) 0 ;
18686 PyObject
* obj0
= 0 ;
18687 PyObject
* obj1
= 0 ;
18688 char * kwnames
[] = {
18689 (char *) "self",(char *) "font", NULL
18692 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18693 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18694 if (!SWIG_IsOK(res1
)) {
18695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18697 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18698 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18699 if (!SWIG_IsOK(res2
)) {
18700 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18703 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18705 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18709 wxPyEndAllowThreads(__tstate
);
18710 if (PyErr_Occurred()) SWIG_fail
;
18712 resultobj
= SWIG_Py_Void();
18719 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18720 PyObject
*resultobj
= 0;
18721 wxFontData
*arg1
= (wxFontData
*) 0 ;
18722 wxColour
*arg2
= 0 ;
18726 PyObject
* obj0
= 0 ;
18727 PyObject
* obj1
= 0 ;
18728 char * kwnames
[] = {
18729 (char *) "self",(char *) "colour", NULL
18732 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18733 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18734 if (!SWIG_IsOK(res1
)) {
18735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18737 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18740 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18744 (arg1
)->SetColour((wxColour
const &)*arg2
);
18745 wxPyEndAllowThreads(__tstate
);
18746 if (PyErr_Occurred()) SWIG_fail
;
18748 resultobj
= SWIG_Py_Void();
18755 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18756 PyObject
*resultobj
= 0;
18757 wxFontData
*arg1
= (wxFontData
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 PyObject
* obj1
= 0 ;
18765 char * kwnames
[] = {
18766 (char *) "self",(char *) "font", NULL
18769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18771 if (!SWIG_IsOK(res1
)) {
18772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18774 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18775 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18776 if (!SWIG_IsOK(res2
)) {
18777 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18780 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18782 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18786 wxPyEndAllowThreads(__tstate
);
18787 if (PyErr_Occurred()) SWIG_fail
;
18789 resultobj
= SWIG_Py_Void();
18796 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18797 PyObject
*resultobj
= 0;
18798 wxFontData
*arg1
= (wxFontData
*) 0 ;
18807 PyObject
* obj0
= 0 ;
18808 PyObject
* obj1
= 0 ;
18809 PyObject
* obj2
= 0 ;
18810 char * kwnames
[] = {
18811 (char *) "self",(char *) "min",(char *) "max", NULL
18814 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18815 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18816 if (!SWIG_IsOK(res1
)) {
18817 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18819 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18820 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18821 if (!SWIG_IsOK(ecode2
)) {
18822 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18824 arg2
= static_cast< int >(val2
);
18825 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18826 if (!SWIG_IsOK(ecode3
)) {
18827 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18829 arg3
= static_cast< int >(val3
);
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 (arg1
)->SetRange(arg2
,arg3
);
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18836 resultobj
= SWIG_Py_Void();
18843 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
= 0;
18845 wxFontData
*arg1
= (wxFontData
*) 0 ;
18851 PyObject
* obj0
= 0 ;
18852 PyObject
* obj1
= 0 ;
18853 char * kwnames
[] = {
18854 (char *) "self",(char *) "showHelp", NULL
18857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18859 if (!SWIG_IsOK(res1
)) {
18860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18862 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18863 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18864 if (!SWIG_IsOK(ecode2
)) {
18865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18867 arg2
= static_cast< bool >(val2
);
18869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18870 (arg1
)->SetShowHelp(arg2
);
18871 wxPyEndAllowThreads(__tstate
);
18872 if (PyErr_Occurred()) SWIG_fail
;
18874 resultobj
= SWIG_Py_Void();
18881 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18883 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18884 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18885 return SWIG_Py_Void();
18888 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18889 return SWIG_Python_InitShadowInstance(args
);
18892 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18893 PyObject
*resultobj
= 0;
18894 wxWindow
*arg1
= (wxWindow
*) 0 ;
18895 wxFontData
*arg2
= 0 ;
18896 wxFontDialog
*result
= 0 ;
18901 PyObject
* obj0
= 0 ;
18902 PyObject
* obj1
= 0 ;
18903 char * kwnames
[] = {
18904 (char *) "parent",(char *) "data", NULL
18907 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18908 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18909 if (!SWIG_IsOK(res1
)) {
18910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18912 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18913 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18914 if (!SWIG_IsOK(res2
)) {
18915 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18918 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18920 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18922 if (!wxPyCheckForApp()) SWIG_fail
;
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18935 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18936 PyObject
*resultobj
= 0;
18937 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18938 wxFontData
*result
= 0 ;
18941 PyObject
*swig_obj
[1] ;
18943 if (!args
) SWIG_fail
;
18944 swig_obj
[0] = args
;
18945 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18946 if (!SWIG_IsOK(res1
)) {
18947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18949 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18953 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18954 result
= (wxFontData
*) &_result_ref
;
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18966 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18969 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18970 return SWIG_Py_Void();
18973 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18974 return SWIG_Python_InitShadowInstance(args
);
18977 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18978 PyObject
*resultobj
= 0;
18979 wxWindow
*arg1
= (wxWindow
*) NULL
;
18980 wxFont
const &arg2_defvalue
= wxNullFont
;
18981 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18982 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18983 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18989 bool temp3
= false ;
18990 PyObject
* obj0
= 0 ;
18991 PyObject
* obj1
= 0 ;
18992 PyObject
* obj2
= 0 ;
18993 char * kwnames
[] = {
18994 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18999 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19000 if (!SWIG_IsOK(res1
)) {
19001 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19003 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19006 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19007 if (!SWIG_IsOK(res2
)) {
19008 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19011 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19013 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19017 arg3
= wxString_in_helper(obj2
);
19018 if (arg3
== NULL
) SWIG_fail
;
19023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19024 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19025 wxPyEndAllowThreads(__tstate
);
19026 if (PyErr_Occurred()) SWIG_fail
;
19028 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19043 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
= 0;
19045 wxWindow
*arg1
= (wxWindow
*) 0 ;
19046 wxString
*arg2
= 0 ;
19047 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19048 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19049 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19050 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19051 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19052 wxMessageDialog
*result
= 0 ;
19055 bool temp2
= false ;
19056 bool temp3
= false ;
19060 PyObject
* obj0
= 0 ;
19061 PyObject
* obj1
= 0 ;
19062 PyObject
* obj2
= 0 ;
19063 PyObject
* obj3
= 0 ;
19064 PyObject
* obj4
= 0 ;
19065 char * kwnames
[] = {
19066 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19071 if (!SWIG_IsOK(res1
)) {
19072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19074 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19076 arg2
= wxString_in_helper(obj1
);
19077 if (arg2
== NULL
) SWIG_fail
;
19082 arg3
= wxString_in_helper(obj2
);
19083 if (arg3
== NULL
) SWIG_fail
;
19088 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19089 if (!SWIG_IsOK(ecode4
)) {
19090 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19092 arg4
= static_cast< long >(val4
);
19097 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19101 if (!wxPyCheckForApp()) SWIG_fail
;
19102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19103 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19104 wxPyEndAllowThreads(__tstate
);
19105 if (PyErr_Occurred()) SWIG_fail
;
19107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19130 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19132 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19133 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19134 return SWIG_Py_Void();
19137 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19138 return SWIG_Python_InitShadowInstance(args
);
19141 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
= 0;
19143 wxString
*arg1
= 0 ;
19144 wxString
*arg2
= 0 ;
19145 int arg3
= (int) 100 ;
19146 wxWindow
*arg4
= (wxWindow
*) NULL
;
19147 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19148 wxProgressDialog
*result
= 0 ;
19149 bool temp1
= false ;
19150 bool temp2
= false ;
19157 PyObject
* obj0
= 0 ;
19158 PyObject
* obj1
= 0 ;
19159 PyObject
* obj2
= 0 ;
19160 PyObject
* obj3
= 0 ;
19161 PyObject
* obj4
= 0 ;
19162 char * kwnames
[] = {
19163 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19166 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19168 arg1
= wxString_in_helper(obj0
);
19169 if (arg1
== NULL
) SWIG_fail
;
19173 arg2
= wxString_in_helper(obj1
);
19174 if (arg2
== NULL
) SWIG_fail
;
19178 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19179 if (!SWIG_IsOK(ecode3
)) {
19180 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19182 arg3
= static_cast< int >(val3
);
19185 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19186 if (!SWIG_IsOK(res4
)) {
19187 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19189 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19192 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19193 if (!SWIG_IsOK(ecode5
)) {
19194 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19196 arg5
= static_cast< int >(val5
);
19199 if (!wxPyCheckForApp()) SWIG_fail
;
19200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19201 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19228 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
= 0;
19230 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19232 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19233 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19234 bool *arg4
= (bool *) 0 ;
19240 bool temp3
= false ;
19242 int res4
= SWIG_TMPOBJ
;
19243 PyObject
* obj0
= 0 ;
19244 PyObject
* obj1
= 0 ;
19245 PyObject
* obj2
= 0 ;
19246 char * kwnames
[] = {
19247 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19253 if (!SWIG_IsOK(res1
)) {
19254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19256 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19258 if (!SWIG_IsOK(ecode2
)) {
19259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19261 arg2
= static_cast< int >(val2
);
19264 arg3
= wxString_in_helper(obj2
);
19265 if (arg3
== NULL
) SWIG_fail
;
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19272 wxPyEndAllowThreads(__tstate
);
19273 if (PyErr_Occurred()) SWIG_fail
;
19276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19278 if (SWIG_IsTmpObj(res4
)) {
19279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19281 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19298 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19299 PyObject
*resultobj
= 0;
19300 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19303 PyObject
*swig_obj
[1] ;
19305 if (!args
) SWIG_fail
;
19306 swig_obj
[0] = args
;
19307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19308 if (!SWIG_IsOK(res1
)) {
19309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19311 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19315 wxPyEndAllowThreads(__tstate
);
19316 if (PyErr_Occurred()) SWIG_fail
;
19318 resultobj
= SWIG_Py_Void();
19325 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19327 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19328 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19329 return SWIG_Py_Void();
19332 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19333 return SWIG_Python_InitShadowInstance(args
);
19336 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19337 PyObject
*resultobj
= 0;
19338 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19339 int arg2
= (int) 0 ;
19340 wxFindDialogEvent
*result
= 0 ;
19345 PyObject
* obj0
= 0 ;
19346 PyObject
* obj1
= 0 ;
19347 char * kwnames
[] = {
19348 (char *) "commandType",(char *) "id", NULL
19351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19353 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19354 if (!SWIG_IsOK(ecode1
)) {
19355 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19357 arg1
= static_cast< wxEventType
>(val1
);
19360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19361 if (!SWIG_IsOK(ecode2
)) {
19362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19364 arg2
= static_cast< int >(val2
);
19367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19368 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19379 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19380 PyObject
*resultobj
= 0;
19381 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19385 PyObject
*swig_obj
[1] ;
19387 if (!args
) SWIG_fail
;
19388 swig_obj
[0] = args
;
19389 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19390 if (!SWIG_IsOK(res1
)) {
19391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19393 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 result
= (int)(arg1
)->GetFlags();
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 resultobj
= SWIG_From_int(static_cast< int >(result
));
19407 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19408 PyObject
*resultobj
= 0;
19409 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19410 wxString
*result
= 0 ;
19413 PyObject
*swig_obj
[1] ;
19415 if (!args
) SWIG_fail
;
19416 swig_obj
[0] = args
;
19417 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19418 if (!SWIG_IsOK(res1
)) {
19419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19421 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19425 wxString
const &_result_ref
= (arg1
)->GetFindString();
19426 result
= (wxString
*) &_result_ref
;
19428 wxPyEndAllowThreads(__tstate
);
19429 if (PyErr_Occurred()) SWIG_fail
;
19433 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19435 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19444 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19445 PyObject
*resultobj
= 0;
19446 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19447 wxString
*result
= 0 ;
19450 PyObject
*swig_obj
[1] ;
19452 if (!args
) SWIG_fail
;
19453 swig_obj
[0] = args
;
19454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19455 if (!SWIG_IsOK(res1
)) {
19456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19458 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19463 result
= (wxString
*) &_result_ref
;
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19472 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19481 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19482 PyObject
*resultobj
= 0;
19483 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19484 wxFindReplaceDialog
*result
= 0 ;
19487 PyObject
*swig_obj
[1] ;
19489 if (!args
) SWIG_fail
;
19490 swig_obj
[0] = args
;
19491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19492 if (!SWIG_IsOK(res1
)) {
19493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19495 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19498 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19499 wxPyEndAllowThreads(__tstate
);
19500 if (PyErr_Occurred()) SWIG_fail
;
19502 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19509 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19510 PyObject
*resultobj
= 0;
19511 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19517 PyObject
* obj0
= 0 ;
19518 PyObject
* obj1
= 0 ;
19519 char * kwnames
[] = {
19520 (char *) "self",(char *) "flags", NULL
19523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19525 if (!SWIG_IsOK(res1
)) {
19526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19528 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19530 if (!SWIG_IsOK(ecode2
)) {
19531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19533 arg2
= static_cast< int >(val2
);
19535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19536 (arg1
)->SetFlags(arg2
);
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 resultobj
= SWIG_Py_Void();
19547 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
= 0;
19549 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19550 wxString
*arg2
= 0 ;
19553 bool temp2
= false ;
19554 PyObject
* obj0
= 0 ;
19555 PyObject
* obj1
= 0 ;
19556 char * kwnames
[] = {
19557 (char *) "self",(char *) "str", NULL
19560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19562 if (!SWIG_IsOK(res1
)) {
19563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19565 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19567 arg2
= wxString_in_helper(obj1
);
19568 if (arg2
== NULL
) SWIG_fail
;
19572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19573 (arg1
)->SetFindString((wxString
const &)*arg2
);
19574 wxPyEndAllowThreads(__tstate
);
19575 if (PyErr_Occurred()) SWIG_fail
;
19577 resultobj
= SWIG_Py_Void();
19592 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19593 PyObject
*resultobj
= 0;
19594 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19595 wxString
*arg2
= 0 ;
19598 bool temp2
= false ;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 char * kwnames
[] = {
19602 (char *) "self",(char *) "str", NULL
19605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19607 if (!SWIG_IsOK(res1
)) {
19608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19610 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19612 arg2
= wxString_in_helper(obj1
);
19613 if (arg2
== NULL
) SWIG_fail
;
19617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19618 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19622 resultobj
= SWIG_Py_Void();
19637 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19639 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19640 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19641 return SWIG_Py_Void();
19644 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19645 return SWIG_Python_InitShadowInstance(args
);
19648 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19649 PyObject
*resultobj
= 0;
19650 int arg1
= (int) 0 ;
19651 wxFindReplaceData
*result
= 0 ;
19654 PyObject
* obj0
= 0 ;
19655 char * kwnames
[] = {
19656 (char *) "flags", NULL
19659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19661 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19662 if (!SWIG_IsOK(ecode1
)) {
19663 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19665 arg1
= static_cast< int >(val1
);
19668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19669 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19670 wxPyEndAllowThreads(__tstate
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19673 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19680 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19681 PyObject
*resultobj
= 0;
19682 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19685 PyObject
*swig_obj
[1] ;
19687 if (!args
) SWIG_fail
;
19688 swig_obj
[0] = args
;
19689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19690 if (!SWIG_IsOK(res1
)) {
19691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19693 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19698 wxPyEndAllowThreads(__tstate
);
19699 if (PyErr_Occurred()) SWIG_fail
;
19701 resultobj
= SWIG_Py_Void();
19708 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19709 PyObject
*resultobj
= 0;
19710 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19711 wxString
*result
= 0 ;
19714 PyObject
*swig_obj
[1] ;
19716 if (!args
) SWIG_fail
;
19717 swig_obj
[0] = args
;
19718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19719 if (!SWIG_IsOK(res1
)) {
19720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19722 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19726 wxString
const &_result_ref
= (arg1
)->GetFindString();
19727 result
= (wxString
*) &_result_ref
;
19729 wxPyEndAllowThreads(__tstate
);
19730 if (PyErr_Occurred()) SWIG_fail
;
19734 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19736 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19745 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19746 PyObject
*resultobj
= 0;
19747 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19748 wxString
*result
= 0 ;
19751 PyObject
*swig_obj
[1] ;
19753 if (!args
) SWIG_fail
;
19754 swig_obj
[0] = args
;
19755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19756 if (!SWIG_IsOK(res1
)) {
19757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19759 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19764 result
= (wxString
*) &_result_ref
;
19766 wxPyEndAllowThreads(__tstate
);
19767 if (PyErr_Occurred()) SWIG_fail
;
19771 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19773 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19782 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19783 PyObject
*resultobj
= 0;
19784 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19788 PyObject
*swig_obj
[1] ;
19790 if (!args
) SWIG_fail
;
19791 swig_obj
[0] = args
;
19792 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19793 if (!SWIG_IsOK(res1
)) {
19794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19796 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19799 result
= (int)(arg1
)->GetFlags();
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 resultobj
= SWIG_From_int(static_cast< int >(result
));
19810 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
= 0;
19812 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19818 PyObject
* obj0
= 0 ;
19819 PyObject
* obj1
= 0 ;
19820 char * kwnames
[] = {
19821 (char *) "self",(char *) "flags", NULL
19824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19826 if (!SWIG_IsOK(res1
)) {
19827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19829 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19831 if (!SWIG_IsOK(ecode2
)) {
19832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19834 arg2
= static_cast< int >(val2
);
19836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19837 (arg1
)->SetFlags(arg2
);
19838 wxPyEndAllowThreads(__tstate
);
19839 if (PyErr_Occurred()) SWIG_fail
;
19841 resultobj
= SWIG_Py_Void();
19848 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19849 PyObject
*resultobj
= 0;
19850 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19851 wxString
*arg2
= 0 ;
19854 bool temp2
= false ;
19855 PyObject
* obj0
= 0 ;
19856 PyObject
* obj1
= 0 ;
19857 char * kwnames
[] = {
19858 (char *) "self",(char *) "str", NULL
19861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19863 if (!SWIG_IsOK(res1
)) {
19864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19866 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19868 arg2
= wxString_in_helper(obj1
);
19869 if (arg2
== NULL
) SWIG_fail
;
19873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19874 (arg1
)->SetFindString((wxString
const &)*arg2
);
19875 wxPyEndAllowThreads(__tstate
);
19876 if (PyErr_Occurred()) SWIG_fail
;
19878 resultobj
= SWIG_Py_Void();
19893 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
= 0;
19895 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19896 wxString
*arg2
= 0 ;
19899 bool temp2
= false ;
19900 PyObject
* obj0
= 0 ;
19901 PyObject
* obj1
= 0 ;
19902 char * kwnames
[] = {
19903 (char *) "self",(char *) "str", NULL
19906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19908 if (!SWIG_IsOK(res1
)) {
19909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19911 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19913 arg2
= wxString_in_helper(obj1
);
19914 if (arg2
== NULL
) SWIG_fail
;
19918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19920 wxPyEndAllowThreads(__tstate
);
19921 if (PyErr_Occurred()) SWIG_fail
;
19923 resultobj
= SWIG_Py_Void();
19938 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19940 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19941 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19942 return SWIG_Py_Void();
19945 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19946 return SWIG_Python_InitShadowInstance(args
);
19949 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19950 PyObject
*resultobj
= 0;
19951 wxWindow
*arg1
= (wxWindow
*) 0 ;
19952 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19953 wxString
*arg3
= 0 ;
19954 int arg4
= (int) 0 ;
19955 wxFindReplaceDialog
*result
= 0 ;
19960 bool temp3
= false ;
19963 PyObject
* obj0
= 0 ;
19964 PyObject
* obj1
= 0 ;
19965 PyObject
* obj2
= 0 ;
19966 PyObject
* obj3
= 0 ;
19967 char * kwnames
[] = {
19968 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19973 if (!SWIG_IsOK(res1
)) {
19974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19976 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19977 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19978 if (!SWIG_IsOK(res2
)) {
19979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19981 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19983 arg3
= wxString_in_helper(obj2
);
19984 if (arg3
== NULL
) SWIG_fail
;
19988 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19989 if (!SWIG_IsOK(ecode4
)) {
19990 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19992 arg4
= static_cast< int >(val4
);
19995 if (!wxPyCheckForApp()) SWIG_fail
;
19996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19997 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19998 wxPyEndAllowThreads(__tstate
);
19999 if (PyErr_Occurred()) SWIG_fail
;
20001 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20016 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20017 PyObject
*resultobj
= 0;
20018 wxFindReplaceDialog
*result
= 0 ;
20020 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20022 if (!wxPyCheckForApp()) SWIG_fail
;
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20035 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
= 0;
20037 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20038 wxWindow
*arg2
= (wxWindow
*) 0 ;
20039 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20040 wxString
*arg4
= 0 ;
20041 int arg5
= (int) 0 ;
20049 bool temp4
= false ;
20052 PyObject
* obj0
= 0 ;
20053 PyObject
* obj1
= 0 ;
20054 PyObject
* obj2
= 0 ;
20055 PyObject
* obj3
= 0 ;
20056 PyObject
* obj4
= 0 ;
20057 char * kwnames
[] = {
20058 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20063 if (!SWIG_IsOK(res1
)) {
20064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20066 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20067 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20068 if (!SWIG_IsOK(res2
)) {
20069 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20071 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20072 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20073 if (!SWIG_IsOK(res3
)) {
20074 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20076 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20078 arg4
= wxString_in_helper(obj3
);
20079 if (arg4
== NULL
) SWIG_fail
;
20083 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20084 if (!SWIG_IsOK(ecode5
)) {
20085 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20087 arg5
= static_cast< int >(val5
);
20090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20091 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20092 wxPyEndAllowThreads(__tstate
);
20093 if (PyErr_Occurred()) SWIG_fail
;
20096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20112 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20113 PyObject
*resultobj
= 0;
20114 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20115 wxFindReplaceData
*result
= 0 ;
20118 PyObject
*swig_obj
[1] ;
20120 if (!args
) SWIG_fail
;
20121 swig_obj
[0] = args
;
20122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20123 if (!SWIG_IsOK(res1
)) {
20124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20126 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20129 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20130 wxPyEndAllowThreads(__tstate
);
20131 if (PyErr_Occurred()) SWIG_fail
;
20133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20140 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
= 0;
20142 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20143 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20148 PyObject
* obj0
= 0 ;
20149 PyObject
* obj1
= 0 ;
20150 char * kwnames
[] = {
20151 (char *) "self",(char *) "data", NULL
20154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20156 if (!SWIG_IsOK(res1
)) {
20157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20159 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20160 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20161 if (!SWIG_IsOK(res2
)) {
20162 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20164 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20167 (arg1
)->SetData(arg2
);
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20171 resultobj
= SWIG_Py_Void();
20178 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20180 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20181 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20182 return SWIG_Py_Void();
20185 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20186 return SWIG_Python_InitShadowInstance(args
);
20189 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20190 PyObject
*resultobj
= 0;
20191 wxWindow
*arg1
= (wxWindow
*) 0 ;
20192 int arg2
= (int) (int)-1 ;
20193 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20194 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20195 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20196 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20197 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20198 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20199 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20200 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20201 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20202 wxMDIParentFrame
*result
= 0 ;
20207 bool temp3
= false ;
20212 bool temp7
= false ;
20213 PyObject
* obj0
= 0 ;
20214 PyObject
* obj1
= 0 ;
20215 PyObject
* obj2
= 0 ;
20216 PyObject
* obj3
= 0 ;
20217 PyObject
* obj4
= 0 ;
20218 PyObject
* obj5
= 0 ;
20219 PyObject
* obj6
= 0 ;
20220 char * kwnames
[] = {
20221 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20226 if (!SWIG_IsOK(res1
)) {
20227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20229 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20232 if (!SWIG_IsOK(ecode2
)) {
20233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20235 arg2
= static_cast< int >(val2
);
20239 arg3
= wxString_in_helper(obj2
);
20240 if (arg3
== NULL
) SWIG_fail
;
20247 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20253 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20257 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20258 if (!SWIG_IsOK(ecode6
)) {
20259 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20261 arg6
= static_cast< long >(val6
);
20265 arg7
= wxString_in_helper(obj6
);
20266 if (arg7
== NULL
) SWIG_fail
;
20271 if (!wxPyCheckForApp()) SWIG_fail
;
20272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20273 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20274 wxPyEndAllowThreads(__tstate
);
20275 if (PyErr_Occurred()) SWIG_fail
;
20277 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20300 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20301 PyObject
*resultobj
= 0;
20302 wxMDIParentFrame
*result
= 0 ;
20304 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20306 if (!wxPyCheckForApp()) SWIG_fail
;
20307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20308 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20319 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
= 0;
20321 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20322 wxWindow
*arg2
= (wxWindow
*) 0 ;
20323 int arg3
= (int) (int)-1 ;
20324 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20325 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20326 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20327 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20328 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20329 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20330 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20331 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20332 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20340 bool temp4
= false ;
20345 bool temp8
= false ;
20346 PyObject
* obj0
= 0 ;
20347 PyObject
* obj1
= 0 ;
20348 PyObject
* obj2
= 0 ;
20349 PyObject
* obj3
= 0 ;
20350 PyObject
* obj4
= 0 ;
20351 PyObject
* obj5
= 0 ;
20352 PyObject
* obj6
= 0 ;
20353 PyObject
* obj7
= 0 ;
20354 char * kwnames
[] = {
20355 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20358 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20359 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20360 if (!SWIG_IsOK(res1
)) {
20361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20363 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20364 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20365 if (!SWIG_IsOK(res2
)) {
20366 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20368 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20370 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20371 if (!SWIG_IsOK(ecode3
)) {
20372 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20374 arg3
= static_cast< int >(val3
);
20378 arg4
= wxString_in_helper(obj3
);
20379 if (arg4
== NULL
) SWIG_fail
;
20386 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20392 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20396 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20397 if (!SWIG_IsOK(ecode7
)) {
20398 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20400 arg7
= static_cast< long >(val7
);
20404 arg8
= wxString_in_helper(obj7
);
20405 if (arg8
== NULL
) SWIG_fail
;
20410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20411 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20412 wxPyEndAllowThreads(__tstate
);
20413 if (PyErr_Occurred()) SWIG_fail
;
20416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20440 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20441 PyObject
*resultobj
= 0;
20442 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20445 PyObject
*swig_obj
[1] ;
20447 if (!args
) SWIG_fail
;
20448 swig_obj
[0] = args
;
20449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20450 if (!SWIG_IsOK(res1
)) {
20451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20453 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20456 (arg1
)->ActivateNext();
20457 wxPyEndAllowThreads(__tstate
);
20458 if (PyErr_Occurred()) SWIG_fail
;
20460 resultobj
= SWIG_Py_Void();
20467 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20468 PyObject
*resultobj
= 0;
20469 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20472 PyObject
*swig_obj
[1] ;
20474 if (!args
) SWIG_fail
;
20475 swig_obj
[0] = args
;
20476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20477 if (!SWIG_IsOK(res1
)) {
20478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20480 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 (arg1
)->ActivatePrevious();
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= SWIG_Py_Void();
20494 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20495 PyObject
*resultobj
= 0;
20496 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20499 PyObject
*swig_obj
[1] ;
20501 if (!args
) SWIG_fail
;
20502 swig_obj
[0] = args
;
20503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20504 if (!SWIG_IsOK(res1
)) {
20505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20507 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 (arg1
)->ArrangeIcons();
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20514 resultobj
= SWIG_Py_Void();
20521 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20522 PyObject
*resultobj
= 0;
20523 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20526 PyObject
*swig_obj
[1] ;
20528 if (!args
) SWIG_fail
;
20529 swig_obj
[0] = args
;
20530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20531 if (!SWIG_IsOK(res1
)) {
20532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20534 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20538 wxPyEndAllowThreads(__tstate
);
20539 if (PyErr_Occurred()) SWIG_fail
;
20541 resultobj
= SWIG_Py_Void();
20548 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20549 PyObject
*resultobj
= 0;
20550 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20551 wxMDIChildFrame
*result
= 0 ;
20554 PyObject
*swig_obj
[1] ;
20556 if (!args
) SWIG_fail
;
20557 swig_obj
[0] = args
;
20558 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20559 if (!SWIG_IsOK(res1
)) {
20560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20562 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20578 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20579 PyObject
*resultobj
= 0;
20580 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20581 wxMDIClientWindow
*result
= 0 ;
20584 PyObject
*swig_obj
[1] ;
20586 if (!args
) SWIG_fail
;
20587 swig_obj
[0] = args
;
20588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20589 if (!SWIG_IsOK(res1
)) {
20590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20592 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20595 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20600 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20608 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20609 PyObject
*resultobj
= 0;
20610 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20611 wxWindow
*result
= 0 ;
20614 PyObject
*swig_obj
[1] ;
20616 if (!args
) SWIG_fail
;
20617 swig_obj
[0] = args
;
20618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20619 if (!SWIG_IsOK(res1
)) {
20620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20622 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 result
= (wxWindow
*)(arg1
)->GetToolBar();
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= wxPyMake_wxObject(result
, 0);
20638 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20639 PyObject
*resultobj
= 0;
20640 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20641 wxMenu
*result
= 0 ;
20644 PyObject
*swig_obj
[1] ;
20646 if (!args
) SWIG_fail
;
20647 swig_obj
[0] = args
;
20648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20649 if (!SWIG_IsOK(res1
)) {
20650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20652 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20655 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
20656 wxPyEndAllowThreads(__tstate
);
20657 if (PyErr_Occurred()) SWIG_fail
;
20660 resultobj
= wxPyMake_wxObject(result
, 0);
20668 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20669 PyObject
*resultobj
= 0;
20670 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20671 wxMenu
*arg2
= (wxMenu
*) 0 ;
20676 PyObject
* obj0
= 0 ;
20677 PyObject
* obj1
= 0 ;
20678 char * kwnames
[] = {
20679 (char *) "self",(char *) "menu", NULL
20682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20684 if (!SWIG_IsOK(res1
)) {
20685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20687 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20688 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
20689 if (!SWIG_IsOK(res2
)) {
20690 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20692 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 (arg1
)->SetWindowMenu(arg2
);
20696 wxPyEndAllowThreads(__tstate
);
20697 if (PyErr_Occurred()) SWIG_fail
;
20699 resultobj
= SWIG_Py_Void();
20706 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20707 PyObject
*resultobj
= 0;
20708 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20709 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20714 PyObject
* obj0
= 0 ;
20715 PyObject
* obj1
= 0 ;
20716 char * kwnames
[] = {
20717 (char *) "self",(char *) "orient", NULL
20720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20722 if (!SWIG_IsOK(res1
)) {
20723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20725 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20727 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20728 if (!SWIG_IsOK(ecode2
)) {
20729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20731 arg2
= static_cast< wxOrientation
>(val2
);
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 (arg1
)->Tile(arg2
);
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20739 resultobj
= SWIG_Py_Void();
20746 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20748 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20749 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20750 return SWIG_Py_Void();
20753 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20754 return SWIG_Python_InitShadowInstance(args
);
20757 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20758 PyObject
*resultobj
= 0;
20759 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20760 int arg2
= (int) (int)-1 ;
20761 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20762 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20763 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20764 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20765 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20766 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20767 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20768 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20769 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20770 wxMDIChildFrame
*result
= 0 ;
20775 bool temp3
= false ;
20780 bool temp7
= false ;
20781 PyObject
* obj0
= 0 ;
20782 PyObject
* obj1
= 0 ;
20783 PyObject
* obj2
= 0 ;
20784 PyObject
* obj3
= 0 ;
20785 PyObject
* obj4
= 0 ;
20786 PyObject
* obj5
= 0 ;
20787 PyObject
* obj6
= 0 ;
20788 char * kwnames
[] = {
20789 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20792 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20793 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20794 if (!SWIG_IsOK(res1
)) {
20795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20797 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20799 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20800 if (!SWIG_IsOK(ecode2
)) {
20801 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20803 arg2
= static_cast< int >(val2
);
20807 arg3
= wxString_in_helper(obj2
);
20808 if (arg3
== NULL
) SWIG_fail
;
20815 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20821 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20825 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20826 if (!SWIG_IsOK(ecode6
)) {
20827 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20829 arg6
= static_cast< long >(val6
);
20833 arg7
= wxString_in_helper(obj6
);
20834 if (arg7
== NULL
) SWIG_fail
;
20839 if (!wxPyCheckForApp()) SWIG_fail
;
20840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20841 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20868 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20869 PyObject
*resultobj
= 0;
20870 wxMDIChildFrame
*result
= 0 ;
20872 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20874 if (!wxPyCheckForApp()) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20877 wxPyEndAllowThreads(__tstate
);
20878 if (PyErr_Occurred()) SWIG_fail
;
20880 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20887 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
= 0;
20889 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20890 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20891 int arg3
= (int) (int)-1 ;
20892 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20893 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20894 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20895 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20896 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20897 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20898 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20899 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20900 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20908 bool temp4
= false ;
20913 bool temp8
= false ;
20914 PyObject
* obj0
= 0 ;
20915 PyObject
* obj1
= 0 ;
20916 PyObject
* obj2
= 0 ;
20917 PyObject
* obj3
= 0 ;
20918 PyObject
* obj4
= 0 ;
20919 PyObject
* obj5
= 0 ;
20920 PyObject
* obj6
= 0 ;
20921 PyObject
* obj7
= 0 ;
20922 char * kwnames
[] = {
20923 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20926 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20927 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20928 if (!SWIG_IsOK(res1
)) {
20929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20931 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20932 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20933 if (!SWIG_IsOK(res2
)) {
20934 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20936 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20938 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20939 if (!SWIG_IsOK(ecode3
)) {
20940 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20942 arg3
= static_cast< int >(val3
);
20946 arg4
= wxString_in_helper(obj3
);
20947 if (arg4
== NULL
) SWIG_fail
;
20954 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20960 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20964 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20965 if (!SWIG_IsOK(ecode7
)) {
20966 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20968 arg7
= static_cast< long >(val7
);
20972 arg8
= wxString_in_helper(obj7
);
20973 if (arg8
== NULL
) SWIG_fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21008 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21009 PyObject
*resultobj
= 0;
21010 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21013 PyObject
*swig_obj
[1] ;
21015 if (!args
) SWIG_fail
;
21016 swig_obj
[0] = args
;
21017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21018 if (!SWIG_IsOK(res1
)) {
21019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21021 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21024 (arg1
)->Activate();
21025 wxPyEndAllowThreads(__tstate
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21028 resultobj
= SWIG_Py_Void();
21035 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21037 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21038 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21039 return SWIG_Py_Void();
21042 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21043 return SWIG_Python_InitShadowInstance(args
);
21046 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21047 PyObject
*resultobj
= 0;
21048 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21049 long arg2
= (long) 0 ;
21050 wxMDIClientWindow
*result
= 0 ;
21055 PyObject
* obj0
= 0 ;
21056 PyObject
* obj1
= 0 ;
21057 char * kwnames
[] = {
21058 (char *) "parent",(char *) "style", NULL
21061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21063 if (!SWIG_IsOK(res1
)) {
21064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21066 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21068 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21069 if (!SWIG_IsOK(ecode2
)) {
21070 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21072 arg2
= static_cast< long >(val2
);
21075 if (!wxPyCheckForApp()) SWIG_fail
;
21076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21077 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21078 wxPyEndAllowThreads(__tstate
);
21079 if (PyErr_Occurred()) SWIG_fail
;
21081 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21088 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21089 PyObject
*resultobj
= 0;
21090 wxMDIClientWindow
*result
= 0 ;
21092 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21094 if (!wxPyCheckForApp()) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21097 wxPyEndAllowThreads(__tstate
);
21098 if (PyErr_Occurred()) SWIG_fail
;
21100 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21107 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21108 PyObject
*resultobj
= 0;
21109 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21110 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21111 long arg3
= (long) 0 ;
21119 PyObject
* obj0
= 0 ;
21120 PyObject
* obj1
= 0 ;
21121 PyObject
* obj2
= 0 ;
21122 char * kwnames
[] = {
21123 (char *) "self",(char *) "parent",(char *) "style", NULL
21126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21128 if (!SWIG_IsOK(res1
)) {
21129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21131 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21132 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21133 if (!SWIG_IsOK(res2
)) {
21134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21136 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21138 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21139 if (!SWIG_IsOK(ecode3
)) {
21140 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21142 arg3
= static_cast< long >(val3
);
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21159 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21161 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21162 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21163 return SWIG_Py_Void();
21166 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21167 return SWIG_Python_InitShadowInstance(args
);
21170 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
= 0;
21172 wxWindow
*arg1
= (wxWindow
*) 0 ;
21173 int arg2
= (int) (int)-1 ;
21174 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21175 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21176 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21177 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21178 long arg5
= (long) 0 ;
21179 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21180 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21181 wxPyWindow
*result
= 0 ;
21190 bool temp6
= false ;
21191 PyObject
* obj0
= 0 ;
21192 PyObject
* obj1
= 0 ;
21193 PyObject
* obj2
= 0 ;
21194 PyObject
* obj3
= 0 ;
21195 PyObject
* obj4
= 0 ;
21196 PyObject
* obj5
= 0 ;
21197 char * kwnames
[] = {
21198 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21203 if (!SWIG_IsOK(res1
)) {
21204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21206 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21208 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21209 if (!SWIG_IsOK(ecode2
)) {
21210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21212 arg2
= static_cast< int >(val2
);
21217 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21223 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21227 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21228 if (!SWIG_IsOK(ecode5
)) {
21229 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21231 arg5
= static_cast< long >(val5
);
21235 arg6
= wxString_in_helper(obj5
);
21236 if (arg6
== NULL
) SWIG_fail
;
21241 if (!wxPyCheckForApp()) SWIG_fail
;
21242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21243 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21244 wxPyEndAllowThreads(__tstate
);
21245 if (PyErr_Occurred()) SWIG_fail
;
21247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21262 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21263 PyObject
*resultobj
= 0;
21264 wxPyWindow
*result
= 0 ;
21266 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21268 if (!wxPyCheckForApp()) SWIG_fail
;
21269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21270 result
= (wxPyWindow
*)new wxPyWindow();
21271 wxPyEndAllowThreads(__tstate
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21274 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21281 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21282 PyObject
*resultobj
= 0;
21283 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21284 PyObject
*arg2
= (PyObject
*) 0 ;
21285 PyObject
*arg3
= (PyObject
*) 0 ;
21288 PyObject
* obj0
= 0 ;
21289 PyObject
* obj1
= 0 ;
21290 PyObject
* obj2
= 0 ;
21291 char * kwnames
[] = {
21292 (char *) "self",(char *) "self",(char *) "_class", NULL
21295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21297 if (!SWIG_IsOK(res1
)) {
21298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21300 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21305 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21306 wxPyEndAllowThreads(__tstate
);
21307 if (PyErr_Occurred()) SWIG_fail
;
21309 resultobj
= SWIG_Py_Void();
21316 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21317 PyObject
*resultobj
= 0;
21318 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21323 PyObject
* obj0
= 0 ;
21324 PyObject
* obj1
= 0 ;
21325 char * kwnames
[] = {
21326 (char *) "self",(char *) "size", NULL
21329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21331 if (!SWIG_IsOK(res1
)) {
21332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21334 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21337 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21342 wxPyEndAllowThreads(__tstate
);
21343 if (PyErr_Occurred()) SWIG_fail
;
21345 resultobj
= SWIG_Py_Void();
21352 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21353 PyObject
*resultobj
= 0;
21354 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21355 wxDC
*arg2
= (wxDC
*) 0 ;
21361 PyObject
* obj0
= 0 ;
21362 PyObject
* obj1
= 0 ;
21363 char * kwnames
[] = {
21364 (char *) "self",(char *) "dc", NULL
21367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21369 if (!SWIG_IsOK(res1
)) {
21370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21372 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21374 if (!SWIG_IsOK(res2
)) {
21375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21377 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21381 wxPyEndAllowThreads(__tstate
);
21382 if (PyErr_Occurred()) SWIG_fail
;
21385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21393 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21394 PyObject
*resultobj
= 0;
21395 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21410 PyObject
* obj0
= 0 ;
21411 PyObject
* obj1
= 0 ;
21412 PyObject
* obj2
= 0 ;
21413 PyObject
* obj3
= 0 ;
21414 PyObject
* obj4
= 0 ;
21415 char * kwnames
[] = {
21416 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21420 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21421 if (!SWIG_IsOK(res1
)) {
21422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21424 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21425 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21426 if (!SWIG_IsOK(ecode2
)) {
21427 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21429 arg2
= static_cast< int >(val2
);
21430 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21431 if (!SWIG_IsOK(ecode3
)) {
21432 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21434 arg3
= static_cast< int >(val3
);
21435 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21436 if (!SWIG_IsOK(ecode4
)) {
21437 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21439 arg4
= static_cast< int >(val4
);
21440 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21441 if (!SWIG_IsOK(ecode5
)) {
21442 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21444 arg5
= static_cast< int >(val5
);
21446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21447 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21448 wxPyEndAllowThreads(__tstate
);
21449 if (PyErr_Occurred()) SWIG_fail
;
21451 resultobj
= SWIG_Py_Void();
21458 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
= 0;
21460 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21465 int arg6
= (int) wxSIZE_AUTO
;
21478 PyObject
* obj0
= 0 ;
21479 PyObject
* obj1
= 0 ;
21480 PyObject
* obj2
= 0 ;
21481 PyObject
* obj3
= 0 ;
21482 PyObject
* obj4
= 0 ;
21483 PyObject
* obj5
= 0 ;
21484 char * kwnames
[] = {
21485 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21490 if (!SWIG_IsOK(res1
)) {
21491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21493 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21494 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21495 if (!SWIG_IsOK(ecode2
)) {
21496 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21498 arg2
= static_cast< int >(val2
);
21499 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21500 if (!SWIG_IsOK(ecode3
)) {
21501 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21503 arg3
= static_cast< int >(val3
);
21504 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21505 if (!SWIG_IsOK(ecode4
)) {
21506 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21508 arg4
= static_cast< int >(val4
);
21509 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21510 if (!SWIG_IsOK(ecode5
)) {
21511 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21513 arg5
= static_cast< int >(val5
);
21515 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21516 if (!SWIG_IsOK(ecode6
)) {
21517 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21519 arg6
= static_cast< int >(val6
);
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21524 wxPyEndAllowThreads(__tstate
);
21525 if (PyErr_Occurred()) SWIG_fail
;
21527 resultobj
= SWIG_Py_Void();
21534 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21535 PyObject
*resultobj
= 0;
21536 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21545 PyObject
* obj0
= 0 ;
21546 PyObject
* obj1
= 0 ;
21547 PyObject
* obj2
= 0 ;
21548 char * kwnames
[] = {
21549 (char *) "self",(char *) "width",(char *) "height", NULL
21552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21554 if (!SWIG_IsOK(res1
)) {
21555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21557 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21559 if (!SWIG_IsOK(ecode2
)) {
21560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21562 arg2
= static_cast< int >(val2
);
21563 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21564 if (!SWIG_IsOK(ecode3
)) {
21565 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21567 arg3
= static_cast< int >(val3
);
21569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21570 (arg1
)->DoSetClientSize(arg2
,arg3
);
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21574 resultobj
= SWIG_Py_Void();
21581 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21582 PyObject
*resultobj
= 0;
21583 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21592 PyObject
* obj0
= 0 ;
21593 PyObject
* obj1
= 0 ;
21594 PyObject
* obj2
= 0 ;
21595 char * kwnames
[] = {
21596 (char *) "self",(char *) "x",(char *) "y", NULL
21599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21601 if (!SWIG_IsOK(res1
)) {
21602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21604 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21605 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21606 if (!SWIG_IsOK(ecode2
)) {
21607 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21609 arg2
= static_cast< int >(val2
);
21610 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21611 if (!SWIG_IsOK(ecode3
)) {
21612 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21614 arg3
= static_cast< int >(val3
);
21616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21617 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 resultobj
= SWIG_Py_Void();
21628 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21629 PyObject
*resultobj
= 0;
21630 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21631 int *arg2
= (int *) 0 ;
21632 int *arg3
= (int *) 0 ;
21636 int res2
= SWIG_TMPOBJ
;
21638 int res3
= SWIG_TMPOBJ
;
21639 PyObject
*swig_obj
[1] ;
21643 if (!args
) SWIG_fail
;
21644 swig_obj
[0] = args
;
21645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21646 if (!SWIG_IsOK(res1
)) {
21647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21649 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21653 wxPyEndAllowThreads(__tstate
);
21654 if (PyErr_Occurred()) SWIG_fail
;
21656 resultobj
= SWIG_Py_Void();
21657 if (SWIG_IsTmpObj(res2
)) {
21658 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21660 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21661 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21663 if (SWIG_IsTmpObj(res3
)) {
21664 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21666 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21667 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21675 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21676 PyObject
*resultobj
= 0;
21677 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21678 int *arg2
= (int *) 0 ;
21679 int *arg3
= (int *) 0 ;
21683 int res2
= SWIG_TMPOBJ
;
21685 int res3
= SWIG_TMPOBJ
;
21686 PyObject
*swig_obj
[1] ;
21690 if (!args
) SWIG_fail
;
21691 swig_obj
[0] = args
;
21692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21693 if (!SWIG_IsOK(res1
)) {
21694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21696 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21700 wxPyEndAllowThreads(__tstate
);
21701 if (PyErr_Occurred()) SWIG_fail
;
21703 resultobj
= SWIG_Py_Void();
21704 if (SWIG_IsTmpObj(res2
)) {
21705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21707 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21710 if (SWIG_IsTmpObj(res3
)) {
21711 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21713 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21714 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21722 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21723 PyObject
*resultobj
= 0;
21724 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21725 int *arg2
= (int *) 0 ;
21726 int *arg3
= (int *) 0 ;
21730 int res2
= SWIG_TMPOBJ
;
21732 int res3
= SWIG_TMPOBJ
;
21733 PyObject
*swig_obj
[1] ;
21737 if (!args
) SWIG_fail
;
21738 swig_obj
[0] = args
;
21739 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21740 if (!SWIG_IsOK(res1
)) {
21741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21743 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21746 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21747 wxPyEndAllowThreads(__tstate
);
21748 if (PyErr_Occurred()) SWIG_fail
;
21750 resultobj
= SWIG_Py_Void();
21751 if (SWIG_IsTmpObj(res2
)) {
21752 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21754 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21755 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21757 if (SWIG_IsTmpObj(res3
)) {
21758 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21760 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21761 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21769 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21770 PyObject
*resultobj
= 0;
21771 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21775 PyObject
*swig_obj
[1] ;
21777 if (!args
) SWIG_fail
;
21778 swig_obj
[0] = args
;
21779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21780 if (!SWIG_IsOK(res1
)) {
21781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21783 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21786 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21787 wxPyEndAllowThreads(__tstate
);
21788 if (PyErr_Occurred()) SWIG_fail
;
21790 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21797 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21798 PyObject
*resultobj
= 0;
21799 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21803 PyObject
*swig_obj
[1] ;
21805 if (!args
) SWIG_fail
;
21806 swig_obj
[0] = args
;
21807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21808 if (!SWIG_IsOK(res1
)) {
21809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21811 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21814 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21825 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21826 PyObject
*resultobj
= 0;
21827 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21828 SwigValueWrapper
<wxVisualAttributes
> result
;
21831 PyObject
*swig_obj
[1] ;
21833 if (!args
) SWIG_fail
;
21834 swig_obj
[0] = args
;
21835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21836 if (!SWIG_IsOK(res1
)) {
21837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21839 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21842 result
= (arg1
)->GetDefaultAttributes();
21843 wxPyEndAllowThreads(__tstate
);
21844 if (PyErr_Occurred()) SWIG_fail
;
21846 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21853 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21854 PyObject
*resultobj
= 0;
21855 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21858 PyObject
*swig_obj
[1] ;
21860 if (!args
) SWIG_fail
;
21861 swig_obj
[0] = args
;
21862 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21863 if (!SWIG_IsOK(res1
)) {
21864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21866 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21869 (arg1
)->OnInternalIdle();
21870 wxPyEndAllowThreads(__tstate
);
21871 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= SWIG_Py_Void();
21880 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21882 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21883 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21884 return SWIG_Py_Void();
21887 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21888 return SWIG_Python_InitShadowInstance(args
);
21891 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21892 PyObject
*resultobj
= 0;
21893 wxWindow
*arg1
= (wxWindow
*) 0 ;
21894 int arg2
= (int) (int)-1 ;
21895 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21896 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21897 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21898 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21899 long arg5
= (long) 0 ;
21900 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21901 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21902 wxPyPanel
*result
= 0 ;
21911 bool temp6
= false ;
21912 PyObject
* obj0
= 0 ;
21913 PyObject
* obj1
= 0 ;
21914 PyObject
* obj2
= 0 ;
21915 PyObject
* obj3
= 0 ;
21916 PyObject
* obj4
= 0 ;
21917 PyObject
* obj5
= 0 ;
21918 char * kwnames
[] = {
21919 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21922 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21923 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21924 if (!SWIG_IsOK(res1
)) {
21925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21927 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21929 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21930 if (!SWIG_IsOK(ecode2
)) {
21931 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21933 arg2
= static_cast< int >(val2
);
21938 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21944 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21948 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21949 if (!SWIG_IsOK(ecode5
)) {
21950 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21952 arg5
= static_cast< long >(val5
);
21956 arg6
= wxString_in_helper(obj5
);
21957 if (arg6
== NULL
) SWIG_fail
;
21962 if (!wxPyCheckForApp()) SWIG_fail
;
21963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21964 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21965 wxPyEndAllowThreads(__tstate
);
21966 if (PyErr_Occurred()) SWIG_fail
;
21968 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21983 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21984 PyObject
*resultobj
= 0;
21985 wxPyPanel
*result
= 0 ;
21987 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21989 if (!wxPyCheckForApp()) SWIG_fail
;
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 result
= (wxPyPanel
*)new wxPyPanel();
21992 wxPyEndAllowThreads(__tstate
);
21993 if (PyErr_Occurred()) SWIG_fail
;
21995 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22002 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22003 PyObject
*resultobj
= 0;
22004 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22005 PyObject
*arg2
= (PyObject
*) 0 ;
22006 PyObject
*arg3
= (PyObject
*) 0 ;
22009 PyObject
* obj0
= 0 ;
22010 PyObject
* obj1
= 0 ;
22011 PyObject
* obj2
= 0 ;
22012 char * kwnames
[] = {
22013 (char *) "self",(char *) "self",(char *) "_class", NULL
22016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22018 if (!SWIG_IsOK(res1
)) {
22019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22021 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 resultobj
= SWIG_Py_Void();
22037 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22038 PyObject
*resultobj
= 0;
22039 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22044 PyObject
* obj0
= 0 ;
22045 PyObject
* obj1
= 0 ;
22046 char * kwnames
[] = {
22047 (char *) "self",(char *) "size", NULL
22050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22052 if (!SWIG_IsOK(res1
)) {
22053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22055 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22058 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22062 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22063 wxPyEndAllowThreads(__tstate
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 resultobj
= SWIG_Py_Void();
22073 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
= 0;
22075 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22076 wxDC
*arg2
= (wxDC
*) 0 ;
22082 PyObject
* obj0
= 0 ;
22083 PyObject
* obj1
= 0 ;
22084 char * kwnames
[] = {
22085 (char *) "self",(char *) "dc", NULL
22088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22090 if (!SWIG_IsOK(res1
)) {
22091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22093 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22094 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22095 if (!SWIG_IsOK(res2
)) {
22096 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22098 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22102 wxPyEndAllowThreads(__tstate
);
22103 if (PyErr_Occurred()) SWIG_fail
;
22106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22114 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22115 PyObject
*resultobj
= 0;
22116 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22131 PyObject
* obj0
= 0 ;
22132 PyObject
* obj1
= 0 ;
22133 PyObject
* obj2
= 0 ;
22134 PyObject
* obj3
= 0 ;
22135 PyObject
* obj4
= 0 ;
22136 char * kwnames
[] = {
22137 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22142 if (!SWIG_IsOK(res1
)) {
22143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22145 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22146 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22147 if (!SWIG_IsOK(ecode2
)) {
22148 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22150 arg2
= static_cast< int >(val2
);
22151 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22152 if (!SWIG_IsOK(ecode3
)) {
22153 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22155 arg3
= static_cast< int >(val3
);
22156 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22157 if (!SWIG_IsOK(ecode4
)) {
22158 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22160 arg4
= static_cast< int >(val4
);
22161 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22162 if (!SWIG_IsOK(ecode5
)) {
22163 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22165 arg5
= static_cast< int >(val5
);
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22169 wxPyEndAllowThreads(__tstate
);
22170 if (PyErr_Occurred()) SWIG_fail
;
22172 resultobj
= SWIG_Py_Void();
22179 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22180 PyObject
*resultobj
= 0;
22181 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22186 int arg6
= (int) wxSIZE_AUTO
;
22199 PyObject
* obj0
= 0 ;
22200 PyObject
* obj1
= 0 ;
22201 PyObject
* obj2
= 0 ;
22202 PyObject
* obj3
= 0 ;
22203 PyObject
* obj4
= 0 ;
22204 PyObject
* obj5
= 0 ;
22205 char * kwnames
[] = {
22206 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22211 if (!SWIG_IsOK(res1
)) {
22212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22214 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22216 if (!SWIG_IsOK(ecode2
)) {
22217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22219 arg2
= static_cast< int >(val2
);
22220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22221 if (!SWIG_IsOK(ecode3
)) {
22222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22224 arg3
= static_cast< int >(val3
);
22225 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22226 if (!SWIG_IsOK(ecode4
)) {
22227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22229 arg4
= static_cast< int >(val4
);
22230 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22231 if (!SWIG_IsOK(ecode5
)) {
22232 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22234 arg5
= static_cast< int >(val5
);
22236 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22237 if (!SWIG_IsOK(ecode6
)) {
22238 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22240 arg6
= static_cast< int >(val6
);
22243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22244 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22245 wxPyEndAllowThreads(__tstate
);
22246 if (PyErr_Occurred()) SWIG_fail
;
22248 resultobj
= SWIG_Py_Void();
22255 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22256 PyObject
*resultobj
= 0;
22257 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22266 PyObject
* obj0
= 0 ;
22267 PyObject
* obj1
= 0 ;
22268 PyObject
* obj2
= 0 ;
22269 char * kwnames
[] = {
22270 (char *) "self",(char *) "width",(char *) "height", NULL
22273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22275 if (!SWIG_IsOK(res1
)) {
22276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22278 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22279 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22280 if (!SWIG_IsOK(ecode2
)) {
22281 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22283 arg2
= static_cast< int >(val2
);
22284 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22285 if (!SWIG_IsOK(ecode3
)) {
22286 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22288 arg3
= static_cast< int >(val3
);
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 (arg1
)->DoSetClientSize(arg2
,arg3
);
22292 wxPyEndAllowThreads(__tstate
);
22293 if (PyErr_Occurred()) SWIG_fail
;
22295 resultobj
= SWIG_Py_Void();
22302 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22303 PyObject
*resultobj
= 0;
22304 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22313 PyObject
* obj0
= 0 ;
22314 PyObject
* obj1
= 0 ;
22315 PyObject
* obj2
= 0 ;
22316 char * kwnames
[] = {
22317 (char *) "self",(char *) "x",(char *) "y", NULL
22320 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22321 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22322 if (!SWIG_IsOK(res1
)) {
22323 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22325 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22326 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22327 if (!SWIG_IsOK(ecode2
)) {
22328 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22330 arg2
= static_cast< int >(val2
);
22331 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22332 if (!SWIG_IsOK(ecode3
)) {
22333 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22335 arg3
= static_cast< int >(val3
);
22337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22338 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 resultobj
= SWIG_Py_Void();
22349 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22350 PyObject
*resultobj
= 0;
22351 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22352 int *arg2
= (int *) 0 ;
22353 int *arg3
= (int *) 0 ;
22357 int res2
= SWIG_TMPOBJ
;
22359 int res3
= SWIG_TMPOBJ
;
22360 PyObject
*swig_obj
[1] ;
22364 if (!args
) SWIG_fail
;
22365 swig_obj
[0] = args
;
22366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22367 if (!SWIG_IsOK(res1
)) {
22368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22370 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22373 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 resultobj
= SWIG_Py_Void();
22378 if (SWIG_IsTmpObj(res2
)) {
22379 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22381 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22382 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22384 if (SWIG_IsTmpObj(res3
)) {
22385 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22387 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22388 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22396 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22397 PyObject
*resultobj
= 0;
22398 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22399 int *arg2
= (int *) 0 ;
22400 int *arg3
= (int *) 0 ;
22404 int res2
= SWIG_TMPOBJ
;
22406 int res3
= SWIG_TMPOBJ
;
22407 PyObject
*swig_obj
[1] ;
22411 if (!args
) SWIG_fail
;
22412 swig_obj
[0] = args
;
22413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22414 if (!SWIG_IsOK(res1
)) {
22415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22417 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22421 wxPyEndAllowThreads(__tstate
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22424 resultobj
= SWIG_Py_Void();
22425 if (SWIG_IsTmpObj(res2
)) {
22426 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22428 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22429 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22431 if (SWIG_IsTmpObj(res3
)) {
22432 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22434 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22435 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22443 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22444 PyObject
*resultobj
= 0;
22445 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22446 int *arg2
= (int *) 0 ;
22447 int *arg3
= (int *) 0 ;
22451 int res2
= SWIG_TMPOBJ
;
22453 int res3
= SWIG_TMPOBJ
;
22454 PyObject
*swig_obj
[1] ;
22458 if (!args
) SWIG_fail
;
22459 swig_obj
[0] = args
;
22460 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22461 if (!SWIG_IsOK(res1
)) {
22462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22464 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22467 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22468 wxPyEndAllowThreads(__tstate
);
22469 if (PyErr_Occurred()) SWIG_fail
;
22471 resultobj
= SWIG_Py_Void();
22472 if (SWIG_IsTmpObj(res2
)) {
22473 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22475 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22476 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22478 if (SWIG_IsTmpObj(res3
)) {
22479 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22481 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22490 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22491 PyObject
*resultobj
= 0;
22492 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22496 PyObject
*swig_obj
[1] ;
22498 if (!args
) SWIG_fail
;
22499 swig_obj
[0] = args
;
22500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22501 if (!SWIG_IsOK(res1
)) {
22502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22504 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22507 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22518 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22519 PyObject
*resultobj
= 0;
22520 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22524 PyObject
*swig_obj
[1] ;
22526 if (!args
) SWIG_fail
;
22527 swig_obj
[0] = args
;
22528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22529 if (!SWIG_IsOK(res1
)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22532 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22535 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22546 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22547 PyObject
*resultobj
= 0;
22548 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22549 SwigValueWrapper
<wxVisualAttributes
> result
;
22552 PyObject
*swig_obj
[1] ;
22554 if (!args
) SWIG_fail
;
22555 swig_obj
[0] = args
;
22556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22557 if (!SWIG_IsOK(res1
)) {
22558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22560 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22563 result
= (arg1
)->GetDefaultAttributes();
22564 wxPyEndAllowThreads(__tstate
);
22565 if (PyErr_Occurred()) SWIG_fail
;
22567 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22574 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22575 PyObject
*resultobj
= 0;
22576 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22579 PyObject
*swig_obj
[1] ;
22581 if (!args
) SWIG_fail
;
22582 swig_obj
[0] = args
;
22583 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22584 if (!SWIG_IsOK(res1
)) {
22585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22587 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22590 (arg1
)->OnInternalIdle();
22591 wxPyEndAllowThreads(__tstate
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22594 resultobj
= SWIG_Py_Void();
22601 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22603 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22604 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22605 return SWIG_Py_Void();
22608 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22609 return SWIG_Python_InitShadowInstance(args
);
22612 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22613 PyObject
*resultobj
= 0;
22614 wxWindow
*arg1
= (wxWindow
*) 0 ;
22615 int arg2
= (int) (int)-1 ;
22616 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22617 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22618 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22619 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22620 long arg5
= (long) 0 ;
22621 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22622 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22623 wxPyScrolledWindow
*result
= 0 ;
22632 bool temp6
= false ;
22633 PyObject
* obj0
= 0 ;
22634 PyObject
* obj1
= 0 ;
22635 PyObject
* obj2
= 0 ;
22636 PyObject
* obj3
= 0 ;
22637 PyObject
* obj4
= 0 ;
22638 PyObject
* obj5
= 0 ;
22639 char * kwnames
[] = {
22640 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22645 if (!SWIG_IsOK(res1
)) {
22646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22648 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22651 if (!SWIG_IsOK(ecode2
)) {
22652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22654 arg2
= static_cast< int >(val2
);
22659 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22665 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22669 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22670 if (!SWIG_IsOK(ecode5
)) {
22671 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22673 arg5
= static_cast< long >(val5
);
22677 arg6
= wxString_in_helper(obj5
);
22678 if (arg6
== NULL
) SWIG_fail
;
22683 if (!wxPyCheckForApp()) SWIG_fail
;
22684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22685 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22686 wxPyEndAllowThreads(__tstate
);
22687 if (PyErr_Occurred()) SWIG_fail
;
22689 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22704 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22705 PyObject
*resultobj
= 0;
22706 wxPyScrolledWindow
*result
= 0 ;
22708 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22710 if (!wxPyCheckForApp()) SWIG_fail
;
22711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22712 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22713 wxPyEndAllowThreads(__tstate
);
22714 if (PyErr_Occurred()) SWIG_fail
;
22716 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22723 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22724 PyObject
*resultobj
= 0;
22725 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22726 PyObject
*arg2
= (PyObject
*) 0 ;
22727 PyObject
*arg3
= (PyObject
*) 0 ;
22730 PyObject
* obj0
= 0 ;
22731 PyObject
* obj1
= 0 ;
22732 PyObject
* obj2
= 0 ;
22733 char * kwnames
[] = {
22734 (char *) "self",(char *) "self",(char *) "_class", NULL
22737 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22738 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22739 if (!SWIG_IsOK(res1
)) {
22740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22742 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22748 wxPyEndAllowThreads(__tstate
);
22749 if (PyErr_Occurred()) SWIG_fail
;
22751 resultobj
= SWIG_Py_Void();
22758 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22759 PyObject
*resultobj
= 0;
22760 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22765 PyObject
* obj0
= 0 ;
22766 PyObject
* obj1
= 0 ;
22767 char * kwnames
[] = {
22768 (char *) "self",(char *) "size", NULL
22771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22773 if (!SWIG_IsOK(res1
)) {
22774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22776 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22779 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22783 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= SWIG_Py_Void();
22794 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
= 0;
22796 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22797 wxDC
*arg2
= (wxDC
*) 0 ;
22803 PyObject
* obj0
= 0 ;
22804 PyObject
* obj1
= 0 ;
22805 char * kwnames
[] = {
22806 (char *) "self",(char *) "dc", NULL
22809 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22810 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22811 if (!SWIG_IsOK(res1
)) {
22812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22814 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22815 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22816 if (!SWIG_IsOK(res2
)) {
22817 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22819 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22822 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22823 wxPyEndAllowThreads(__tstate
);
22824 if (PyErr_Occurred()) SWIG_fail
;
22827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22835 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22836 PyObject
*resultobj
= 0;
22837 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22852 PyObject
* obj0
= 0 ;
22853 PyObject
* obj1
= 0 ;
22854 PyObject
* obj2
= 0 ;
22855 PyObject
* obj3
= 0 ;
22856 PyObject
* obj4
= 0 ;
22857 char * kwnames
[] = {
22858 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22863 if (!SWIG_IsOK(res1
)) {
22864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22866 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22867 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22868 if (!SWIG_IsOK(ecode2
)) {
22869 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22871 arg2
= static_cast< int >(val2
);
22872 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22873 if (!SWIG_IsOK(ecode3
)) {
22874 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22876 arg3
= static_cast< int >(val3
);
22877 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22878 if (!SWIG_IsOK(ecode4
)) {
22879 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22881 arg4
= static_cast< int >(val4
);
22882 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22883 if (!SWIG_IsOK(ecode5
)) {
22884 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22886 arg5
= static_cast< int >(val5
);
22888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22889 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22890 wxPyEndAllowThreads(__tstate
);
22891 if (PyErr_Occurred()) SWIG_fail
;
22893 resultobj
= SWIG_Py_Void();
22900 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22901 PyObject
*resultobj
= 0;
22902 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22907 int arg6
= (int) wxSIZE_AUTO
;
22920 PyObject
* obj0
= 0 ;
22921 PyObject
* obj1
= 0 ;
22922 PyObject
* obj2
= 0 ;
22923 PyObject
* obj3
= 0 ;
22924 PyObject
* obj4
= 0 ;
22925 PyObject
* obj5
= 0 ;
22926 char * kwnames
[] = {
22927 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22932 if (!SWIG_IsOK(res1
)) {
22933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22935 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22937 if (!SWIG_IsOK(ecode2
)) {
22938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22940 arg2
= static_cast< int >(val2
);
22941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22942 if (!SWIG_IsOK(ecode3
)) {
22943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22945 arg3
= static_cast< int >(val3
);
22946 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22947 if (!SWIG_IsOK(ecode4
)) {
22948 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22950 arg4
= static_cast< int >(val4
);
22951 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22952 if (!SWIG_IsOK(ecode5
)) {
22953 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22955 arg5
= static_cast< int >(val5
);
22957 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22958 if (!SWIG_IsOK(ecode6
)) {
22959 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22961 arg6
= static_cast< int >(val6
);
22964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22965 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 resultobj
= SWIG_Py_Void();
22976 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22977 PyObject
*resultobj
= 0;
22978 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22987 PyObject
* obj0
= 0 ;
22988 PyObject
* obj1
= 0 ;
22989 PyObject
* obj2
= 0 ;
22990 char * kwnames
[] = {
22991 (char *) "self",(char *) "width",(char *) "height", NULL
22994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22996 if (!SWIG_IsOK(res1
)) {
22997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22999 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23001 if (!SWIG_IsOK(ecode2
)) {
23002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23004 arg2
= static_cast< int >(val2
);
23005 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23006 if (!SWIG_IsOK(ecode3
)) {
23007 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23009 arg3
= static_cast< int >(val3
);
23011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23012 (arg1
)->DoSetClientSize(arg2
,arg3
);
23013 wxPyEndAllowThreads(__tstate
);
23014 if (PyErr_Occurred()) SWIG_fail
;
23016 resultobj
= SWIG_Py_Void();
23023 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23024 PyObject
*resultobj
= 0;
23025 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23034 PyObject
* obj0
= 0 ;
23035 PyObject
* obj1
= 0 ;
23036 PyObject
* obj2
= 0 ;
23037 char * kwnames
[] = {
23038 (char *) "self",(char *) "x",(char *) "y", NULL
23041 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23042 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23043 if (!SWIG_IsOK(res1
)) {
23044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23046 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23047 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23048 if (!SWIG_IsOK(ecode2
)) {
23049 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23051 arg2
= static_cast< int >(val2
);
23052 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23053 if (!SWIG_IsOK(ecode3
)) {
23054 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23056 arg3
= static_cast< int >(val3
);
23058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23059 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23060 wxPyEndAllowThreads(__tstate
);
23061 if (PyErr_Occurred()) SWIG_fail
;
23063 resultobj
= SWIG_Py_Void();
23070 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23071 PyObject
*resultobj
= 0;
23072 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23073 int *arg2
= (int *) 0 ;
23074 int *arg3
= (int *) 0 ;
23078 int res2
= SWIG_TMPOBJ
;
23080 int res3
= SWIG_TMPOBJ
;
23081 PyObject
*swig_obj
[1] ;
23085 if (!args
) SWIG_fail
;
23086 swig_obj
[0] = args
;
23087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23088 if (!SWIG_IsOK(res1
)) {
23089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23091 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23094 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23095 wxPyEndAllowThreads(__tstate
);
23096 if (PyErr_Occurred()) SWIG_fail
;
23098 resultobj
= SWIG_Py_Void();
23099 if (SWIG_IsTmpObj(res2
)) {
23100 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23102 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23103 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23105 if (SWIG_IsTmpObj(res3
)) {
23106 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23108 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23109 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23117 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23118 PyObject
*resultobj
= 0;
23119 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23120 int *arg2
= (int *) 0 ;
23121 int *arg3
= (int *) 0 ;
23125 int res2
= SWIG_TMPOBJ
;
23127 int res3
= SWIG_TMPOBJ
;
23128 PyObject
*swig_obj
[1] ;
23132 if (!args
) SWIG_fail
;
23133 swig_obj
[0] = args
;
23134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23135 if (!SWIG_IsOK(res1
)) {
23136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23138 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23141 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23142 wxPyEndAllowThreads(__tstate
);
23143 if (PyErr_Occurred()) SWIG_fail
;
23145 resultobj
= SWIG_Py_Void();
23146 if (SWIG_IsTmpObj(res2
)) {
23147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23149 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23152 if (SWIG_IsTmpObj(res3
)) {
23153 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23155 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23156 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23164 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23165 PyObject
*resultobj
= 0;
23166 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23167 int *arg2
= (int *) 0 ;
23168 int *arg3
= (int *) 0 ;
23172 int res2
= SWIG_TMPOBJ
;
23174 int res3
= SWIG_TMPOBJ
;
23175 PyObject
*swig_obj
[1] ;
23179 if (!args
) SWIG_fail
;
23180 swig_obj
[0] = args
;
23181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23182 if (!SWIG_IsOK(res1
)) {
23183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23185 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 resultobj
= SWIG_Py_Void();
23193 if (SWIG_IsTmpObj(res2
)) {
23194 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23196 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23197 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23199 if (SWIG_IsTmpObj(res3
)) {
23200 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23202 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23211 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23212 PyObject
*resultobj
= 0;
23213 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23217 PyObject
*swig_obj
[1] ;
23219 if (!args
) SWIG_fail
;
23220 swig_obj
[0] = args
;
23221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23222 if (!SWIG_IsOK(res1
)) {
23223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23225 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23228 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23229 wxPyEndAllowThreads(__tstate
);
23230 if (PyErr_Occurred()) SWIG_fail
;
23232 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23239 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23240 PyObject
*resultobj
= 0;
23241 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23245 PyObject
*swig_obj
[1] ;
23247 if (!args
) SWIG_fail
;
23248 swig_obj
[0] = args
;
23249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23250 if (!SWIG_IsOK(res1
)) {
23251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23253 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23256 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23257 wxPyEndAllowThreads(__tstate
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23260 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23267 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23268 PyObject
*resultobj
= 0;
23269 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23270 SwigValueWrapper
<wxVisualAttributes
> result
;
23273 PyObject
*swig_obj
[1] ;
23275 if (!args
) SWIG_fail
;
23276 swig_obj
[0] = args
;
23277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23278 if (!SWIG_IsOK(res1
)) {
23279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23281 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23284 result
= (arg1
)->GetDefaultAttributes();
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23288 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23295 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23296 PyObject
*resultobj
= 0;
23297 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23300 PyObject
*swig_obj
[1] ;
23302 if (!args
) SWIG_fail
;
23303 swig_obj
[0] = args
;
23304 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23305 if (!SWIG_IsOK(res1
)) {
23306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23308 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23311 (arg1
)->OnInternalIdle();
23312 wxPyEndAllowThreads(__tstate
);
23313 if (PyErr_Occurred()) SWIG_fail
;
23315 resultobj
= SWIG_Py_Void();
23322 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23324 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23325 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23326 return SWIG_Py_Void();
23329 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23330 return SWIG_Python_InitShadowInstance(args
);
23333 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23334 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23339 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23340 PyObject
*pyobj
= 0;
23344 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23346 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23353 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23354 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23359 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23360 PyObject
*pyobj
= 0;
23364 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23366 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23373 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23374 PyObject
*resultobj
= 0;
23375 wxPrintData
*result
= 0 ;
23377 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23380 result
= (wxPrintData
*)new wxPrintData();
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23391 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23392 PyObject
*resultobj
= 0;
23393 wxPrintData
*arg1
= 0 ;
23394 wxPrintData
*result
= 0 ;
23398 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23400 if (!SWIG_IsOK(res1
)) {
23401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23404 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23406 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23409 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23420 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23424 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23427 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23430 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23434 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23439 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23440 PyObject
*resultobj
= 0;
23441 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23444 PyObject
*swig_obj
[1] ;
23446 if (!args
) SWIG_fail
;
23447 swig_obj
[0] = args
;
23448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23449 if (!SWIG_IsOK(res1
)) {
23450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23452 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 wxPyEndAllowThreads(__tstate
);
23458 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= SWIG_Py_Void();
23467 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23468 PyObject
*resultobj
= 0;
23469 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23473 PyObject
*swig_obj
[1] ;
23475 if (!args
) SWIG_fail
;
23476 swig_obj
[0] = args
;
23477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23478 if (!SWIG_IsOK(res1
)) {
23479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23481 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 result
= (int)(arg1
)->GetNoCopies();
23485 wxPyEndAllowThreads(__tstate
);
23486 if (PyErr_Occurred()) SWIG_fail
;
23488 resultobj
= SWIG_From_int(static_cast< int >(result
));
23495 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23496 PyObject
*resultobj
= 0;
23497 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23501 PyObject
*swig_obj
[1] ;
23503 if (!args
) SWIG_fail
;
23504 swig_obj
[0] = args
;
23505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23506 if (!SWIG_IsOK(res1
)) {
23507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23509 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 result
= (bool)(arg1
)->GetCollate();
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23525 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23526 PyObject
*resultobj
= 0;
23527 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23531 PyObject
*swig_obj
[1] ;
23533 if (!args
) SWIG_fail
;
23534 swig_obj
[0] = args
;
23535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23536 if (!SWIG_IsOK(res1
)) {
23537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23539 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 result
= (int)(arg1
)->GetOrientation();
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 resultobj
= SWIG_From_int(static_cast< int >(result
));
23553 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23554 PyObject
*resultobj
= 0;
23555 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23559 PyObject
*swig_obj
[1] ;
23561 if (!args
) SWIG_fail
;
23562 swig_obj
[0] = args
;
23563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23564 if (!SWIG_IsOK(res1
)) {
23565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23567 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 result
= (bool)(arg1
)->Ok();
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23583 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23584 PyObject
*resultobj
= 0;
23585 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23586 wxString
*result
= 0 ;
23589 PyObject
*swig_obj
[1] ;
23591 if (!args
) SWIG_fail
;
23592 swig_obj
[0] = args
;
23593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23594 if (!SWIG_IsOK(res1
)) {
23595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23597 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23601 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23602 result
= (wxString
*) &_result_ref
;
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23609 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23611 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23620 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23621 PyObject
*resultobj
= 0;
23622 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23626 PyObject
*swig_obj
[1] ;
23628 if (!args
) SWIG_fail
;
23629 swig_obj
[0] = args
;
23630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23631 if (!SWIG_IsOK(res1
)) {
23632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23634 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23637 result
= (bool)(arg1
)->GetColour();
23638 wxPyEndAllowThreads(__tstate
);
23639 if (PyErr_Occurred()) SWIG_fail
;
23642 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23650 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23651 PyObject
*resultobj
= 0;
23652 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23653 wxDuplexMode result
;
23656 PyObject
*swig_obj
[1] ;
23658 if (!args
) SWIG_fail
;
23659 swig_obj
[0] = args
;
23660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23661 if (!SWIG_IsOK(res1
)) {
23662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23664 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23667 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23671 resultobj
= SWIG_From_int(static_cast< int >(result
));
23678 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23679 PyObject
*resultobj
= 0;
23680 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23681 wxPaperSize result
;
23684 PyObject
*swig_obj
[1] ;
23686 if (!args
) SWIG_fail
;
23687 swig_obj
[0] = args
;
23688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23689 if (!SWIG_IsOK(res1
)) {
23690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23692 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23695 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23696 wxPyEndAllowThreads(__tstate
);
23697 if (PyErr_Occurred()) SWIG_fail
;
23699 resultobj
= SWIG_From_int(static_cast< int >(result
));
23706 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23707 PyObject
*resultobj
= 0;
23708 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23709 wxSize
*result
= 0 ;
23712 PyObject
*swig_obj
[1] ;
23714 if (!args
) SWIG_fail
;
23715 swig_obj
[0] = args
;
23716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23717 if (!SWIG_IsOK(res1
)) {
23718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23720 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23724 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23725 result
= (wxSize
*) &_result_ref
;
23727 wxPyEndAllowThreads(__tstate
);
23728 if (PyErr_Occurred()) SWIG_fail
;
23730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23737 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23738 PyObject
*resultobj
= 0;
23739 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23743 PyObject
*swig_obj
[1] ;
23745 if (!args
) SWIG_fail
;
23746 swig_obj
[0] = args
;
23747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23748 if (!SWIG_IsOK(res1
)) {
23749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23751 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 result
= (int)(arg1
)->GetQuality();
23755 wxPyEndAllowThreads(__tstate
);
23756 if (PyErr_Occurred()) SWIG_fail
;
23758 resultobj
= SWIG_From_int(static_cast< int >(result
));
23765 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23766 PyObject
*resultobj
= 0;
23767 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23771 PyObject
*swig_obj
[1] ;
23773 if (!args
) SWIG_fail
;
23774 swig_obj
[0] = args
;
23775 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23776 if (!SWIG_IsOK(res1
)) {
23777 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23779 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23782 result
= (wxPrintBin
)(arg1
)->GetBin();
23783 wxPyEndAllowThreads(__tstate
);
23784 if (PyErr_Occurred()) SWIG_fail
;
23786 resultobj
= SWIG_From_int(static_cast< int >(result
));
23793 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23794 PyObject
*resultobj
= 0;
23795 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23796 wxPrintMode result
;
23799 PyObject
*swig_obj
[1] ;
23801 if (!args
) SWIG_fail
;
23802 swig_obj
[0] = args
;
23803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23804 if (!SWIG_IsOK(res1
)) {
23805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23807 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23810 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23814 resultobj
= SWIG_From_int(static_cast< int >(result
));
23821 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
= 0;
23823 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23829 PyObject
* obj0
= 0 ;
23830 PyObject
* obj1
= 0 ;
23831 char * kwnames
[] = {
23832 (char *) "self",(char *) "v", NULL
23835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23837 if (!SWIG_IsOK(res1
)) {
23838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23840 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23842 if (!SWIG_IsOK(ecode2
)) {
23843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23845 arg2
= static_cast< int >(val2
);
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 (arg1
)->SetNoCopies(arg2
);
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23852 resultobj
= SWIG_Py_Void();
23859 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
= 0;
23861 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 char * kwnames
[] = {
23870 (char *) "self",(char *) "flag", NULL
23873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23875 if (!SWIG_IsOK(res1
)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23878 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23879 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23880 if (!SWIG_IsOK(ecode2
)) {
23881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23883 arg2
= static_cast< bool >(val2
);
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 (arg1
)->SetCollate(arg2
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= SWIG_Py_Void();
23897 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
= 0;
23899 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23905 PyObject
* obj0
= 0 ;
23906 PyObject
* obj1
= 0 ;
23907 char * kwnames
[] = {
23908 (char *) "self",(char *) "orient", NULL
23911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23913 if (!SWIG_IsOK(res1
)) {
23914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23916 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23918 if (!SWIG_IsOK(ecode2
)) {
23919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23921 arg2
= static_cast< int >(val2
);
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 (arg1
)->SetOrientation(arg2
);
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23928 resultobj
= SWIG_Py_Void();
23935 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
= 0;
23937 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23938 wxString
*arg2
= 0 ;
23941 bool temp2
= false ;
23942 PyObject
* obj0
= 0 ;
23943 PyObject
* obj1
= 0 ;
23944 char * kwnames
[] = {
23945 (char *) "self",(char *) "name", NULL
23948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23950 if (!SWIG_IsOK(res1
)) {
23951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23953 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23955 arg2
= wxString_in_helper(obj1
);
23956 if (arg2
== NULL
) SWIG_fail
;
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23962 wxPyEndAllowThreads(__tstate
);
23963 if (PyErr_Occurred()) SWIG_fail
;
23965 resultobj
= SWIG_Py_Void();
23980 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23981 PyObject
*resultobj
= 0;
23982 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23988 PyObject
* obj0
= 0 ;
23989 PyObject
* obj1
= 0 ;
23990 char * kwnames
[] = {
23991 (char *) "self",(char *) "colour", NULL
23994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23996 if (!SWIG_IsOK(res1
)) {
23997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23999 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24000 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24001 if (!SWIG_IsOK(ecode2
)) {
24002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24004 arg2
= static_cast< bool >(val2
);
24006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24007 (arg1
)->SetColour(arg2
);
24008 wxPyEndAllowThreads(__tstate
);
24009 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= SWIG_Py_Void();
24018 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24019 PyObject
*resultobj
= 0;
24020 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24021 wxDuplexMode arg2
;
24026 PyObject
* obj0
= 0 ;
24027 PyObject
* obj1
= 0 ;
24028 char * kwnames
[] = {
24029 (char *) "self",(char *) "duplex", NULL
24032 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24033 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24034 if (!SWIG_IsOK(res1
)) {
24035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24037 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24038 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24039 if (!SWIG_IsOK(ecode2
)) {
24040 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24042 arg2
= static_cast< wxDuplexMode
>(val2
);
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 (arg1
)->SetDuplex(arg2
);
24046 wxPyEndAllowThreads(__tstate
);
24047 if (PyErr_Occurred()) SWIG_fail
;
24049 resultobj
= SWIG_Py_Void();
24056 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24057 PyObject
*resultobj
= 0;
24058 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24064 PyObject
* obj0
= 0 ;
24065 PyObject
* obj1
= 0 ;
24066 char * kwnames
[] = {
24067 (char *) "self",(char *) "sizeId", NULL
24070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24072 if (!SWIG_IsOK(res1
)) {
24073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24075 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24076 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24077 if (!SWIG_IsOK(ecode2
)) {
24078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24080 arg2
= static_cast< wxPaperSize
>(val2
);
24082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24083 (arg1
)->SetPaperId(arg2
);
24084 wxPyEndAllowThreads(__tstate
);
24085 if (PyErr_Occurred()) SWIG_fail
;
24087 resultobj
= SWIG_Py_Void();
24094 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24095 PyObject
*resultobj
= 0;
24096 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24101 PyObject
* obj0
= 0 ;
24102 PyObject
* obj1
= 0 ;
24103 char * kwnames
[] = {
24104 (char *) "self",(char *) "sz", NULL
24107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24109 if (!SWIG_IsOK(res1
)) {
24110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24112 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24115 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24119 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24120 wxPyEndAllowThreads(__tstate
);
24121 if (PyErr_Occurred()) SWIG_fail
;
24123 resultobj
= SWIG_Py_Void();
24130 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24131 PyObject
*resultobj
= 0;
24132 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24138 PyObject
* obj0
= 0 ;
24139 PyObject
* obj1
= 0 ;
24140 char * kwnames
[] = {
24141 (char *) "self",(char *) "quality", NULL
24144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24146 if (!SWIG_IsOK(res1
)) {
24147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24149 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24151 if (!SWIG_IsOK(ecode2
)) {
24152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24154 arg2
= static_cast< int >(val2
);
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24157 (arg1
)->SetQuality(arg2
);
24158 wxPyEndAllowThreads(__tstate
);
24159 if (PyErr_Occurred()) SWIG_fail
;
24161 resultobj
= SWIG_Py_Void();
24168 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
= 0;
24170 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24176 PyObject
* obj0
= 0 ;
24177 PyObject
* obj1
= 0 ;
24178 char * kwnames
[] = {
24179 (char *) "self",(char *) "bin", NULL
24182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24184 if (!SWIG_IsOK(res1
)) {
24185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24187 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24189 if (!SWIG_IsOK(ecode2
)) {
24190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24192 arg2
= static_cast< wxPrintBin
>(val2
);
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 (arg1
)->SetBin(arg2
);
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 resultobj
= SWIG_Py_Void();
24206 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
= 0;
24208 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24214 PyObject
* obj0
= 0 ;
24215 PyObject
* obj1
= 0 ;
24216 char * kwnames
[] = {
24217 (char *) "self",(char *) "printMode", NULL
24220 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24221 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24222 if (!SWIG_IsOK(res1
)) {
24223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24225 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24226 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24227 if (!SWIG_IsOK(ecode2
)) {
24228 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24230 arg2
= static_cast< wxPrintMode
>(val2
);
24232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24233 (arg1
)->SetPrintMode(arg2
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24237 resultobj
= SWIG_Py_Void();
24244 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24245 PyObject
*resultobj
= 0;
24246 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24250 PyObject
*swig_obj
[1] ;
24252 if (!args
) SWIG_fail
;
24253 swig_obj
[0] = args
;
24254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24255 if (!SWIG_IsOK(res1
)) {
24256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24258 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24262 wxPyEndAllowThreads(__tstate
);
24263 if (PyErr_Occurred()) SWIG_fail
;
24267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24278 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24279 PyObject
*resultobj
= 0;
24280 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24281 wxString
*arg2
= 0 ;
24284 bool temp2
= false ;
24285 PyObject
* obj0
= 0 ;
24286 PyObject
* obj1
= 0 ;
24287 char * kwnames
[] = {
24288 (char *) "self",(char *) "filename", NULL
24291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24293 if (!SWIG_IsOK(res1
)) {
24294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24296 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24298 arg2
= wxString_in_helper(obj1
);
24299 if (arg2
== NULL
) SWIG_fail
;
24303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24304 (arg1
)->SetFilename((wxString
const &)*arg2
);
24305 wxPyEndAllowThreads(__tstate
);
24306 if (PyErr_Occurred()) SWIG_fail
;
24308 resultobj
= SWIG_Py_Void();
24323 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24324 PyObject
*resultobj
= 0;
24325 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24326 PyObject
*result
= 0 ;
24329 PyObject
*swig_obj
[1] ;
24331 if (!args
) SWIG_fail
;
24332 swig_obj
[0] = args
;
24333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24334 if (!SWIG_IsOK(res1
)) {
24335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24337 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24340 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24341 wxPyEndAllowThreads(__tstate
);
24342 if (PyErr_Occurred()) SWIG_fail
;
24344 resultobj
= result
;
24351 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24352 PyObject
*resultobj
= 0;
24353 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24354 PyObject
*arg2
= (PyObject
*) 0 ;
24357 PyObject
* obj0
= 0 ;
24358 PyObject
* obj1
= 0 ;
24359 char * kwnames
[] = {
24360 (char *) "self",(char *) "data", NULL
24363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24365 if (!SWIG_IsOK(res1
)) {
24366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24368 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24372 wxPrintData_SetPrivData(arg1
,arg2
);
24373 wxPyEndAllowThreads(__tstate
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24376 resultobj
= SWIG_Py_Void();
24383 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24385 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24386 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24387 return SWIG_Py_Void();
24390 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24391 return SWIG_Python_InitShadowInstance(args
);
24394 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24395 PyObject
*resultobj
= 0;
24396 wxPageSetupDialogData
*result
= 0 ;
24398 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24401 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24402 wxPyEndAllowThreads(__tstate
);
24403 if (PyErr_Occurred()) SWIG_fail
;
24405 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24412 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24413 PyObject
*resultobj
= 0;
24414 wxPageSetupDialogData
*arg1
= 0 ;
24415 wxPageSetupDialogData
*result
= 0 ;
24419 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24421 if (!SWIG_IsOK(res1
)) {
24422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24425 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24427 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24430 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24431 wxPyEndAllowThreads(__tstate
);
24432 if (PyErr_Occurred()) SWIG_fail
;
24434 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24441 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24442 PyObject
*resultobj
= 0;
24443 wxPrintData
*arg1
= 0 ;
24444 wxPageSetupDialogData
*result
= 0 ;
24448 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24450 if (!SWIG_IsOK(res1
)) {
24451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24454 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24456 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24470 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24474 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24477 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24482 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24483 _v
= SWIG_CheckState(res
);
24485 if (!_v
) goto check_2
;
24486 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24491 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24495 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24500 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24501 PyObject
*resultobj
= 0;
24502 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24505 PyObject
*swig_obj
[1] ;
24507 if (!args
) SWIG_fail
;
24508 swig_obj
[0] = args
;
24509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24510 if (!SWIG_IsOK(res1
)) {
24511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24513 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24518 wxPyEndAllowThreads(__tstate
);
24519 if (PyErr_Occurred()) SWIG_fail
;
24521 resultobj
= SWIG_Py_Void();
24528 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24529 PyObject
*resultobj
= 0;
24530 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24536 PyObject
* obj0
= 0 ;
24537 PyObject
* obj1
= 0 ;
24538 char * kwnames
[] = {
24539 (char *) "self",(char *) "flag", NULL
24542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24544 if (!SWIG_IsOK(res1
)) {
24545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24547 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24548 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24549 if (!SWIG_IsOK(ecode2
)) {
24550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24552 arg2
= static_cast< bool >(val2
);
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 (arg1
)->EnableHelp(arg2
);
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24559 resultobj
= SWIG_Py_Void();
24566 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
= 0;
24568 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24574 PyObject
* obj0
= 0 ;
24575 PyObject
* obj1
= 0 ;
24576 char * kwnames
[] = {
24577 (char *) "self",(char *) "flag", NULL
24580 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24581 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24582 if (!SWIG_IsOK(res1
)) {
24583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24585 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24586 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24587 if (!SWIG_IsOK(ecode2
)) {
24588 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24590 arg2
= static_cast< bool >(val2
);
24592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24593 (arg1
)->EnableMargins(arg2
);
24594 wxPyEndAllowThreads(__tstate
);
24595 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= SWIG_Py_Void();
24604 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24605 PyObject
*resultobj
= 0;
24606 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24612 PyObject
* obj0
= 0 ;
24613 PyObject
* obj1
= 0 ;
24614 char * kwnames
[] = {
24615 (char *) "self",(char *) "flag", NULL
24618 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24619 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24620 if (!SWIG_IsOK(res1
)) {
24621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24623 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24624 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24625 if (!SWIG_IsOK(ecode2
)) {
24626 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24628 arg2
= static_cast< bool >(val2
);
24630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24631 (arg1
)->EnableOrientation(arg2
);
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24635 resultobj
= SWIG_Py_Void();
24642 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24643 PyObject
*resultobj
= 0;
24644 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24650 PyObject
* obj0
= 0 ;
24651 PyObject
* obj1
= 0 ;
24652 char * kwnames
[] = {
24653 (char *) "self",(char *) "flag", NULL
24656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24658 if (!SWIG_IsOK(res1
)) {
24659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24661 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24662 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24663 if (!SWIG_IsOK(ecode2
)) {
24664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24666 arg2
= static_cast< bool >(val2
);
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 (arg1
)->EnablePaper(arg2
);
24670 wxPyEndAllowThreads(__tstate
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24673 resultobj
= SWIG_Py_Void();
24680 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24681 PyObject
*resultobj
= 0;
24682 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24688 PyObject
* obj0
= 0 ;
24689 PyObject
* obj1
= 0 ;
24690 char * kwnames
[] = {
24691 (char *) "self",(char *) "flag", NULL
24694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24696 if (!SWIG_IsOK(res1
)) {
24697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24699 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24700 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24701 if (!SWIG_IsOK(ecode2
)) {
24702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24704 arg2
= static_cast< bool >(val2
);
24706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24707 (arg1
)->EnablePrinter(arg2
);
24708 wxPyEndAllowThreads(__tstate
);
24709 if (PyErr_Occurred()) SWIG_fail
;
24711 resultobj
= SWIG_Py_Void();
24718 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24719 PyObject
*resultobj
= 0;
24720 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24724 PyObject
*swig_obj
[1] ;
24726 if (!args
) SWIG_fail
;
24727 swig_obj
[0] = args
;
24728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24729 if (!SWIG_IsOK(res1
)) {
24730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24732 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 result
= (bool)(arg1
)->GetDefaultMinMargins();
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24748 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24749 PyObject
*resultobj
= 0;
24750 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24754 PyObject
*swig_obj
[1] ;
24756 if (!args
) SWIG_fail
;
24757 swig_obj
[0] = args
;
24758 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24759 if (!SWIG_IsOK(res1
)) {
24760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24762 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24765 result
= (bool)(arg1
)->GetEnableMargins();
24766 wxPyEndAllowThreads(__tstate
);
24767 if (PyErr_Occurred()) SWIG_fail
;
24770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24778 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24779 PyObject
*resultobj
= 0;
24780 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24784 PyObject
*swig_obj
[1] ;
24786 if (!args
) SWIG_fail
;
24787 swig_obj
[0] = args
;
24788 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24789 if (!SWIG_IsOK(res1
)) {
24790 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24792 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 result
= (bool)(arg1
)->GetEnableOrientation();
24796 wxPyEndAllowThreads(__tstate
);
24797 if (PyErr_Occurred()) SWIG_fail
;
24800 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24808 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24809 PyObject
*resultobj
= 0;
24810 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24814 PyObject
*swig_obj
[1] ;
24816 if (!args
) SWIG_fail
;
24817 swig_obj
[0] = args
;
24818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24819 if (!SWIG_IsOK(res1
)) {
24820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24822 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 result
= (bool)(arg1
)->GetEnablePaper();
24826 wxPyEndAllowThreads(__tstate
);
24827 if (PyErr_Occurred()) SWIG_fail
;
24830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24838 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24839 PyObject
*resultobj
= 0;
24840 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24844 PyObject
*swig_obj
[1] ;
24846 if (!args
) SWIG_fail
;
24847 swig_obj
[0] = args
;
24848 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24849 if (!SWIG_IsOK(res1
)) {
24850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24852 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24855 result
= (bool)(arg1
)->GetEnablePrinter();
24856 wxPyEndAllowThreads(__tstate
);
24857 if (PyErr_Occurred()) SWIG_fail
;
24860 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24868 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24869 PyObject
*resultobj
= 0;
24870 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24874 PyObject
*swig_obj
[1] ;
24876 if (!args
) SWIG_fail
;
24877 swig_obj
[0] = args
;
24878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24879 if (!SWIG_IsOK(res1
)) {
24880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24882 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24885 result
= (bool)(arg1
)->GetEnableHelp();
24886 wxPyEndAllowThreads(__tstate
);
24887 if (PyErr_Occurred()) SWIG_fail
;
24890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24898 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24899 PyObject
*resultobj
= 0;
24900 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24904 PyObject
*swig_obj
[1] ;
24906 if (!args
) SWIG_fail
;
24907 swig_obj
[0] = args
;
24908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24909 if (!SWIG_IsOK(res1
)) {
24910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24912 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24915 result
= (bool)(arg1
)->GetDefaultInfo();
24916 wxPyEndAllowThreads(__tstate
);
24917 if (PyErr_Occurred()) SWIG_fail
;
24920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24928 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24929 PyObject
*resultobj
= 0;
24930 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24934 PyObject
*swig_obj
[1] ;
24936 if (!args
) SWIG_fail
;
24937 swig_obj
[0] = args
;
24938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24939 if (!SWIG_IsOK(res1
)) {
24940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24942 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24945 result
= (arg1
)->GetMarginTopLeft();
24946 wxPyEndAllowThreads(__tstate
);
24947 if (PyErr_Occurred()) SWIG_fail
;
24949 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24956 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24957 PyObject
*resultobj
= 0;
24958 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24962 PyObject
*swig_obj
[1] ;
24964 if (!args
) SWIG_fail
;
24965 swig_obj
[0] = args
;
24966 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24967 if (!SWIG_IsOK(res1
)) {
24968 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24970 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24973 result
= (arg1
)->GetMarginBottomRight();
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24977 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24984 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24985 PyObject
*resultobj
= 0;
24986 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24990 PyObject
*swig_obj
[1] ;
24992 if (!args
) SWIG_fail
;
24993 swig_obj
[0] = args
;
24994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24995 if (!SWIG_IsOK(res1
)) {
24996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24998 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 result
= (arg1
)->GetMinMarginTopLeft();
25002 wxPyEndAllowThreads(__tstate
);
25003 if (PyErr_Occurred()) SWIG_fail
;
25005 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25012 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25013 PyObject
*resultobj
= 0;
25014 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25018 PyObject
*swig_obj
[1] ;
25020 if (!args
) SWIG_fail
;
25021 swig_obj
[0] = args
;
25022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25023 if (!SWIG_IsOK(res1
)) {
25024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25026 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 result
= (arg1
)->GetMinMarginBottomRight();
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25033 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25040 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25041 PyObject
*resultobj
= 0;
25042 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25043 wxPaperSize result
;
25046 PyObject
*swig_obj
[1] ;
25048 if (!args
) SWIG_fail
;
25049 swig_obj
[0] = args
;
25050 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25051 if (!SWIG_IsOK(res1
)) {
25052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25054 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25058 wxPyEndAllowThreads(__tstate
);
25059 if (PyErr_Occurred()) SWIG_fail
;
25061 resultobj
= SWIG_From_int(static_cast< int >(result
));
25068 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25069 PyObject
*resultobj
= 0;
25070 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25074 PyObject
*swig_obj
[1] ;
25076 if (!args
) SWIG_fail
;
25077 swig_obj
[0] = args
;
25078 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25079 if (!SWIG_IsOK(res1
)) {
25080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25082 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25085 result
= (arg1
)->GetPaperSize();
25086 wxPyEndAllowThreads(__tstate
);
25087 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25096 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25097 PyObject
*resultobj
= 0;
25098 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25099 wxPrintData
*result
= 0 ;
25102 PyObject
*swig_obj
[1] ;
25104 if (!args
) SWIG_fail
;
25105 swig_obj
[0] = args
;
25106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25107 if (!SWIG_IsOK(res1
)) {
25108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25110 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25114 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25115 result
= (wxPrintData
*) &_result_ref
;
25117 wxPyEndAllowThreads(__tstate
);
25118 if (PyErr_Occurred()) SWIG_fail
;
25120 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25127 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25128 PyObject
*resultobj
= 0;
25129 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25133 PyObject
*swig_obj
[1] ;
25135 if (!args
) SWIG_fail
;
25136 swig_obj
[0] = args
;
25137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25138 if (!SWIG_IsOK(res1
)) {
25139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25141 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25144 result
= (bool)(arg1
)->Ok();
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25157 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
= 0;
25159 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25165 PyObject
* obj0
= 0 ;
25166 PyObject
* obj1
= 0 ;
25167 char * kwnames
[] = {
25168 (char *) "self",(char *) "flag", NULL
25171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25173 if (!SWIG_IsOK(res1
)) {
25174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25176 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25177 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25178 if (!SWIG_IsOK(ecode2
)) {
25179 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25181 arg2
= static_cast< bool >(val2
);
25183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25184 (arg1
)->SetDefaultInfo(arg2
);
25185 wxPyEndAllowThreads(__tstate
);
25186 if (PyErr_Occurred()) SWIG_fail
;
25188 resultobj
= SWIG_Py_Void();
25195 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25196 PyObject
*resultobj
= 0;
25197 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25203 PyObject
* obj0
= 0 ;
25204 PyObject
* obj1
= 0 ;
25205 char * kwnames
[] = {
25206 (char *) "self",(char *) "flag", NULL
25209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25211 if (!SWIG_IsOK(res1
)) {
25212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25214 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25215 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25216 if (!SWIG_IsOK(ecode2
)) {
25217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25219 arg2
= static_cast< bool >(val2
);
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 (arg1
)->SetDefaultMinMargins(arg2
);
25223 wxPyEndAllowThreads(__tstate
);
25224 if (PyErr_Occurred()) SWIG_fail
;
25226 resultobj
= SWIG_Py_Void();
25233 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25234 PyObject
*resultobj
= 0;
25235 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25236 wxPoint
*arg2
= 0 ;
25240 PyObject
* obj0
= 0 ;
25241 PyObject
* obj1
= 0 ;
25242 char * kwnames
[] = {
25243 (char *) "self",(char *) "pt", NULL
25246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25248 if (!SWIG_IsOK(res1
)) {
25249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25251 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25254 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25259 wxPyEndAllowThreads(__tstate
);
25260 if (PyErr_Occurred()) SWIG_fail
;
25262 resultobj
= SWIG_Py_Void();
25269 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25270 PyObject
*resultobj
= 0;
25271 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25272 wxPoint
*arg2
= 0 ;
25276 PyObject
* obj0
= 0 ;
25277 PyObject
* obj1
= 0 ;
25278 char * kwnames
[] = {
25279 (char *) "self",(char *) "pt", NULL
25282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25284 if (!SWIG_IsOK(res1
)) {
25285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25287 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25290 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25294 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25295 wxPyEndAllowThreads(__tstate
);
25296 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= SWIG_Py_Void();
25305 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25306 PyObject
*resultobj
= 0;
25307 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25308 wxPoint
*arg2
= 0 ;
25312 PyObject
* obj0
= 0 ;
25313 PyObject
* obj1
= 0 ;
25314 char * kwnames
[] = {
25315 (char *) "self",(char *) "pt", NULL
25318 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25319 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25320 if (!SWIG_IsOK(res1
)) {
25321 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25323 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25326 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25330 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25331 wxPyEndAllowThreads(__tstate
);
25332 if (PyErr_Occurred()) SWIG_fail
;
25334 resultobj
= SWIG_Py_Void();
25341 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25342 PyObject
*resultobj
= 0;
25343 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25344 wxPoint
*arg2
= 0 ;
25348 PyObject
* obj0
= 0 ;
25349 PyObject
* obj1
= 0 ;
25350 char * kwnames
[] = {
25351 (char *) "self",(char *) "pt", NULL
25354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25356 if (!SWIG_IsOK(res1
)) {
25357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25359 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25362 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25366 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25367 wxPyEndAllowThreads(__tstate
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25370 resultobj
= SWIG_Py_Void();
25377 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25378 PyObject
*resultobj
= 0;
25379 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25385 PyObject
* obj0
= 0 ;
25386 PyObject
* obj1
= 0 ;
25387 char * kwnames
[] = {
25388 (char *) "self",(char *) "id", NULL
25391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25393 if (!SWIG_IsOK(res1
)) {
25394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25396 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25398 if (!SWIG_IsOK(ecode2
)) {
25399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25401 arg2
= static_cast< wxPaperSize
>(val2
);
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 (arg1
)->SetPaperId(arg2
);
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 resultobj
= SWIG_Py_Void();
25415 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25416 PyObject
*resultobj
= 0;
25417 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25422 PyObject
* obj0
= 0 ;
25423 PyObject
* obj1
= 0 ;
25424 char * kwnames
[] = {
25425 (char *) "self",(char *) "size", NULL
25428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25430 if (!SWIG_IsOK(res1
)) {
25431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25433 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25436 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25440 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25441 wxPyEndAllowThreads(__tstate
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25444 resultobj
= SWIG_Py_Void();
25451 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25452 PyObject
*resultobj
= 0;
25453 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25454 wxPrintData
*arg2
= 0 ;
25459 PyObject
* obj0
= 0 ;
25460 PyObject
* obj1
= 0 ;
25461 char * kwnames
[] = {
25462 (char *) "self",(char *) "printData", NULL
25465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25467 if (!SWIG_IsOK(res1
)) {
25468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25470 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25471 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25472 if (!SWIG_IsOK(res2
)) {
25473 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25476 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25478 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25481 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25482 wxPyEndAllowThreads(__tstate
);
25483 if (PyErr_Occurred()) SWIG_fail
;
25485 resultobj
= SWIG_Py_Void();
25492 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25493 PyObject
*resultobj
= 0;
25494 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25497 PyObject
*swig_obj
[1] ;
25499 if (!args
) SWIG_fail
;
25500 swig_obj
[0] = args
;
25501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25502 if (!SWIG_IsOK(res1
)) {
25503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25505 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25508 (arg1
)->CalculateIdFromPaperSize();
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 resultobj
= SWIG_Py_Void();
25519 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25520 PyObject
*resultobj
= 0;
25521 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25524 PyObject
*swig_obj
[1] ;
25526 if (!args
) SWIG_fail
;
25527 swig_obj
[0] = args
;
25528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25529 if (!SWIG_IsOK(res1
)) {
25530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25532 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25535 (arg1
)->CalculatePaperSizeFromId();
25536 wxPyEndAllowThreads(__tstate
);
25537 if (PyErr_Occurred()) SWIG_fail
;
25539 resultobj
= SWIG_Py_Void();
25546 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25548 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25549 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25550 return SWIG_Py_Void();
25553 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25554 return SWIG_Python_InitShadowInstance(args
);
25557 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25558 PyObject
*resultobj
= 0;
25559 wxWindow
*arg1
= (wxWindow
*) 0 ;
25560 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25561 wxPageSetupDialog
*result
= 0 ;
25566 PyObject
* obj0
= 0 ;
25567 PyObject
* obj1
= 0 ;
25568 char * kwnames
[] = {
25569 (char *) "parent",(char *) "data", NULL
25572 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25573 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25574 if (!SWIG_IsOK(res1
)) {
25575 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25577 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25579 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25580 if (!SWIG_IsOK(res2
)) {
25581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25583 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25586 if (!wxPyCheckForApp()) SWIG_fail
;
25587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25588 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25589 wxPyEndAllowThreads(__tstate
);
25590 if (PyErr_Occurred()) SWIG_fail
;
25592 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25599 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25600 PyObject
*resultobj
= 0;
25601 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25604 PyObject
*swig_obj
[1] ;
25606 if (!args
) SWIG_fail
;
25607 swig_obj
[0] = args
;
25608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25609 if (!SWIG_IsOK(res1
)) {
25610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25612 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25617 wxPyEndAllowThreads(__tstate
);
25618 if (PyErr_Occurred()) SWIG_fail
;
25620 resultobj
= SWIG_Py_Void();
25627 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25628 PyObject
*resultobj
= 0;
25629 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25630 wxPageSetupDialogData
*result
= 0 ;
25633 PyObject
*swig_obj
[1] ;
25635 if (!args
) SWIG_fail
;
25636 swig_obj
[0] = args
;
25637 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25638 if (!SWIG_IsOK(res1
)) {
25639 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25641 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25645 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25646 result
= (wxPageSetupDialogData
*) &_result_ref
;
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25651 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25658 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25659 PyObject
*resultobj
= 0;
25660 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25661 wxPageSetupDialogData
*result
= 0 ;
25664 PyObject
*swig_obj
[1] ;
25666 if (!args
) SWIG_fail
;
25667 swig_obj
[0] = args
;
25668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25669 if (!SWIG_IsOK(res1
)) {
25670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25672 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25676 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25677 result
= (wxPageSetupDialogData
*) &_result_ref
;
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25682 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25689 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25690 PyObject
*resultobj
= 0;
25691 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25695 PyObject
*swig_obj
[1] ;
25697 if (!args
) SWIG_fail
;
25698 swig_obj
[0] = args
;
25699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25700 if (!SWIG_IsOK(res1
)) {
25701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25703 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25706 result
= (int)(arg1
)->ShowModal();
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25710 resultobj
= SWIG_From_int(static_cast< int >(result
));
25717 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25719 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25720 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25721 return SWIG_Py_Void();
25724 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25725 return SWIG_Python_InitShadowInstance(args
);
25728 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25729 PyObject
*resultobj
= 0;
25730 wxPrintDialogData
*result
= 0 ;
25732 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25736 wxPyEndAllowThreads(__tstate
);
25737 if (PyErr_Occurred()) SWIG_fail
;
25739 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25746 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25747 PyObject
*resultobj
= 0;
25748 wxPrintData
*arg1
= 0 ;
25749 wxPrintDialogData
*result
= 0 ;
25753 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25754 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25755 if (!SWIG_IsOK(res1
)) {
25756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25759 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25761 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25764 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25765 wxPyEndAllowThreads(__tstate
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25775 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25776 PyObject
*resultobj
= 0;
25777 wxPrintDialogData
*arg1
= 0 ;
25778 wxPrintDialogData
*result
= 0 ;
25782 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25784 if (!SWIG_IsOK(res1
)) {
25785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25788 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25790 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25793 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25794 wxPyEndAllowThreads(__tstate
);
25795 if (PyErr_Occurred()) SWIG_fail
;
25797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25804 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25808 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25811 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25816 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25817 _v
= SWIG_CheckState(res
);
25819 if (!_v
) goto check_2
;
25820 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25825 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25829 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25834 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25835 PyObject
*resultobj
= 0;
25836 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25839 PyObject
*swig_obj
[1] ;
25841 if (!args
) SWIG_fail
;
25842 swig_obj
[0] = args
;
25843 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25844 if (!SWIG_IsOK(res1
)) {
25845 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25847 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25852 wxPyEndAllowThreads(__tstate
);
25853 if (PyErr_Occurred()) SWIG_fail
;
25855 resultobj
= SWIG_Py_Void();
25862 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25863 PyObject
*resultobj
= 0;
25864 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25868 PyObject
*swig_obj
[1] ;
25870 if (!args
) SWIG_fail
;
25871 swig_obj
[0] = args
;
25872 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25873 if (!SWIG_IsOK(res1
)) {
25874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25876 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25879 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25880 wxPyEndAllowThreads(__tstate
);
25881 if (PyErr_Occurred()) SWIG_fail
;
25883 resultobj
= SWIG_From_int(static_cast< int >(result
));
25890 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25891 PyObject
*resultobj
= 0;
25892 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25896 PyObject
*swig_obj
[1] ;
25898 if (!args
) SWIG_fail
;
25899 swig_obj
[0] = args
;
25900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25901 if (!SWIG_IsOK(res1
)) {
25902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25904 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25907 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25908 wxPyEndAllowThreads(__tstate
);
25909 if (PyErr_Occurred()) SWIG_fail
;
25911 resultobj
= SWIG_From_int(static_cast< int >(result
));
25918 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25919 PyObject
*resultobj
= 0;
25920 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25924 PyObject
*swig_obj
[1] ;
25926 if (!args
) SWIG_fail
;
25927 swig_obj
[0] = args
;
25928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25929 if (!SWIG_IsOK(res1
)) {
25930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25932 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25935 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25939 resultobj
= SWIG_From_int(static_cast< int >(result
));
25946 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25947 PyObject
*resultobj
= 0;
25948 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25952 PyObject
*swig_obj
[1] ;
25954 if (!args
) SWIG_fail
;
25955 swig_obj
[0] = args
;
25956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25957 if (!SWIG_IsOK(res1
)) {
25958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25960 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25963 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25964 wxPyEndAllowThreads(__tstate
);
25965 if (PyErr_Occurred()) SWIG_fail
;
25967 resultobj
= SWIG_From_int(static_cast< int >(result
));
25974 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25975 PyObject
*resultobj
= 0;
25976 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25980 PyObject
*swig_obj
[1] ;
25982 if (!args
) SWIG_fail
;
25983 swig_obj
[0] = args
;
25984 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25985 if (!SWIG_IsOK(res1
)) {
25986 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25988 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25991 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25992 wxPyEndAllowThreads(__tstate
);
25993 if (PyErr_Occurred()) SWIG_fail
;
25995 resultobj
= SWIG_From_int(static_cast< int >(result
));
26002 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26003 PyObject
*resultobj
= 0;
26004 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26008 PyObject
*swig_obj
[1] ;
26010 if (!args
) SWIG_fail
;
26011 swig_obj
[0] = args
;
26012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26013 if (!SWIG_IsOK(res1
)) {
26014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26016 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26019 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26032 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26033 PyObject
*resultobj
= 0;
26034 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26038 PyObject
*swig_obj
[1] ;
26040 if (!args
) SWIG_fail
;
26041 swig_obj
[0] = args
;
26042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26043 if (!SWIG_IsOK(res1
)) {
26044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26046 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26049 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26050 wxPyEndAllowThreads(__tstate
);
26051 if (PyErr_Occurred()) SWIG_fail
;
26054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26062 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26063 PyObject
*resultobj
= 0;
26064 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26068 PyObject
*swig_obj
[1] ;
26070 if (!args
) SWIG_fail
;
26071 swig_obj
[0] = args
;
26072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26073 if (!SWIG_IsOK(res1
)) {
26074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26076 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26079 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26080 wxPyEndAllowThreads(__tstate
);
26081 if (PyErr_Occurred()) SWIG_fail
;
26084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26092 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26093 PyObject
*resultobj
= 0;
26094 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26098 PyObject
*swig_obj
[1] ;
26100 if (!args
) SWIG_fail
;
26101 swig_obj
[0] = args
;
26102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26103 if (!SWIG_IsOK(res1
)) {
26104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26106 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26109 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26122 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26123 PyObject
*resultobj
= 0;
26124 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26130 PyObject
* obj0
= 0 ;
26131 PyObject
* obj1
= 0 ;
26132 char * kwnames
[] = {
26133 (char *) "self",(char *) "v", NULL
26136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26138 if (!SWIG_IsOK(res1
)) {
26139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26141 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26143 if (!SWIG_IsOK(ecode2
)) {
26144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26146 arg2
= static_cast< int >(val2
);
26148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26149 (arg1
)->SetFromPage(arg2
);
26150 wxPyEndAllowThreads(__tstate
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26153 resultobj
= SWIG_Py_Void();
26160 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26161 PyObject
*resultobj
= 0;
26162 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26168 PyObject
* obj0
= 0 ;
26169 PyObject
* obj1
= 0 ;
26170 char * kwnames
[] = {
26171 (char *) "self",(char *) "v", NULL
26174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26176 if (!SWIG_IsOK(res1
)) {
26177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26179 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26180 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26181 if (!SWIG_IsOK(ecode2
)) {
26182 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26184 arg2
= static_cast< int >(val2
);
26186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26187 (arg1
)->SetToPage(arg2
);
26188 wxPyEndAllowThreads(__tstate
);
26189 if (PyErr_Occurred()) SWIG_fail
;
26191 resultobj
= SWIG_Py_Void();
26198 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26199 PyObject
*resultobj
= 0;
26200 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26206 PyObject
* obj0
= 0 ;
26207 PyObject
* obj1
= 0 ;
26208 char * kwnames
[] = {
26209 (char *) "self",(char *) "v", NULL
26212 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26213 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26214 if (!SWIG_IsOK(res1
)) {
26215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26217 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26219 if (!SWIG_IsOK(ecode2
)) {
26220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26222 arg2
= static_cast< int >(val2
);
26224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26225 (arg1
)->SetMinPage(arg2
);
26226 wxPyEndAllowThreads(__tstate
);
26227 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= SWIG_Py_Void();
26236 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26237 PyObject
*resultobj
= 0;
26238 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26244 PyObject
* obj0
= 0 ;
26245 PyObject
* obj1
= 0 ;
26246 char * kwnames
[] = {
26247 (char *) "self",(char *) "v", NULL
26250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26252 if (!SWIG_IsOK(res1
)) {
26253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26255 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26257 if (!SWIG_IsOK(ecode2
)) {
26258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26260 arg2
= static_cast< int >(val2
);
26262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26263 (arg1
)->SetMaxPage(arg2
);
26264 wxPyEndAllowThreads(__tstate
);
26265 if (PyErr_Occurred()) SWIG_fail
;
26267 resultobj
= SWIG_Py_Void();
26274 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26275 PyObject
*resultobj
= 0;
26276 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26282 PyObject
* obj0
= 0 ;
26283 PyObject
* obj1
= 0 ;
26284 char * kwnames
[] = {
26285 (char *) "self",(char *) "v", NULL
26288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26290 if (!SWIG_IsOK(res1
)) {
26291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26293 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26295 if (!SWIG_IsOK(ecode2
)) {
26296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26298 arg2
= static_cast< int >(val2
);
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26301 (arg1
)->SetNoCopies(arg2
);
26302 wxPyEndAllowThreads(__tstate
);
26303 if (PyErr_Occurred()) SWIG_fail
;
26305 resultobj
= SWIG_Py_Void();
26312 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
= 0;
26314 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26320 PyObject
* obj0
= 0 ;
26321 PyObject
* obj1
= 0 ;
26322 char * kwnames
[] = {
26323 (char *) "self",(char *) "flag", NULL
26326 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26327 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26328 if (!SWIG_IsOK(res1
)) {
26329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26331 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26332 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26333 if (!SWIG_IsOK(ecode2
)) {
26334 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26336 arg2
= static_cast< bool >(val2
);
26338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26339 (arg1
)->SetAllPages(arg2
);
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26343 resultobj
= SWIG_Py_Void();
26350 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26351 PyObject
*resultobj
= 0;
26352 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26358 PyObject
* obj0
= 0 ;
26359 PyObject
* obj1
= 0 ;
26360 char * kwnames
[] = {
26361 (char *) "self",(char *) "flag", NULL
26364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26366 if (!SWIG_IsOK(res1
)) {
26367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26369 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26370 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26371 if (!SWIG_IsOK(ecode2
)) {
26372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26374 arg2
= static_cast< bool >(val2
);
26376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26377 (arg1
)->SetSelection(arg2
);
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 resultobj
= SWIG_Py_Void();
26388 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26389 PyObject
*resultobj
= 0;
26390 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26396 PyObject
* obj0
= 0 ;
26397 PyObject
* obj1
= 0 ;
26398 char * kwnames
[] = {
26399 (char *) "self",(char *) "flag", NULL
26402 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26403 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26404 if (!SWIG_IsOK(res1
)) {
26405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26407 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26408 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26409 if (!SWIG_IsOK(ecode2
)) {
26410 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26412 arg2
= static_cast< bool >(val2
);
26414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26415 (arg1
)->SetCollate(arg2
);
26416 wxPyEndAllowThreads(__tstate
);
26417 if (PyErr_Occurred()) SWIG_fail
;
26419 resultobj
= SWIG_Py_Void();
26426 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26427 PyObject
*resultobj
= 0;
26428 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26434 PyObject
* obj0
= 0 ;
26435 PyObject
* obj1
= 0 ;
26436 char * kwnames
[] = {
26437 (char *) "self",(char *) "flag", NULL
26440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26442 if (!SWIG_IsOK(res1
)) {
26443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26445 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26446 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26447 if (!SWIG_IsOK(ecode2
)) {
26448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26450 arg2
= static_cast< bool >(val2
);
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 (arg1
)->SetPrintToFile(arg2
);
26454 wxPyEndAllowThreads(__tstate
);
26455 if (PyErr_Occurred()) SWIG_fail
;
26457 resultobj
= SWIG_Py_Void();
26464 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
= 0;
26466 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26472 PyObject
* obj0
= 0 ;
26473 PyObject
* obj1
= 0 ;
26474 char * kwnames
[] = {
26475 (char *) "self",(char *) "flag", NULL
26478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26480 if (!SWIG_IsOK(res1
)) {
26481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26483 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26484 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26485 if (!SWIG_IsOK(ecode2
)) {
26486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26488 arg2
= static_cast< bool >(val2
);
26490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26491 (arg1
)->EnablePrintToFile(arg2
);
26492 wxPyEndAllowThreads(__tstate
);
26493 if (PyErr_Occurred()) SWIG_fail
;
26495 resultobj
= SWIG_Py_Void();
26502 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26503 PyObject
*resultobj
= 0;
26504 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26510 PyObject
* obj0
= 0 ;
26511 PyObject
* obj1
= 0 ;
26512 char * kwnames
[] = {
26513 (char *) "self",(char *) "flag", NULL
26516 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26517 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26518 if (!SWIG_IsOK(res1
)) {
26519 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26521 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26522 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26523 if (!SWIG_IsOK(ecode2
)) {
26524 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26526 arg2
= static_cast< bool >(val2
);
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 (arg1
)->EnableSelection(arg2
);
26530 wxPyEndAllowThreads(__tstate
);
26531 if (PyErr_Occurred()) SWIG_fail
;
26533 resultobj
= SWIG_Py_Void();
26540 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26541 PyObject
*resultobj
= 0;
26542 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26548 PyObject
* obj0
= 0 ;
26549 PyObject
* obj1
= 0 ;
26550 char * kwnames
[] = {
26551 (char *) "self",(char *) "flag", NULL
26554 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26555 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26556 if (!SWIG_IsOK(res1
)) {
26557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26559 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26560 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26561 if (!SWIG_IsOK(ecode2
)) {
26562 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26564 arg2
= static_cast< bool >(val2
);
26566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26567 (arg1
)->EnablePageNumbers(arg2
);
26568 wxPyEndAllowThreads(__tstate
);
26569 if (PyErr_Occurred()) SWIG_fail
;
26571 resultobj
= SWIG_Py_Void();
26578 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26579 PyObject
*resultobj
= 0;
26580 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26586 PyObject
* obj0
= 0 ;
26587 PyObject
* obj1
= 0 ;
26588 char * kwnames
[] = {
26589 (char *) "self",(char *) "flag", NULL
26592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26594 if (!SWIG_IsOK(res1
)) {
26595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26597 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26598 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26599 if (!SWIG_IsOK(ecode2
)) {
26600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26602 arg2
= static_cast< bool >(val2
);
26604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26605 (arg1
)->EnableHelp(arg2
);
26606 wxPyEndAllowThreads(__tstate
);
26607 if (PyErr_Occurred()) SWIG_fail
;
26609 resultobj
= SWIG_Py_Void();
26616 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26617 PyObject
*resultobj
= 0;
26618 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26622 PyObject
*swig_obj
[1] ;
26624 if (!args
) SWIG_fail
;
26625 swig_obj
[0] = args
;
26626 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26627 if (!SWIG_IsOK(res1
)) {
26628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26630 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26633 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26634 wxPyEndAllowThreads(__tstate
);
26635 if (PyErr_Occurred()) SWIG_fail
;
26638 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26646 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26647 PyObject
*resultobj
= 0;
26648 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26652 PyObject
*swig_obj
[1] ;
26654 if (!args
) SWIG_fail
;
26655 swig_obj
[0] = args
;
26656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26657 if (!SWIG_IsOK(res1
)) {
26658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26660 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26663 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26664 wxPyEndAllowThreads(__tstate
);
26665 if (PyErr_Occurred()) SWIG_fail
;
26668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26676 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26677 PyObject
*resultobj
= 0;
26678 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26682 PyObject
*swig_obj
[1] ;
26684 if (!args
) SWIG_fail
;
26685 swig_obj
[0] = args
;
26686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26687 if (!SWIG_IsOK(res1
)) {
26688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26690 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26694 wxPyEndAllowThreads(__tstate
);
26695 if (PyErr_Occurred()) SWIG_fail
;
26698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26706 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26707 PyObject
*resultobj
= 0;
26708 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26712 PyObject
*swig_obj
[1] ;
26714 if (!args
) SWIG_fail
;
26715 swig_obj
[0] = args
;
26716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26717 if (!SWIG_IsOK(res1
)) {
26718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26720 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26723 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26724 wxPyEndAllowThreads(__tstate
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26736 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26737 PyObject
*resultobj
= 0;
26738 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26742 PyObject
*swig_obj
[1] ;
26744 if (!args
) SWIG_fail
;
26745 swig_obj
[0] = args
;
26746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26747 if (!SWIG_IsOK(res1
)) {
26748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26750 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26753 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26754 wxPyEndAllowThreads(__tstate
);
26755 if (PyErr_Occurred()) SWIG_fail
;
26758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26766 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26767 PyObject
*resultobj
= 0;
26768 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26769 wxPrintData
*result
= 0 ;
26772 PyObject
*swig_obj
[1] ;
26774 if (!args
) SWIG_fail
;
26775 swig_obj
[0] = args
;
26776 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26777 if (!SWIG_IsOK(res1
)) {
26778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26780 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26784 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26785 result
= (wxPrintData
*) &_result_ref
;
26787 wxPyEndAllowThreads(__tstate
);
26788 if (PyErr_Occurred()) SWIG_fail
;
26790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26797 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26798 PyObject
*resultobj
= 0;
26799 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26800 wxPrintData
*arg2
= 0 ;
26805 PyObject
* obj0
= 0 ;
26806 PyObject
* obj1
= 0 ;
26807 char * kwnames
[] = {
26808 (char *) "self",(char *) "printData", NULL
26811 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26812 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26813 if (!SWIG_IsOK(res1
)) {
26814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26816 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26817 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26818 if (!SWIG_IsOK(res2
)) {
26819 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26822 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26824 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26827 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26828 wxPyEndAllowThreads(__tstate
);
26829 if (PyErr_Occurred()) SWIG_fail
;
26831 resultobj
= SWIG_Py_Void();
26838 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26841 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26842 return SWIG_Py_Void();
26845 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26846 return SWIG_Python_InitShadowInstance(args
);
26849 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26850 PyObject
*resultobj
= 0;
26851 wxWindow
*arg1
= (wxWindow
*) 0 ;
26852 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26853 wxPrintDialog
*result
= 0 ;
26858 PyObject
* obj0
= 0 ;
26859 PyObject
* obj1
= 0 ;
26860 char * kwnames
[] = {
26861 (char *) "parent",(char *) "data", NULL
26864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26866 if (!SWIG_IsOK(res1
)) {
26867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26869 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26871 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26872 if (!SWIG_IsOK(res2
)) {
26873 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26875 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26878 if (!wxPyCheckForApp()) SWIG_fail
;
26879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26880 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26891 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26892 PyObject
*resultobj
= 0;
26893 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26896 PyObject
*swig_obj
[1] ;
26898 if (!args
) SWIG_fail
;
26899 swig_obj
[0] = args
;
26900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
26901 if (!SWIG_IsOK(res1
)) {
26902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26904 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26909 wxPyEndAllowThreads(__tstate
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26912 resultobj
= SWIG_Py_Void();
26919 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26920 PyObject
*resultobj
= 0;
26921 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26925 PyObject
*swig_obj
[1] ;
26927 if (!args
) SWIG_fail
;
26928 swig_obj
[0] = args
;
26929 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26930 if (!SWIG_IsOK(res1
)) {
26931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26933 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26936 result
= (int)(arg1
)->ShowModal();
26937 wxPyEndAllowThreads(__tstate
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26940 resultobj
= SWIG_From_int(static_cast< int >(result
));
26947 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26948 PyObject
*resultobj
= 0;
26949 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26950 wxPrintDialogData
*result
= 0 ;
26953 PyObject
*swig_obj
[1] ;
26955 if (!args
) SWIG_fail
;
26956 swig_obj
[0] = args
;
26957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26958 if (!SWIG_IsOK(res1
)) {
26959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26961 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26966 result
= (wxPrintDialogData
*) &_result_ref
;
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26971 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26978 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26979 PyObject
*resultobj
= 0;
26980 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26981 wxPrintData
*result
= 0 ;
26984 PyObject
*swig_obj
[1] ;
26986 if (!args
) SWIG_fail
;
26987 swig_obj
[0] = args
;
26988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26989 if (!SWIG_IsOK(res1
)) {
26990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26992 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26996 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26997 result
= (wxPrintData
*) &_result_ref
;
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27009 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27010 PyObject
*resultobj
= 0;
27011 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27015 PyObject
*swig_obj
[1] ;
27017 if (!args
) SWIG_fail
;
27018 swig_obj
[0] = args
;
27019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27020 if (!SWIG_IsOK(res1
)) {
27021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27023 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 result
= (wxDC
*)(arg1
)->GetPrintDC();
27027 wxPyEndAllowThreads(__tstate
);
27028 if (PyErr_Occurred()) SWIG_fail
;
27031 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27039 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27041 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27042 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27043 return SWIG_Py_Void();
27046 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27047 return SWIG_Python_InitShadowInstance(args
);
27050 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
= 0;
27052 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27053 wxPrinter
*result
= 0 ;
27056 PyObject
* obj0
= 0 ;
27057 char * kwnames
[] = {
27058 (char *) "data", NULL
27061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27064 if (!SWIG_IsOK(res1
)) {
27065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27067 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27070 if (!wxPyCheckForApp()) SWIG_fail
;
27071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27072 result
= (wxPrinter
*)new wxPrinter(arg1
);
27073 wxPyEndAllowThreads(__tstate
);
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27083 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27084 PyObject
*resultobj
= 0;
27085 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27088 PyObject
*swig_obj
[1] ;
27090 if (!args
) SWIG_fail
;
27091 swig_obj
[0] = args
;
27092 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27093 if (!SWIG_IsOK(res1
)) {
27094 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27096 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27101 wxPyEndAllowThreads(__tstate
);
27102 if (PyErr_Occurred()) SWIG_fail
;
27104 resultobj
= SWIG_Py_Void();
27111 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27112 PyObject
*resultobj
= 0;
27113 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27114 wxWindow
*arg2
= (wxWindow
*) 0 ;
27115 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27116 wxWindow
*result
= 0 ;
27123 PyObject
* obj0
= 0 ;
27124 PyObject
* obj1
= 0 ;
27125 PyObject
* obj2
= 0 ;
27126 char * kwnames
[] = {
27127 (char *) "self",(char *) "parent",(char *) "printout", NULL
27130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27132 if (!SWIG_IsOK(res1
)) {
27133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27135 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27136 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27137 if (!SWIG_IsOK(res2
)) {
27138 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27140 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27141 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27142 if (!SWIG_IsOK(res3
)) {
27143 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27145 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27148 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27149 wxPyEndAllowThreads(__tstate
);
27150 if (PyErr_Occurred()) SWIG_fail
;
27153 resultobj
= wxPyMake_wxObject(result
, 0);
27161 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27162 PyObject
*resultobj
= 0;
27163 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27164 wxWindow
*arg2
= (wxWindow
*) 0 ;
27165 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27166 wxString
*arg4
= 0 ;
27173 bool temp4
= false ;
27174 PyObject
* obj0
= 0 ;
27175 PyObject
* obj1
= 0 ;
27176 PyObject
* obj2
= 0 ;
27177 PyObject
* obj3
= 0 ;
27178 char * kwnames
[] = {
27179 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27184 if (!SWIG_IsOK(res1
)) {
27185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27187 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27189 if (!SWIG_IsOK(res2
)) {
27190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27192 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27193 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27194 if (!SWIG_IsOK(res3
)) {
27195 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27197 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27199 arg4
= wxString_in_helper(obj3
);
27200 if (arg4
== NULL
) SWIG_fail
;
27204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27209 resultobj
= SWIG_Py_Void();
27224 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27225 PyObject
*resultobj
= 0;
27226 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27227 wxWindow
*arg2
= (wxWindow
*) 0 ;
27233 PyObject
* obj0
= 0 ;
27234 PyObject
* obj1
= 0 ;
27235 char * kwnames
[] = {
27236 (char *) "self",(char *) "parent", NULL
27239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27241 if (!SWIG_IsOK(res1
)) {
27242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27244 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27245 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27246 if (!SWIG_IsOK(res2
)) {
27247 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27249 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27252 result
= (bool)(arg1
)->Setup(arg2
);
27253 wxPyEndAllowThreads(__tstate
);
27254 if (PyErr_Occurred()) SWIG_fail
;
27257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27265 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
= 0;
27267 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27268 wxWindow
*arg2
= (wxWindow
*) 0 ;
27269 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27270 bool arg4
= (bool) true ;
27280 PyObject
* obj0
= 0 ;
27281 PyObject
* obj1
= 0 ;
27282 PyObject
* obj2
= 0 ;
27283 PyObject
* obj3
= 0 ;
27284 char * kwnames
[] = {
27285 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27290 if (!SWIG_IsOK(res1
)) {
27291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27293 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27294 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27295 if (!SWIG_IsOK(res2
)) {
27296 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27298 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27299 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27300 if (!SWIG_IsOK(res3
)) {
27301 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27303 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27305 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27306 if (!SWIG_IsOK(ecode4
)) {
27307 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27309 arg4
= static_cast< bool >(val4
);
27312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27313 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27314 wxPyEndAllowThreads(__tstate
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27326 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27327 PyObject
*resultobj
= 0;
27328 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27329 wxWindow
*arg2
= (wxWindow
*) 0 ;
27335 PyObject
* obj0
= 0 ;
27336 PyObject
* obj1
= 0 ;
27337 char * kwnames
[] = {
27338 (char *) "self",(char *) "parent", NULL
27341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27343 if (!SWIG_IsOK(res1
)) {
27344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27346 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27347 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27348 if (!SWIG_IsOK(res2
)) {
27349 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27351 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27355 wxPyEndAllowThreads(__tstate
);
27356 if (PyErr_Occurred()) SWIG_fail
;
27359 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27367 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27368 PyObject
*resultobj
= 0;
27369 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27370 wxPrintDialogData
*result
= 0 ;
27373 PyObject
*swig_obj
[1] ;
27375 if (!args
) SWIG_fail
;
27376 swig_obj
[0] = args
;
27377 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27378 if (!SWIG_IsOK(res1
)) {
27379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27381 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27385 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27386 result
= (wxPrintDialogData
*) &_result_ref
;
27388 wxPyEndAllowThreads(__tstate
);
27389 if (PyErr_Occurred()) SWIG_fail
;
27391 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27398 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27399 PyObject
*resultobj
= 0;
27400 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27404 PyObject
*swig_obj
[1] ;
27406 if (!args
) SWIG_fail
;
27407 swig_obj
[0] = args
;
27408 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27409 if (!SWIG_IsOK(res1
)) {
27410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27412 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27415 result
= (bool)(arg1
)->GetAbort();
27416 wxPyEndAllowThreads(__tstate
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27428 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27429 PyObject
*resultobj
= 0;
27430 wxPrinterError result
;
27432 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27435 result
= (wxPrinterError
)wxPrinter::GetLastError();
27436 wxPyEndAllowThreads(__tstate
);
27437 if (PyErr_Occurred()) SWIG_fail
;
27439 resultobj
= SWIG_From_int(static_cast< int >(result
));
27446 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27448 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27449 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27450 return SWIG_Py_Void();
27453 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27454 return SWIG_Python_InitShadowInstance(args
);
27457 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27458 PyObject
*resultobj
= 0;
27459 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27460 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27461 wxPyPrintout
*result
= 0 ;
27462 bool temp1
= false ;
27463 PyObject
* obj0
= 0 ;
27464 char * kwnames
[] = {
27465 (char *) "title", NULL
27468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27471 arg1
= wxString_in_helper(obj0
);
27472 if (arg1
== NULL
) SWIG_fail
;
27477 if (!wxPyCheckForApp()) SWIG_fail
;
27478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27479 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27480 wxPyEndAllowThreads(__tstate
);
27481 if (PyErr_Occurred()) SWIG_fail
;
27483 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27498 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27499 PyObject
*resultobj
= 0;
27500 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27503 PyObject
*swig_obj
[1] ;
27505 if (!args
) SWIG_fail
;
27506 swig_obj
[0] = args
;
27507 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27508 if (!SWIG_IsOK(res1
)) {
27509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27511 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 wxPyEndAllowThreads(__tstate
);
27517 if (PyErr_Occurred()) SWIG_fail
;
27519 resultobj
= SWIG_Py_Void();
27526 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27527 PyObject
*resultobj
= 0;
27528 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27529 PyObject
*arg2
= (PyObject
*) 0 ;
27530 PyObject
*arg3
= (PyObject
*) 0 ;
27533 PyObject
* obj0
= 0 ;
27534 PyObject
* obj1
= 0 ;
27535 PyObject
* obj2
= 0 ;
27536 char * kwnames
[] = {
27537 (char *) "self",(char *) "self",(char *) "_class", NULL
27540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27542 if (!SWIG_IsOK(res1
)) {
27543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27545 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27550 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27551 wxPyEndAllowThreads(__tstate
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27554 resultobj
= SWIG_Py_Void();
27561 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27562 PyObject
*resultobj
= 0;
27563 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27567 PyObject
*swig_obj
[1] ;
27569 if (!args
) SWIG_fail
;
27570 swig_obj
[0] = args
;
27571 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27572 if (!SWIG_IsOK(res1
)) {
27573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27575 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27584 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27586 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27595 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27596 PyObject
*resultobj
= 0;
27597 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27601 PyObject
*swig_obj
[1] ;
27603 if (!args
) SWIG_fail
;
27604 swig_obj
[0] = args
;
27605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27606 if (!SWIG_IsOK(res1
)) {
27607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27609 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27612 result
= (wxDC
*)(arg1
)->GetDC();
27613 wxPyEndAllowThreads(__tstate
);
27614 if (PyErr_Occurred()) SWIG_fail
;
27617 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27625 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27626 PyObject
*resultobj
= 0;
27627 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27628 wxDC
*arg2
= (wxDC
*) 0 ;
27633 PyObject
* obj0
= 0 ;
27634 PyObject
* obj1
= 0 ;
27635 char * kwnames
[] = {
27636 (char *) "self",(char *) "dc", NULL
27639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27641 if (!SWIG_IsOK(res1
)) {
27642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27644 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27645 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27646 if (!SWIG_IsOK(res2
)) {
27647 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27649 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27652 (arg1
)->SetDC(arg2
);
27653 wxPyEndAllowThreads(__tstate
);
27654 if (PyErr_Occurred()) SWIG_fail
;
27656 resultobj
= SWIG_Py_Void();
27663 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27664 PyObject
*resultobj
= 0;
27665 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27674 PyObject
* obj0
= 0 ;
27675 PyObject
* obj1
= 0 ;
27676 PyObject
* obj2
= 0 ;
27677 char * kwnames
[] = {
27678 (char *) "self",(char *) "w",(char *) "h", NULL
27681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27683 if (!SWIG_IsOK(res1
)) {
27684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27686 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27688 if (!SWIG_IsOK(ecode2
)) {
27689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27691 arg2
= static_cast< int >(val2
);
27692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27693 if (!SWIG_IsOK(ecode3
)) {
27694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27696 arg3
= static_cast< int >(val3
);
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27700 wxPyEndAllowThreads(__tstate
);
27701 if (PyErr_Occurred()) SWIG_fail
;
27703 resultobj
= SWIG_Py_Void();
27710 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27711 PyObject
*resultobj
= 0;
27712 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27713 int *arg2
= (int *) 0 ;
27714 int *arg3
= (int *) 0 ;
27718 int res2
= SWIG_TMPOBJ
;
27720 int res3
= SWIG_TMPOBJ
;
27721 PyObject
*swig_obj
[1] ;
27725 if (!args
) SWIG_fail
;
27726 swig_obj
[0] = args
;
27727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27728 if (!SWIG_IsOK(res1
)) {
27729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27731 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27734 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27735 wxPyEndAllowThreads(__tstate
);
27736 if (PyErr_Occurred()) SWIG_fail
;
27738 resultobj
= SWIG_Py_Void();
27739 if (SWIG_IsTmpObj(res2
)) {
27740 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27742 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27743 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27745 if (SWIG_IsTmpObj(res3
)) {
27746 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27748 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27749 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27757 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27758 PyObject
*resultobj
= 0;
27759 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27768 PyObject
* obj0
= 0 ;
27769 PyObject
* obj1
= 0 ;
27770 PyObject
* obj2
= 0 ;
27771 char * kwnames
[] = {
27772 (char *) "self",(char *) "w",(char *) "h", NULL
27775 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27776 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27777 if (!SWIG_IsOK(res1
)) {
27778 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27780 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27781 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27782 if (!SWIG_IsOK(ecode2
)) {
27783 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27785 arg2
= static_cast< int >(val2
);
27786 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27787 if (!SWIG_IsOK(ecode3
)) {
27788 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27790 arg3
= static_cast< int >(val3
);
27792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27793 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 resultobj
= SWIG_Py_Void();
27804 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27805 PyObject
*resultobj
= 0;
27806 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27807 int *arg2
= (int *) 0 ;
27808 int *arg3
= (int *) 0 ;
27812 int res2
= SWIG_TMPOBJ
;
27814 int res3
= SWIG_TMPOBJ
;
27815 PyObject
*swig_obj
[1] ;
27819 if (!args
) SWIG_fail
;
27820 swig_obj
[0] = args
;
27821 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27822 if (!SWIG_IsOK(res1
)) {
27823 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27825 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27829 wxPyEndAllowThreads(__tstate
);
27830 if (PyErr_Occurred()) SWIG_fail
;
27832 resultobj
= SWIG_Py_Void();
27833 if (SWIG_IsTmpObj(res2
)) {
27834 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27836 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27837 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27839 if (SWIG_IsTmpObj(res3
)) {
27840 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27842 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27851 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27852 PyObject
*resultobj
= 0;
27853 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27862 PyObject
* obj0
= 0 ;
27863 PyObject
* obj1
= 0 ;
27864 PyObject
* obj2
= 0 ;
27865 char * kwnames
[] = {
27866 (char *) "self",(char *) "x",(char *) "y", NULL
27869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27871 if (!SWIG_IsOK(res1
)) {
27872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27874 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27876 if (!SWIG_IsOK(ecode2
)) {
27877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27879 arg2
= static_cast< int >(val2
);
27880 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27881 if (!SWIG_IsOK(ecode3
)) {
27882 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27884 arg3
= static_cast< int >(val3
);
27886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27887 (arg1
)->SetPPIScreen(arg2
,arg3
);
27888 wxPyEndAllowThreads(__tstate
);
27889 if (PyErr_Occurred()) SWIG_fail
;
27891 resultobj
= SWIG_Py_Void();
27898 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27899 PyObject
*resultobj
= 0;
27900 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27901 int *arg2
= (int *) 0 ;
27902 int *arg3
= (int *) 0 ;
27906 int res2
= SWIG_TMPOBJ
;
27908 int res3
= SWIG_TMPOBJ
;
27909 PyObject
*swig_obj
[1] ;
27913 if (!args
) SWIG_fail
;
27914 swig_obj
[0] = args
;
27915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27916 if (!SWIG_IsOK(res1
)) {
27917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27919 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27922 (arg1
)->GetPPIScreen(arg2
,arg3
);
27923 wxPyEndAllowThreads(__tstate
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27926 resultobj
= SWIG_Py_Void();
27927 if (SWIG_IsTmpObj(res2
)) {
27928 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27930 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27931 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27933 if (SWIG_IsTmpObj(res3
)) {
27934 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27936 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27945 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27946 PyObject
*resultobj
= 0;
27947 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27956 PyObject
* obj0
= 0 ;
27957 PyObject
* obj1
= 0 ;
27958 PyObject
* obj2
= 0 ;
27959 char * kwnames
[] = {
27960 (char *) "self",(char *) "x",(char *) "y", NULL
27963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27965 if (!SWIG_IsOK(res1
)) {
27966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27968 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27970 if (!SWIG_IsOK(ecode2
)) {
27971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27973 arg2
= static_cast< int >(val2
);
27974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27975 if (!SWIG_IsOK(ecode3
)) {
27976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27978 arg3
= static_cast< int >(val3
);
27980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27981 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27982 wxPyEndAllowThreads(__tstate
);
27983 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= SWIG_Py_Void();
27992 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27993 PyObject
*resultobj
= 0;
27994 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27995 int *arg2
= (int *) 0 ;
27996 int *arg3
= (int *) 0 ;
28000 int res2
= SWIG_TMPOBJ
;
28002 int res3
= SWIG_TMPOBJ
;
28003 PyObject
*swig_obj
[1] ;
28007 if (!args
) SWIG_fail
;
28008 swig_obj
[0] = args
;
28009 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28010 if (!SWIG_IsOK(res1
)) {
28011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28013 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28016 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28017 wxPyEndAllowThreads(__tstate
);
28018 if (PyErr_Occurred()) SWIG_fail
;
28020 resultobj
= SWIG_Py_Void();
28021 if (SWIG_IsTmpObj(res2
)) {
28022 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28024 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28025 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28027 if (SWIG_IsTmpObj(res3
)) {
28028 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28030 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28039 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28040 PyObject
*resultobj
= 0;
28041 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28045 PyObject
*swig_obj
[1] ;
28047 if (!args
) SWIG_fail
;
28048 swig_obj
[0] = args
;
28049 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28050 if (!SWIG_IsOK(res1
)) {
28051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28053 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28056 result
= (bool)(arg1
)->IsPreview();
28057 wxPyEndAllowThreads(__tstate
);
28058 if (PyErr_Occurred()) SWIG_fail
;
28061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28069 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28070 PyObject
*resultobj
= 0;
28071 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28077 PyObject
* obj0
= 0 ;
28078 PyObject
* obj1
= 0 ;
28079 char * kwnames
[] = {
28080 (char *) "self",(char *) "p", NULL
28083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28085 if (!SWIG_IsOK(res1
)) {
28086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28088 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28089 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28090 if (!SWIG_IsOK(ecode2
)) {
28091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28093 arg2
= static_cast< bool >(val2
);
28095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28096 (arg1
)->SetIsPreview(arg2
);
28097 wxPyEndAllowThreads(__tstate
);
28098 if (PyErr_Occurred()) SWIG_fail
;
28100 resultobj
= SWIG_Py_Void();
28107 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28108 PyObject
*resultobj
= 0;
28109 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28119 PyObject
* obj0
= 0 ;
28120 PyObject
* obj1
= 0 ;
28121 PyObject
* obj2
= 0 ;
28122 char * kwnames
[] = {
28123 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28128 if (!SWIG_IsOK(res1
)) {
28129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28131 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28133 if (!SWIG_IsOK(ecode2
)) {
28134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28136 arg2
= static_cast< int >(val2
);
28137 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28138 if (!SWIG_IsOK(ecode3
)) {
28139 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28141 arg3
= static_cast< int >(val3
);
28143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28144 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28145 wxPyEndAllowThreads(__tstate
);
28146 if (PyErr_Occurred()) SWIG_fail
;
28149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28157 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28158 PyObject
*resultobj
= 0;
28159 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28162 PyObject
*swig_obj
[1] ;
28164 if (!args
) SWIG_fail
;
28165 swig_obj
[0] = args
;
28166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28167 if (!SWIG_IsOK(res1
)) {
28168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28170 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28173 (arg1
)->OnEndDocument();
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28177 resultobj
= SWIG_Py_Void();
28184 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28185 PyObject
*resultobj
= 0;
28186 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28189 PyObject
*swig_obj
[1] ;
28191 if (!args
) SWIG_fail
;
28192 swig_obj
[0] = args
;
28193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28194 if (!SWIG_IsOK(res1
)) {
28195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28197 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28200 (arg1
)->OnBeginPrinting();
28201 wxPyEndAllowThreads(__tstate
);
28202 if (PyErr_Occurred()) SWIG_fail
;
28204 resultobj
= SWIG_Py_Void();
28211 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28212 PyObject
*resultobj
= 0;
28213 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28216 PyObject
*swig_obj
[1] ;
28218 if (!args
) SWIG_fail
;
28219 swig_obj
[0] = args
;
28220 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28221 if (!SWIG_IsOK(res1
)) {
28222 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28224 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28227 (arg1
)->OnEndPrinting();
28228 wxPyEndAllowThreads(__tstate
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28231 resultobj
= SWIG_Py_Void();
28238 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28239 PyObject
*resultobj
= 0;
28240 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28243 PyObject
*swig_obj
[1] ;
28245 if (!args
) SWIG_fail
;
28246 swig_obj
[0] = args
;
28247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28248 if (!SWIG_IsOK(res1
)) {
28249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28251 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 (arg1
)->OnPreparePrinting();
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= SWIG_Py_Void();
28265 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28266 PyObject
*resultobj
= 0;
28267 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28274 PyObject
* obj0
= 0 ;
28275 PyObject
* obj1
= 0 ;
28276 char * kwnames
[] = {
28277 (char *) "self",(char *) "page", NULL
28280 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28281 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28282 if (!SWIG_IsOK(res1
)) {
28283 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28285 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28286 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28287 if (!SWIG_IsOK(ecode2
)) {
28288 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28290 arg2
= static_cast< int >(val2
);
28292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28293 result
= (bool)(arg1
)->HasPage(arg2
);
28294 wxPyEndAllowThreads(__tstate
);
28295 if (PyErr_Occurred()) SWIG_fail
;
28298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28306 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28307 PyObject
*resultobj
= 0;
28308 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28309 int *arg2
= (int *) 0 ;
28310 int *arg3
= (int *) 0 ;
28311 int *arg4
= (int *) 0 ;
28312 int *arg5
= (int *) 0 ;
28316 int res2
= SWIG_TMPOBJ
;
28318 int res3
= SWIG_TMPOBJ
;
28320 int res4
= SWIG_TMPOBJ
;
28322 int res5
= SWIG_TMPOBJ
;
28323 PyObject
*swig_obj
[1] ;
28329 if (!args
) SWIG_fail
;
28330 swig_obj
[0] = args
;
28331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28332 if (!SWIG_IsOK(res1
)) {
28333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28335 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28338 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28339 wxPyEndAllowThreads(__tstate
);
28340 if (PyErr_Occurred()) SWIG_fail
;
28342 resultobj
= SWIG_Py_Void();
28343 if (SWIG_IsTmpObj(res2
)) {
28344 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28346 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28347 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28349 if (SWIG_IsTmpObj(res3
)) {
28350 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28352 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28353 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28355 if (SWIG_IsTmpObj(res4
)) {
28356 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28358 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28359 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28361 if (SWIG_IsTmpObj(res5
)) {
28362 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28364 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28365 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28373 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28375 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28376 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28377 return SWIG_Py_Void();
28380 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28381 return SWIG_Python_InitShadowInstance(args
);
28384 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28385 PyObject
*resultobj
= 0;
28386 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28387 wxWindow
*arg2
= (wxWindow
*) 0 ;
28388 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28389 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28390 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28391 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28392 long arg5
= (long) 0 ;
28393 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28394 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28395 wxPreviewCanvas
*result
= 0 ;
28404 bool temp6
= false ;
28405 PyObject
* obj0
= 0 ;
28406 PyObject
* obj1
= 0 ;
28407 PyObject
* obj2
= 0 ;
28408 PyObject
* obj3
= 0 ;
28409 PyObject
* obj4
= 0 ;
28410 PyObject
* obj5
= 0 ;
28411 char * kwnames
[] = {
28412 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28417 if (!SWIG_IsOK(res1
)) {
28418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28420 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28422 if (!SWIG_IsOK(res2
)) {
28423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28425 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28429 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28435 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28439 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28440 if (!SWIG_IsOK(ecode5
)) {
28441 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28443 arg5
= static_cast< long >(val5
);
28447 arg6
= wxString_in_helper(obj5
);
28448 if (arg6
== NULL
) SWIG_fail
;
28453 if (!wxPyCheckForApp()) SWIG_fail
;
28454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28455 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28456 wxPyEndAllowThreads(__tstate
);
28457 if (PyErr_Occurred()) SWIG_fail
;
28459 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28474 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28476 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28477 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28478 return SWIG_Py_Void();
28481 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28482 return SWIG_Python_InitShadowInstance(args
);
28485 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28486 PyObject
*resultobj
= 0;
28487 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28488 wxFrame
*arg2
= (wxFrame
*) 0 ;
28489 wxString
*arg3
= 0 ;
28490 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28491 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28492 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28493 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28494 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28495 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28496 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28497 wxPreviewFrame
*result
= 0 ;
28501 bool temp3
= false ;
28506 bool temp7
= false ;
28507 PyObject
* obj0
= 0 ;
28508 PyObject
* obj1
= 0 ;
28509 PyObject
* obj2
= 0 ;
28510 PyObject
* obj3
= 0 ;
28511 PyObject
* obj4
= 0 ;
28512 PyObject
* obj5
= 0 ;
28513 PyObject
* obj6
= 0 ;
28514 char * kwnames
[] = {
28515 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28519 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28520 if (!SWIG_IsOK(res1
)) {
28521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28523 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28524 if (!SWIG_IsOK(res2
)) {
28525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28527 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28529 arg3
= wxString_in_helper(obj2
);
28530 if (arg3
== NULL
) SWIG_fail
;
28536 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28542 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28546 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28547 if (!SWIG_IsOK(ecode6
)) {
28548 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28550 arg6
= static_cast< long >(val6
);
28554 arg7
= wxString_in_helper(obj6
);
28555 if (arg7
== NULL
) SWIG_fail
;
28560 if (!wxPyCheckForApp()) SWIG_fail
;
28561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28562 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28563 wxPyEndAllowThreads(__tstate
);
28564 if (PyErr_Occurred()) SWIG_fail
;
28566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28589 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28590 PyObject
*resultobj
= 0;
28591 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28594 PyObject
*swig_obj
[1] ;
28596 if (!args
) SWIG_fail
;
28597 swig_obj
[0] = args
;
28598 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28599 if (!SWIG_IsOK(res1
)) {
28600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28602 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28605 (arg1
)->Initialize();
28606 wxPyEndAllowThreads(__tstate
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28609 resultobj
= SWIG_Py_Void();
28616 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28617 PyObject
*resultobj
= 0;
28618 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28621 PyObject
*swig_obj
[1] ;
28623 if (!args
) SWIG_fail
;
28624 swig_obj
[0] = args
;
28625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28626 if (!SWIG_IsOK(res1
)) {
28627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28629 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 (arg1
)->CreateControlBar();
28633 wxPyEndAllowThreads(__tstate
);
28634 if (PyErr_Occurred()) SWIG_fail
;
28636 resultobj
= SWIG_Py_Void();
28643 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28644 PyObject
*resultobj
= 0;
28645 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28648 PyObject
*swig_obj
[1] ;
28650 if (!args
) SWIG_fail
;
28651 swig_obj
[0] = args
;
28652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28653 if (!SWIG_IsOK(res1
)) {
28654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28656 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28659 (arg1
)->CreateCanvas();
28660 wxPyEndAllowThreads(__tstate
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28663 resultobj
= SWIG_Py_Void();
28670 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28671 PyObject
*resultobj
= 0;
28672 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28673 wxPreviewControlBar
*result
= 0 ;
28676 PyObject
*swig_obj
[1] ;
28678 if (!args
) SWIG_fail
;
28679 swig_obj
[0] = args
;
28680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28681 if (!SWIG_IsOK(res1
)) {
28682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28684 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28687 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28688 wxPyEndAllowThreads(__tstate
);
28689 if (PyErr_Occurred()) SWIG_fail
;
28691 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28698 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28700 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28701 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28702 return SWIG_Py_Void();
28705 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28706 return SWIG_Python_InitShadowInstance(args
);
28709 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28710 PyObject
*resultobj
= 0;
28711 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28713 wxWindow
*arg3
= (wxWindow
*) 0 ;
28714 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28715 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28716 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28717 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28718 long arg6
= (long) wxTAB_TRAVERSAL
;
28719 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28720 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28721 wxPreviewControlBar
*result
= 0 ;
28732 bool temp7
= false ;
28733 PyObject
* obj0
= 0 ;
28734 PyObject
* obj1
= 0 ;
28735 PyObject
* obj2
= 0 ;
28736 PyObject
* obj3
= 0 ;
28737 PyObject
* obj4
= 0 ;
28738 PyObject
* obj5
= 0 ;
28739 PyObject
* obj6
= 0 ;
28740 char * kwnames
[] = {
28741 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28744 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28745 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28746 if (!SWIG_IsOK(res1
)) {
28747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28749 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28750 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28751 if (!SWIG_IsOK(ecode2
)) {
28752 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28754 arg2
= static_cast< long >(val2
);
28755 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28756 if (!SWIG_IsOK(res3
)) {
28757 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28759 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28763 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28769 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28773 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28774 if (!SWIG_IsOK(ecode6
)) {
28775 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28777 arg6
= static_cast< long >(val6
);
28781 arg7
= wxString_in_helper(obj6
);
28782 if (arg7
== NULL
) SWIG_fail
;
28787 if (!wxPyCheckForApp()) SWIG_fail
;
28788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28789 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28793 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28808 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28809 PyObject
*resultobj
= 0;
28810 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28814 PyObject
*swig_obj
[1] ;
28816 if (!args
) SWIG_fail
;
28817 swig_obj
[0] = args
;
28818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28819 if (!SWIG_IsOK(res1
)) {
28820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28822 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 result
= (int)(arg1
)->GetZoomControl();
28826 wxPyEndAllowThreads(__tstate
);
28827 if (PyErr_Occurred()) SWIG_fail
;
28829 resultobj
= SWIG_From_int(static_cast< int >(result
));
28836 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28837 PyObject
*resultobj
= 0;
28838 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28844 PyObject
* obj0
= 0 ;
28845 PyObject
* obj1
= 0 ;
28846 char * kwnames
[] = {
28847 (char *) "self",(char *) "zoom", NULL
28850 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28851 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28852 if (!SWIG_IsOK(res1
)) {
28853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28855 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28856 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28857 if (!SWIG_IsOK(ecode2
)) {
28858 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28860 arg2
= static_cast< int >(val2
);
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 (arg1
)->SetZoomControl(arg2
);
28864 wxPyEndAllowThreads(__tstate
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28867 resultobj
= SWIG_Py_Void();
28874 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28875 PyObject
*resultobj
= 0;
28876 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28877 wxPrintPreview
*result
= 0 ;
28880 PyObject
*swig_obj
[1] ;
28882 if (!args
) SWIG_fail
;
28883 swig_obj
[0] = args
;
28884 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28885 if (!SWIG_IsOK(res1
)) {
28886 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28888 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28891 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28902 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28903 PyObject
*resultobj
= 0;
28904 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28907 PyObject
*swig_obj
[1] ;
28909 if (!args
) SWIG_fail
;
28910 swig_obj
[0] = args
;
28911 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28912 if (!SWIG_IsOK(res1
)) {
28913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28915 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28919 wxPyEndAllowThreads(__tstate
);
28920 if (PyErr_Occurred()) SWIG_fail
;
28922 resultobj
= SWIG_Py_Void();
28929 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28930 PyObject
*resultobj
= 0;
28931 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28934 PyObject
*swig_obj
[1] ;
28936 if (!args
) SWIG_fail
;
28937 swig_obj
[0] = args
;
28938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28939 if (!SWIG_IsOK(res1
)) {
28940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28942 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28945 (arg1
)->OnPrevious();
28946 wxPyEndAllowThreads(__tstate
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28949 resultobj
= SWIG_Py_Void();
28956 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28957 PyObject
*resultobj
= 0;
28958 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28961 PyObject
*swig_obj
[1] ;
28963 if (!args
) SWIG_fail
;
28964 swig_obj
[0] = args
;
28965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28966 if (!SWIG_IsOK(res1
)) {
28967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28969 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28973 wxPyEndAllowThreads(__tstate
);
28974 if (PyErr_Occurred()) SWIG_fail
;
28976 resultobj
= SWIG_Py_Void();
28983 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28984 PyObject
*resultobj
= 0;
28985 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28988 PyObject
*swig_obj
[1] ;
28990 if (!args
) SWIG_fail
;
28991 swig_obj
[0] = args
;
28992 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28993 if (!SWIG_IsOK(res1
)) {
28994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28996 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29003 resultobj
= SWIG_Py_Void();
29010 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29011 PyObject
*resultobj
= 0;
29012 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29015 PyObject
*swig_obj
[1] ;
29017 if (!args
) SWIG_fail
;
29018 swig_obj
[0] = args
;
29019 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29020 if (!SWIG_IsOK(res1
)) {
29021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29023 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29027 wxPyEndAllowThreads(__tstate
);
29028 if (PyErr_Occurred()) SWIG_fail
;
29030 resultobj
= SWIG_Py_Void();
29037 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29039 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29040 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29041 return SWIG_Py_Void();
29044 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29045 return SWIG_Python_InitShadowInstance(args
);
29048 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29049 PyObject
*resultobj
= 0;
29050 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29051 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29052 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29053 wxPrintPreview
*result
= 0 ;
29059 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29060 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29061 if (!SWIG_IsOK(res1
)) {
29062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29064 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29065 if (!SWIG_IsOK(res2
)) {
29066 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29069 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29070 if (!SWIG_IsOK(res3
)) {
29071 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29073 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29076 if (!wxPyCheckForApp()) SWIG_fail
;
29077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29078 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29079 wxPyEndAllowThreads(__tstate
);
29080 if (PyErr_Occurred()) SWIG_fail
;
29082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29089 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29090 PyObject
*resultobj
= 0;
29091 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29092 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29093 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29094 wxPrintPreview
*result
= 0 ;
29100 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29101 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29102 if (!SWIG_IsOK(res1
)) {
29103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29105 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29106 if (!SWIG_IsOK(res2
)) {
29107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29109 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29110 if (!SWIG_IsOK(res3
)) {
29111 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29113 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29115 if (!wxPyCheckForApp()) SWIG_fail
;
29116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29117 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29118 wxPyEndAllowThreads(__tstate
);
29119 if (PyErr_Occurred()) SWIG_fail
;
29121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29128 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29132 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29134 if ((argc
>= 2) && (argc
<= 3)) {
29139 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29140 _v
= SWIG_CheckState(res
);
29142 if (!_v
) goto check_1
;
29144 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29149 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29153 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29158 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29159 PyObject
*resultobj
= 0;
29160 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29163 PyObject
*swig_obj
[1] ;
29165 if (!args
) SWIG_fail
;
29166 swig_obj
[0] = args
;
29167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29168 if (!SWIG_IsOK(res1
)) {
29169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29171 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29176 wxPyEndAllowThreads(__tstate
);
29177 if (PyErr_Occurred()) SWIG_fail
;
29179 resultobj
= SWIG_Py_Void();
29186 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29187 PyObject
*resultobj
= 0;
29188 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29195 PyObject
* obj0
= 0 ;
29196 PyObject
* obj1
= 0 ;
29197 char * kwnames
[] = {
29198 (char *) "self",(char *) "pageNum", NULL
29201 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29202 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29203 if (!SWIG_IsOK(res1
)) {
29204 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29206 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29207 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29208 if (!SWIG_IsOK(ecode2
)) {
29209 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29211 arg2
= static_cast< int >(val2
);
29213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29214 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29215 wxPyEndAllowThreads(__tstate
);
29216 if (PyErr_Occurred()) SWIG_fail
;
29219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29227 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29228 PyObject
*resultobj
= 0;
29229 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29233 PyObject
*swig_obj
[1] ;
29235 if (!args
) SWIG_fail
;
29236 swig_obj
[0] = args
;
29237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29238 if (!SWIG_IsOK(res1
)) {
29239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29241 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29244 result
= (int)(arg1
)->GetCurrentPage();
29245 wxPyEndAllowThreads(__tstate
);
29246 if (PyErr_Occurred()) SWIG_fail
;
29248 resultobj
= SWIG_From_int(static_cast< int >(result
));
29255 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29256 PyObject
*resultobj
= 0;
29257 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29258 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29262 PyObject
* obj0
= 0 ;
29263 PyObject
* obj1
= 0 ;
29264 char * kwnames
[] = {
29265 (char *) "self",(char *) "printout", NULL
29268 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29269 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29270 if (!SWIG_IsOK(res1
)) {
29271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29273 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29274 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29275 if (!SWIG_IsOK(res2
)) {
29276 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29280 (arg1
)->SetPrintout(arg2
);
29281 wxPyEndAllowThreads(__tstate
);
29282 if (PyErr_Occurred()) SWIG_fail
;
29284 resultobj
= SWIG_Py_Void();
29291 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29292 PyObject
*resultobj
= 0;
29293 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29294 wxPyPrintout
*result
= 0 ;
29297 PyObject
*swig_obj
[1] ;
29299 if (!args
) SWIG_fail
;
29300 swig_obj
[0] = args
;
29301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29302 if (!SWIG_IsOK(res1
)) {
29303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29305 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29308 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29309 wxPyEndAllowThreads(__tstate
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29313 resultobj
= wxPyMake_wxObject(result
, 0);
29321 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29322 PyObject
*resultobj
= 0;
29323 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29324 wxPyPrintout
*result
= 0 ;
29327 PyObject
*swig_obj
[1] ;
29329 if (!args
) SWIG_fail
;
29330 swig_obj
[0] = args
;
29331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29332 if (!SWIG_IsOK(res1
)) {
29333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29335 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29338 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29339 wxPyEndAllowThreads(__tstate
);
29340 if (PyErr_Occurred()) SWIG_fail
;
29343 resultobj
= wxPyMake_wxObject(result
, 0);
29351 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29352 PyObject
*resultobj
= 0;
29353 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29354 wxFrame
*arg2
= (wxFrame
*) 0 ;
29359 PyObject
* obj0
= 0 ;
29360 PyObject
* obj1
= 0 ;
29361 char * kwnames
[] = {
29362 (char *) "self",(char *) "frame", NULL
29365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29367 if (!SWIG_IsOK(res1
)) {
29368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29370 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29371 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29372 if (!SWIG_IsOK(res2
)) {
29373 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29375 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29378 (arg1
)->SetFrame(arg2
);
29379 wxPyEndAllowThreads(__tstate
);
29380 if (PyErr_Occurred()) SWIG_fail
;
29382 resultobj
= SWIG_Py_Void();
29389 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29390 PyObject
*resultobj
= 0;
29391 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29392 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29397 PyObject
* obj0
= 0 ;
29398 PyObject
* obj1
= 0 ;
29399 char * kwnames
[] = {
29400 (char *) "self",(char *) "canvas", NULL
29403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29405 if (!SWIG_IsOK(res1
)) {
29406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29408 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29409 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29410 if (!SWIG_IsOK(res2
)) {
29411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29413 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29416 (arg1
)->SetCanvas(arg2
);
29417 wxPyEndAllowThreads(__tstate
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29420 resultobj
= SWIG_Py_Void();
29427 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29428 PyObject
*resultobj
= 0;
29429 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29430 wxFrame
*result
= 0 ;
29433 PyObject
*swig_obj
[1] ;
29435 if (!args
) SWIG_fail
;
29436 swig_obj
[0] = args
;
29437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29438 if (!SWIG_IsOK(res1
)) {
29439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29441 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29444 result
= (wxFrame
*)(arg1
)->GetFrame();
29445 wxPyEndAllowThreads(__tstate
);
29446 if (PyErr_Occurred()) SWIG_fail
;
29449 resultobj
= wxPyMake_wxObject(result
, 0);
29457 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29458 PyObject
*resultobj
= 0;
29459 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29460 wxPreviewCanvas
*result
= 0 ;
29463 PyObject
*swig_obj
[1] ;
29465 if (!args
) SWIG_fail
;
29466 swig_obj
[0] = args
;
29467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29468 if (!SWIG_IsOK(res1
)) {
29469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29471 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29474 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29475 wxPyEndAllowThreads(__tstate
);
29476 if (PyErr_Occurred()) SWIG_fail
;
29478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29485 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29486 PyObject
*resultobj
= 0;
29487 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29488 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29497 PyObject
* obj0
= 0 ;
29498 PyObject
* obj1
= 0 ;
29499 PyObject
* obj2
= 0 ;
29500 char * kwnames
[] = {
29501 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29506 if (!SWIG_IsOK(res1
)) {
29507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29509 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29510 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29511 if (!SWIG_IsOK(res2
)) {
29512 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29514 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29515 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29516 if (!SWIG_IsOK(res3
)) {
29517 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29520 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29522 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29525 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29526 wxPyEndAllowThreads(__tstate
);
29527 if (PyErr_Occurred()) SWIG_fail
;
29530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29538 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29539 PyObject
*resultobj
= 0;
29540 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29541 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29550 PyObject
* obj0
= 0 ;
29551 PyObject
* obj1
= 0 ;
29552 PyObject
* obj2
= 0 ;
29553 char * kwnames
[] = {
29554 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29559 if (!SWIG_IsOK(res1
)) {
29560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29562 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29563 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29564 if (!SWIG_IsOK(res2
)) {
29565 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29567 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29568 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29569 if (!SWIG_IsOK(res3
)) {
29570 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29573 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29575 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29578 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29579 wxPyEndAllowThreads(__tstate
);
29580 if (PyErr_Occurred()) SWIG_fail
;
29583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29591 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29592 PyObject
*resultobj
= 0;
29593 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29600 PyObject
* obj0
= 0 ;
29601 PyObject
* obj1
= 0 ;
29602 char * kwnames
[] = {
29603 (char *) "self",(char *) "pageNum", NULL
29606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29608 if (!SWIG_IsOK(res1
)) {
29609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29611 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29613 if (!SWIG_IsOK(ecode2
)) {
29614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29616 arg2
= static_cast< int >(val2
);
29618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29619 result
= (bool)(arg1
)->RenderPage(arg2
);
29620 wxPyEndAllowThreads(__tstate
);
29621 if (PyErr_Occurred()) SWIG_fail
;
29624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29632 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29633 PyObject
*resultobj
= 0;
29634 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29635 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29640 PyObject
* obj0
= 0 ;
29641 PyObject
* obj1
= 0 ;
29642 char * kwnames
[] = {
29643 (char *) "self",(char *) "canvas", NULL
29646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29648 if (!SWIG_IsOK(res1
)) {
29649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29651 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29652 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29653 if (!SWIG_IsOK(res2
)) {
29654 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29656 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29659 (arg1
)->AdjustScrollbars(arg2
);
29660 wxPyEndAllowThreads(__tstate
);
29661 if (PyErr_Occurred()) SWIG_fail
;
29663 resultobj
= SWIG_Py_Void();
29670 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29671 PyObject
*resultobj
= 0;
29672 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29673 wxPrintDialogData
*result
= 0 ;
29676 PyObject
*swig_obj
[1] ;
29678 if (!args
) SWIG_fail
;
29679 swig_obj
[0] = args
;
29680 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29681 if (!SWIG_IsOK(res1
)) {
29682 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29684 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29688 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29689 result
= (wxPrintDialogData
*) &_result_ref
;
29691 wxPyEndAllowThreads(__tstate
);
29692 if (PyErr_Occurred()) SWIG_fail
;
29694 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29701 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29702 PyObject
*resultobj
= 0;
29703 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29709 PyObject
* obj0
= 0 ;
29710 PyObject
* obj1
= 0 ;
29711 char * kwnames
[] = {
29712 (char *) "self",(char *) "percent", NULL
29715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29717 if (!SWIG_IsOK(res1
)) {
29718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29720 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29721 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29722 if (!SWIG_IsOK(ecode2
)) {
29723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29725 arg2
= static_cast< int >(val2
);
29727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29728 (arg1
)->SetZoom(arg2
);
29729 wxPyEndAllowThreads(__tstate
);
29730 if (PyErr_Occurred()) SWIG_fail
;
29732 resultobj
= SWIG_Py_Void();
29739 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29740 PyObject
*resultobj
= 0;
29741 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29745 PyObject
*swig_obj
[1] ;
29747 if (!args
) SWIG_fail
;
29748 swig_obj
[0] = args
;
29749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29750 if (!SWIG_IsOK(res1
)) {
29751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29753 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29756 result
= (int)(arg1
)->GetZoom();
29757 wxPyEndAllowThreads(__tstate
);
29758 if (PyErr_Occurred()) SWIG_fail
;
29760 resultobj
= SWIG_From_int(static_cast< int >(result
));
29767 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29768 PyObject
*resultobj
= 0;
29769 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29773 PyObject
*swig_obj
[1] ;
29775 if (!args
) SWIG_fail
;
29776 swig_obj
[0] = args
;
29777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29778 if (!SWIG_IsOK(res1
)) {
29779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29781 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29784 result
= (int)(arg1
)->GetMaxPage();
29785 wxPyEndAllowThreads(__tstate
);
29786 if (PyErr_Occurred()) SWIG_fail
;
29788 resultobj
= SWIG_From_int(static_cast< int >(result
));
29795 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29796 PyObject
*resultobj
= 0;
29797 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29801 PyObject
*swig_obj
[1] ;
29803 if (!args
) SWIG_fail
;
29804 swig_obj
[0] = args
;
29805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29806 if (!SWIG_IsOK(res1
)) {
29807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29809 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29812 result
= (int)(arg1
)->GetMinPage();
29813 wxPyEndAllowThreads(__tstate
);
29814 if (PyErr_Occurred()) SWIG_fail
;
29816 resultobj
= SWIG_From_int(static_cast< int >(result
));
29823 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29824 PyObject
*resultobj
= 0;
29825 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29829 PyObject
*swig_obj
[1] ;
29831 if (!args
) SWIG_fail
;
29832 swig_obj
[0] = args
;
29833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29834 if (!SWIG_IsOK(res1
)) {
29835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29837 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 result
= (bool)(arg1
)->Ok();
29841 wxPyEndAllowThreads(__tstate
);
29842 if (PyErr_Occurred()) SWIG_fail
;
29845 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29853 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29854 PyObject
*resultobj
= 0;
29855 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29861 PyObject
* obj0
= 0 ;
29862 PyObject
* obj1
= 0 ;
29863 char * kwnames
[] = {
29864 (char *) "self",(char *) "ok", NULL
29867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29869 if (!SWIG_IsOK(res1
)) {
29870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29872 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29873 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29874 if (!SWIG_IsOK(ecode2
)) {
29875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29877 arg2
= static_cast< bool >(val2
);
29879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29880 (arg1
)->SetOk(arg2
);
29881 wxPyEndAllowThreads(__tstate
);
29882 if (PyErr_Occurred()) SWIG_fail
;
29884 resultobj
= SWIG_Py_Void();
29891 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29892 PyObject
*resultobj
= 0;
29893 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29900 PyObject
* obj0
= 0 ;
29901 PyObject
* obj1
= 0 ;
29902 char * kwnames
[] = {
29903 (char *) "self",(char *) "interactive", NULL
29906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29908 if (!SWIG_IsOK(res1
)) {
29909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29911 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29912 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29913 if (!SWIG_IsOK(ecode2
)) {
29914 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29916 arg2
= static_cast< bool >(val2
);
29918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29919 result
= (bool)(arg1
)->Print(arg2
);
29920 wxPyEndAllowThreads(__tstate
);
29921 if (PyErr_Occurred()) SWIG_fail
;
29924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29932 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29933 PyObject
*resultobj
= 0;
29934 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29937 PyObject
*swig_obj
[1] ;
29939 if (!args
) SWIG_fail
;
29940 swig_obj
[0] = args
;
29941 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29942 if (!SWIG_IsOK(res1
)) {
29943 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29945 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29948 (arg1
)->DetermineScaling();
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29952 resultobj
= SWIG_Py_Void();
29959 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29961 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29962 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29963 return SWIG_Py_Void();
29966 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29967 return SWIG_Python_InitShadowInstance(args
);
29970 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29971 PyObject
*resultobj
= 0;
29972 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29973 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29974 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29975 wxPyPrintPreview
*result
= 0 ;
29981 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29982 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29983 if (!SWIG_IsOK(res1
)) {
29984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29986 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29987 if (!SWIG_IsOK(res2
)) {
29988 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29991 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29992 if (!SWIG_IsOK(res3
)) {
29993 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29995 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29998 if (!wxPyCheckForApp()) SWIG_fail
;
29999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30000 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30001 wxPyEndAllowThreads(__tstate
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30004 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30011 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30012 PyObject
*resultobj
= 0;
30013 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30014 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30015 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30016 wxPyPrintPreview
*result
= 0 ;
30022 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30023 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30024 if (!SWIG_IsOK(res1
)) {
30025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30027 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30028 if (!SWIG_IsOK(res2
)) {
30029 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30031 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30032 if (!SWIG_IsOK(res3
)) {
30033 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30035 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30037 if (!wxPyCheckForApp()) SWIG_fail
;
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30043 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30050 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30054 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30056 if ((argc
>= 2) && (argc
<= 3)) {
30061 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30062 _v
= SWIG_CheckState(res
);
30064 if (!_v
) goto check_1
;
30066 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30071 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30075 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30080 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30081 PyObject
*resultobj
= 0;
30082 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30083 PyObject
*arg2
= (PyObject
*) 0 ;
30084 PyObject
*arg3
= (PyObject
*) 0 ;
30087 PyObject
* obj0
= 0 ;
30088 PyObject
* obj1
= 0 ;
30089 PyObject
* obj2
= 0 ;
30090 char * kwnames
[] = {
30091 (char *) "self",(char *) "self",(char *) "_class", NULL
30094 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30095 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30096 if (!SWIG_IsOK(res1
)) {
30097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30099 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30104 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= SWIG_Py_Void();
30115 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30118 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30119 return SWIG_Py_Void();
30122 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30123 return SWIG_Python_InitShadowInstance(args
);
30126 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30127 PyObject
*resultobj
= 0;
30128 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30129 wxFrame
*arg2
= (wxFrame
*) 0 ;
30130 wxString
*arg3
= 0 ;
30131 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30132 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30133 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30134 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30135 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30136 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30137 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30138 wxPyPreviewFrame
*result
= 0 ;
30143 bool temp3
= false ;
30148 bool temp7
= false ;
30149 PyObject
* obj0
= 0 ;
30150 PyObject
* obj1
= 0 ;
30151 PyObject
* obj2
= 0 ;
30152 PyObject
* obj3
= 0 ;
30153 PyObject
* obj4
= 0 ;
30154 PyObject
* obj5
= 0 ;
30155 PyObject
* obj6
= 0 ;
30156 char * kwnames
[] = {
30157 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30162 if (!SWIG_IsOK(res1
)) {
30163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30165 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30166 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30167 if (!SWIG_IsOK(res2
)) {
30168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30170 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30172 arg3
= wxString_in_helper(obj2
);
30173 if (arg3
== NULL
) SWIG_fail
;
30179 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30185 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30189 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30190 if (!SWIG_IsOK(ecode6
)) {
30191 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30193 arg6
= static_cast< long >(val6
);
30197 arg7
= wxString_in_helper(obj6
);
30198 if (arg7
== NULL
) SWIG_fail
;
30203 if (!wxPyCheckForApp()) SWIG_fail
;
30204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30205 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30206 wxPyEndAllowThreads(__tstate
);
30207 if (PyErr_Occurred()) SWIG_fail
;
30209 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30232 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30233 PyObject
*resultobj
= 0;
30234 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30235 PyObject
*arg2
= (PyObject
*) 0 ;
30236 PyObject
*arg3
= (PyObject
*) 0 ;
30239 PyObject
* obj0
= 0 ;
30240 PyObject
* obj1
= 0 ;
30241 PyObject
* obj2
= 0 ;
30242 char * kwnames
[] = {
30243 (char *) "self",(char *) "self",(char *) "_class", NULL
30246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30248 if (!SWIG_IsOK(res1
)) {
30249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30251 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30256 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30257 wxPyEndAllowThreads(__tstate
);
30258 if (PyErr_Occurred()) SWIG_fail
;
30260 resultobj
= SWIG_Py_Void();
30267 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30268 PyObject
*resultobj
= 0;
30269 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30270 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30275 PyObject
* obj0
= 0 ;
30276 PyObject
* obj1
= 0 ;
30277 char * kwnames
[] = {
30278 (char *) "self",(char *) "canvas", NULL
30281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30283 if (!SWIG_IsOK(res1
)) {
30284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30286 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30287 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30288 if (!SWIG_IsOK(res2
)) {
30289 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30291 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30294 (arg1
)->SetPreviewCanvas(arg2
);
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 resultobj
= SWIG_Py_Void();
30305 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30306 PyObject
*resultobj
= 0;
30307 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30308 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30313 PyObject
* obj0
= 0 ;
30314 PyObject
* obj1
= 0 ;
30315 char * kwnames
[] = {
30316 (char *) "self",(char *) "bar", NULL
30319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30321 if (!SWIG_IsOK(res1
)) {
30322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30324 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30325 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30326 if (!SWIG_IsOK(res2
)) {
30327 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30329 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30332 (arg1
)->SetControlBar(arg2
);
30333 wxPyEndAllowThreads(__tstate
);
30334 if (PyErr_Occurred()) SWIG_fail
;
30336 resultobj
= SWIG_Py_Void();
30343 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30344 PyObject
*resultobj
= 0;
30345 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30348 PyObject
*swig_obj
[1] ;
30350 if (!args
) SWIG_fail
;
30351 swig_obj
[0] = args
;
30352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30353 if (!SWIG_IsOK(res1
)) {
30354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30356 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30359 (arg1
)->Initialize();
30360 wxPyEndAllowThreads(__tstate
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30363 resultobj
= SWIG_Py_Void();
30370 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30371 PyObject
*resultobj
= 0;
30372 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30375 PyObject
*swig_obj
[1] ;
30377 if (!args
) SWIG_fail
;
30378 swig_obj
[0] = args
;
30379 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30380 if (!SWIG_IsOK(res1
)) {
30381 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30383 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30386 (arg1
)->CreateCanvas();
30387 wxPyEndAllowThreads(__tstate
);
30388 if (PyErr_Occurred()) SWIG_fail
;
30390 resultobj
= SWIG_Py_Void();
30397 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30398 PyObject
*resultobj
= 0;
30399 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30402 PyObject
*swig_obj
[1] ;
30404 if (!args
) SWIG_fail
;
30405 swig_obj
[0] = args
;
30406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30407 if (!SWIG_IsOK(res1
)) {
30408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30410 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 (arg1
)->CreateControlBar();
30414 wxPyEndAllowThreads(__tstate
);
30415 if (PyErr_Occurred()) SWIG_fail
;
30417 resultobj
= SWIG_Py_Void();
30424 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30427 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30428 return SWIG_Py_Void();
30431 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30432 return SWIG_Python_InitShadowInstance(args
);
30435 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30436 PyObject
*resultobj
= 0;
30437 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30439 wxWindow
*arg3
= (wxWindow
*) 0 ;
30440 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30441 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30442 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30443 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30444 long arg6
= (long) 0 ;
30445 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30446 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30447 wxPyPreviewControlBar
*result
= 0 ;
30458 bool temp7
= false ;
30459 PyObject
* obj0
= 0 ;
30460 PyObject
* obj1
= 0 ;
30461 PyObject
* obj2
= 0 ;
30462 PyObject
* obj3
= 0 ;
30463 PyObject
* obj4
= 0 ;
30464 PyObject
* obj5
= 0 ;
30465 PyObject
* obj6
= 0 ;
30466 char * kwnames
[] = {
30467 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30472 if (!SWIG_IsOK(res1
)) {
30473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30475 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30476 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30477 if (!SWIG_IsOK(ecode2
)) {
30478 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30480 arg2
= static_cast< long >(val2
);
30481 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30482 if (!SWIG_IsOK(res3
)) {
30483 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30485 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30489 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30495 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30499 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30500 if (!SWIG_IsOK(ecode6
)) {
30501 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30503 arg6
= static_cast< long >(val6
);
30507 arg7
= wxString_in_helper(obj6
);
30508 if (arg7
== NULL
) SWIG_fail
;
30513 if (!wxPyCheckForApp()) SWIG_fail
;
30514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30515 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30534 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30535 PyObject
*resultobj
= 0;
30536 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30537 PyObject
*arg2
= (PyObject
*) 0 ;
30538 PyObject
*arg3
= (PyObject
*) 0 ;
30541 PyObject
* obj0
= 0 ;
30542 PyObject
* obj1
= 0 ;
30543 PyObject
* obj2
= 0 ;
30544 char * kwnames
[] = {
30545 (char *) "self",(char *) "self",(char *) "_class", NULL
30548 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30549 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30550 if (!SWIG_IsOK(res1
)) {
30551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30553 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30558 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30559 wxPyEndAllowThreads(__tstate
);
30560 if (PyErr_Occurred()) SWIG_fail
;
30562 resultobj
= SWIG_Py_Void();
30569 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30570 PyObject
*resultobj
= 0;
30571 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30572 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 char * kwnames
[] = {
30580 (char *) "self",(char *) "preview", NULL
30583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30585 if (!SWIG_IsOK(res1
)) {
30586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30588 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30589 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30590 if (!SWIG_IsOK(res2
)) {
30591 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30593 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30596 (arg1
)->SetPrintPreview(arg2
);
30597 wxPyEndAllowThreads(__tstate
);
30598 if (PyErr_Occurred()) SWIG_fail
;
30600 resultobj
= SWIG_Py_Void();
30607 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30608 PyObject
*resultobj
= 0;
30609 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30612 PyObject
*swig_obj
[1] ;
30614 if (!args
) SWIG_fail
;
30615 swig_obj
[0] = args
;
30616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30617 if (!SWIG_IsOK(res1
)) {
30618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30620 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30623 (arg1
)->CreateButtons();
30624 wxPyEndAllowThreads(__tstate
);
30625 if (PyErr_Occurred()) SWIG_fail
;
30627 resultobj
= SWIG_Py_Void();
30634 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
= 0;
30636 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30642 PyObject
* obj0
= 0 ;
30643 PyObject
* obj1
= 0 ;
30644 char * kwnames
[] = {
30645 (char *) "self",(char *) "zoom", NULL
30648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30650 if (!SWIG_IsOK(res1
)) {
30651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30653 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30654 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30655 if (!SWIG_IsOK(ecode2
)) {
30656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30658 arg2
= static_cast< int >(val2
);
30660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30661 (arg1
)->SetZoomControl(arg2
);
30662 wxPyEndAllowThreads(__tstate
);
30663 if (PyErr_Occurred()) SWIG_fail
;
30665 resultobj
= SWIG_Py_Void();
30672 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30674 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30675 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30676 return SWIG_Py_Void();
30679 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30680 return SWIG_Python_InitShadowInstance(args
);
30683 static PyMethodDef SwigMethods
[] = {
30684 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30685 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30686 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30687 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30688 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30689 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30690 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30691 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30692 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30693 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30694 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30695 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30696 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30697 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30698 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30699 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30700 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30701 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30702 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30703 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30704 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30705 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30706 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30707 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30708 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30709 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30710 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30711 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30712 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30713 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30715 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30716 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30717 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30718 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30719 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30720 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30721 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30722 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30723 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30724 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30726 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30728 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30729 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30730 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30731 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30733 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30735 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30736 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30737 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30738 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30739 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30741 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30742 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30743 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30744 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30745 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30746 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30747 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30750 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30751 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30752 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30753 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30754 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30755 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30756 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30758 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30759 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30760 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30761 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30762 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30763 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30766 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30767 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30768 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30770 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30771 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30774 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30775 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30776 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30778 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30779 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30780 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30781 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30782 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30783 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30784 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30785 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30786 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30787 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30788 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30789 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30790 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30791 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30792 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30793 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30794 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30795 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30796 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30797 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30798 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30800 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30803 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30804 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30807 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30808 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30809 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30810 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30811 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30812 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30813 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30814 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30815 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30816 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30817 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30818 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30819 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30820 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30822 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30823 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30826 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30827 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30829 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30830 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30831 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30832 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30833 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30834 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30835 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30836 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30837 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30839 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30840 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30841 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30843 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30844 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30846 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30847 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30848 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30849 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30850 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30851 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30852 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30854 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30855 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30856 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30857 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30859 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30860 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30861 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30862 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30863 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30864 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30865 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30866 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30867 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30868 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30871 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30872 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30874 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30875 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30876 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30879 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30881 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30883 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30884 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30885 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30887 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30888 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30889 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30890 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30892 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30893 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30894 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30895 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30896 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30897 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30898 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30899 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30900 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30901 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30903 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30904 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30905 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30906 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30907 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30909 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30910 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30912 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30913 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30914 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30915 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30916 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30917 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30918 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30919 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30921 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30922 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30924 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30925 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30926 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30927 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30928 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30930 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
30933 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30934 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30935 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30938 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30939 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30940 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30942 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30949 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30951 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30952 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30953 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30954 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30956 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30957 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30958 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30959 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30960 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30961 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30963 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30966 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30967 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30968 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30970 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30971 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30972 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30974 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30975 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30976 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30977 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30978 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30982 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30983 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30984 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30987 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30989 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30990 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30992 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30996 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30998 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30999 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31000 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31001 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31002 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31003 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31004 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31005 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31006 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31007 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31009 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31010 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31012 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31013 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31014 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31015 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31016 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31017 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31018 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31022 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31023 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31025 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31026 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31027 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31030 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31031 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31034 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31035 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31036 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31037 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31038 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31041 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31042 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31043 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31044 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31045 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31046 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31047 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31048 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31049 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31050 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31051 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31052 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31055 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31056 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31057 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31059 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31060 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31062 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31063 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31065 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31066 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31067 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31068 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31069 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31070 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31071 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31072 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31073 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31075 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31076 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31077 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31078 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31079 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31080 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31087 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31088 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31090 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31091 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31092 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31093 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31095 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31096 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31099 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31100 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31101 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31102 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31103 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31104 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31105 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31106 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31110 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31111 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31113 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31114 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31115 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31116 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31118 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31120 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31121 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31123 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31125 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31126 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31127 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31128 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31130 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31132 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31133 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31134 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31135 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31136 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31137 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
31138 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
31139 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31142 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31143 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31145 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31146 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31147 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31148 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31149 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31150 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31151 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31153 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31154 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31155 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31156 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31158 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31159 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31160 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31162 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31163 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31164 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31165 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31166 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31167 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31168 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31169 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31170 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31171 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31172 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31173 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31174 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31178 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31180 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31182 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31183 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31184 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31185 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31186 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31187 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31188 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31189 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31190 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31192 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31197 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31198 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31199 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31200 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31201 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31202 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31203 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31204 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31205 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31206 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31207 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31208 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31209 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31210 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31211 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31212 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31213 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31214 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31215 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31216 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31217 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31218 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31219 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31220 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31221 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31222 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31223 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31224 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31228 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31229 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31231 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31233 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31234 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31235 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31236 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31238 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31239 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31240 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31241 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31242 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31243 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31244 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31245 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31247 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31248 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31249 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31250 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31251 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31252 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31253 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31254 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31255 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31256 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31257 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31258 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31259 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31260 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31261 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31269 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31270 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31271 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31272 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31273 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31274 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31275 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31276 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31277 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31278 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31279 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31280 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31281 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31282 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31283 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31284 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31285 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31286 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31287 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31288 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31289 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31290 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31291 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31292 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31293 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31294 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31295 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31297 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31305 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31306 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31307 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31308 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31309 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31310 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31311 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31312 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31313 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31314 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31315 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31316 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31317 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31318 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31319 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31320 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31321 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31322 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31323 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31324 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31325 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31326 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31327 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31330 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31331 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31332 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31333 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31334 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31336 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31338 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31339 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31341 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31342 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31343 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31344 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31345 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31346 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31348 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31349 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31352 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31353 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31354 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31355 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31356 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31357 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31358 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31359 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31360 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31361 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31362 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31363 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31364 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31365 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31366 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31367 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31368 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31369 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31371 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31373 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31374 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31375 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31376 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31377 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31378 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31379 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31380 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31381 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31382 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31383 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31384 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31385 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31386 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31387 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31388 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31389 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31390 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31391 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31392 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31393 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31394 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31395 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31396 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31397 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31398 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31399 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31400 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31401 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31404 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31405 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31406 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31407 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31409 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31410 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31411 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31412 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31413 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31414 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31415 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31416 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31417 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31418 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31419 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31421 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31422 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31423 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31424 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31425 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31426 { NULL
, NULL
, 0, NULL
}
31430 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31432 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31433 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31435 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31436 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31438 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31439 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31441 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31442 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31444 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31445 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31447 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31448 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31450 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31451 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31453 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31454 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31456 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31457 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31459 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31460 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31462 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31463 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31465 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31468 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31469 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31471 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31472 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31474 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31475 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31477 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31480 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31481 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31483 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31484 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31486 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31487 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31489 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31490 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31492 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31493 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31495 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31496 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31498 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31499 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31501 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31502 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31504 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31505 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31507 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31508 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31510 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31511 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31513 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31514 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31516 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31517 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31519 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31520 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31522 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31523 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31525 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31526 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31528 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31529 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31531 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31532 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31534 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31535 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31537 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31538 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31540 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31541 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31543 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31544 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31546 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31547 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31549 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31550 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31552 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31553 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31555 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31556 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31558 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31559 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31561 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31562 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31564 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31565 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31567 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31568 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31570 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31573 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31574 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31576 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31577 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31579 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31580 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31582 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31583 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31585 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31586 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31588 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31589 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31591 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31592 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31594 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31595 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31597 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31598 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31600 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31601 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31603 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31604 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31606 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31607 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31609 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31610 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31612 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31613 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31615 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31616 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31618 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31619 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31621 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31622 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31624 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31625 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31627 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31628 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31630 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31631 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31633 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31634 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31636 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31637 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31639 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31640 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31642 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31643 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31645 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31646 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31648 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31649 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31651 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31652 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31654 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31655 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31657 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31658 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31660 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31661 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31663 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31664 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31666 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31667 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31669 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31670 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31672 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31673 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31675 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31676 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31678 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31679 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31681 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31682 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31684 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31685 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31687 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31688 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31690 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31691 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31693 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31694 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31696 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31697 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31699 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31700 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31702 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31705 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31706 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31708 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31709 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31711 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31714 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31717 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31718 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31720 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31721 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31723 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31724 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31726 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31727 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31729 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31730 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31732 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31733 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31735 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31736 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31738 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31739 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31741 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31742 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31744 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31745 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31747 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31748 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31750 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31751 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31753 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31754 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31756 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31757 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31759 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31760 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31762 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31763 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31765 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31766 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31768 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31769 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31771 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31772 return (void *)((wxObject
*) ((wxSizer
*) x
));
31774 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31775 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31777 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31778 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31780 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31783 static void *_p_wxEventTo_p_wxObject(void *x
) {
31784 return (void *)((wxObject
*) ((wxEvent
*) x
));
31786 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31787 return (void *)((wxObject
*) ((wxFontData
*) x
));
31789 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31790 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31792 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31793 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31795 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31796 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31798 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31799 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31801 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31802 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31804 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31805 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31807 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31808 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31810 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31811 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31813 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31814 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31816 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31817 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31819 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31820 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31822 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31823 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31825 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31826 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31828 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31829 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31831 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31832 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31834 static void *_p_wxControlTo_p_wxObject(void *x
) {
31835 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31837 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31838 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31840 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31841 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31843 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31844 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31846 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31847 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31849 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31850 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31852 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31855 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31856 return (void *)((wxObject
*) ((wxColourData
*) x
));
31858 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31859 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31861 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31862 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31864 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31867 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31870 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31871 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31873 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31874 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31876 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31879 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31880 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31882 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31883 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31885 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31886 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31888 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31889 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31891 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31892 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31894 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31895 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31897 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31898 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31900 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31901 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31903 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31904 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31906 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31907 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31909 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31910 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31912 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31913 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31915 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31916 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31918 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31919 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31921 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31922 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31924 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31925 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31927 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31928 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31930 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31931 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31933 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31934 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31936 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31937 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31939 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31940 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31942 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31943 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31945 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31946 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31948 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31949 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31951 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31952 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31954 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31955 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31957 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31958 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31960 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31961 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31963 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31964 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31966 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31967 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31969 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31970 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31972 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31973 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31975 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31976 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31978 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31981 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31982 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31984 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31985 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31987 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31990 static void *_p_wxImageTo_p_wxObject(void *x
) {
31991 return (void *)((wxObject
*) ((wxImage
*) x
));
31993 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31996 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31997 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31999 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32000 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32002 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32003 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32005 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32008 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32011 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32012 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32014 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32015 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32017 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32018 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32020 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32021 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32023 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32024 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32026 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32027 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32029 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32030 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32032 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32033 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32035 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32036 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32038 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32039 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32041 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32042 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32044 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32045 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32047 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32048 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32050 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32053 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32054 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32056 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32057 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32059 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32060 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32062 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32063 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32065 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32066 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32068 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32069 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32071 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32072 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32074 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32075 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32077 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32078 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32080 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32081 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32083 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32084 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32086 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32087 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32089 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32090 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32092 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32093 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32095 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32096 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32098 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32099 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32101 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32102 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32104 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32105 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32107 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32108 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32110 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32111 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32113 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32114 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32116 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32117 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32119 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32120 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32122 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32123 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32125 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32128 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32129 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32131 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32132 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32134 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32135 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32137 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32138 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32140 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32141 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32143 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32144 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32146 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32149 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32150 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32152 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32153 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32155 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32156 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32158 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
32159 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32161 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32162 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32164 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
32165 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32167 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32168 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32170 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32171 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32173 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32174 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32176 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32177 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32179 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32180 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32182 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32183 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32185 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32186 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32188 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32189 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32191 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32192 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32194 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32195 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32197 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32198 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32200 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32201 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32203 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32204 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32206 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32207 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32209 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32210 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32212 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32213 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32215 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32216 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32218 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32219 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32221 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32222 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32224 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32225 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32227 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32228 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32230 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32231 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32233 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32234 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32236 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32237 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32239 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32240 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32242 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32243 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32245 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32246 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32248 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32249 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32251 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32252 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32254 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32255 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32257 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32258 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32260 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32261 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32263 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32264 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32266 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32267 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32269 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32270 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32272 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32273 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32275 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32276 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32278 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32279 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32281 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32282 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32284 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32285 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32287 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32288 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32290 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32291 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32293 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32294 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32296 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32297 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32299 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32300 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32302 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32303 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32305 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32306 return (void *)((wxWindow
*) ((wxControl
*) x
));
32308 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32309 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32311 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32312 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32314 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32315 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32317 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32318 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32320 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32321 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32323 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32324 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32326 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32327 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32329 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32330 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32332 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32333 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32335 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32336 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32338 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32339 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32341 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32342 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32344 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32345 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32347 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32348 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32350 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32351 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32353 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32354 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32356 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32357 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32359 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32360 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32362 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32363 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32365 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32366 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32368 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32369 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32371 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32372 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32374 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32375 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32377 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32378 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32380 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32381 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32383 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32384 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32386 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32387 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32389 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32390 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32392 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32393 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32395 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32396 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32398 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32399 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32401 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32402 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32404 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32405 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32407 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32408 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32410 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32411 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32413 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32414 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32416 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32417 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32419 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32420 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32422 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32423 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32425 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32426 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32428 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32429 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32431 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32432 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32434 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32435 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32437 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32438 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32440 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32441 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32443 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32444 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32446 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32447 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32449 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32450 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32452 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32453 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32455 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32456 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32458 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32459 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32461 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32462 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32464 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32465 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32466 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};
32467 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32468 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32469 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32470 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32471 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32472 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32473 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32474 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32475 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32476 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32477 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32478 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32479 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32480 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32481 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32482 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32483 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32484 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32485 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32486 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32487 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32488 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32489 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32490 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32491 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32492 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32493 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32494 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32495 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32496 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32497 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32498 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32499 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32500 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32501 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32502 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32503 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32504 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32505 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32506 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32507 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32508 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32509 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32510 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32511 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32512 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32513 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32514 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32515 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32516 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32517 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32518 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32519 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32520 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32521 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32522 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32523 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32524 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32525 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32526 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32527 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32528 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32529 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32530 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32531 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32532 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32533 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32534 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32535 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32536 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32537 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32538 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32539 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32540 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32541 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32542 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32543 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32544 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32545 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32546 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32547 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32548 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32549 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32550 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32551 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32552 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32553 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32554 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32555 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32556 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32557 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32558 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32559 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32560 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32561 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32562 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32563 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32564 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32565 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32566 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32567 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32568 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32569 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32570 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32571 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32572 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32573 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32574 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32575 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32576 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32577 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32578 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32579 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32580 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32581 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32582 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32583 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32584 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32585 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32586 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32587 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32588 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32589 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32590 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32591 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32592 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32593 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32594 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32595 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32596 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32597 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32598 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32599 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32600 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32601 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32602 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32603 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32604 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32605 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32606 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32607 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32608 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32609 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32610 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32611 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32612 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32613 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32614 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32615 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32616 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32617 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32618 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32619 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32620 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32621 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32622 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32623 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32624 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32625 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32626 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32628 static swig_type_info
*swig_type_initial
[] = {
32631 &_swigt__p_form_ops_t
,
32633 &_swigt__p_unsigned_char
,
32634 &_swigt__p_unsigned_int
,
32635 &_swigt__p_unsigned_long
,
32636 &_swigt__p_wxANIHandler
,
32637 &_swigt__p_wxAcceleratorTable
,
32638 &_swigt__p_wxActivateEvent
,
32639 &_swigt__p_wxArrayInt
,
32640 &_swigt__p_wxBMPHandler
,
32641 &_swigt__p_wxBitmap
,
32642 &_swigt__p_wxBoxSizer
,
32643 &_swigt__p_wxCURHandler
,
32644 &_swigt__p_wxCalculateLayoutEvent
,
32645 &_swigt__p_wxChildFocusEvent
,
32646 &_swigt__p_wxClipboardTextEvent
,
32647 &_swigt__p_wxCloseEvent
,
32648 &_swigt__p_wxColour
,
32649 &_swigt__p_wxColourData
,
32650 &_swigt__p_wxColourDialog
,
32651 &_swigt__p_wxCommandEvent
,
32652 &_swigt__p_wxContextMenuEvent
,
32653 &_swigt__p_wxControl
,
32654 &_swigt__p_wxControlWithItems
,
32656 &_swigt__p_wxDateEvent
,
32657 &_swigt__p_wxDialog
,
32658 &_swigt__p_wxDirDialog
,
32659 &_swigt__p_wxDisplayChangedEvent
,
32660 &_swigt__p_wxDropFilesEvent
,
32661 &_swigt__p_wxDuplexMode
,
32662 &_swigt__p_wxEraseEvent
,
32663 &_swigt__p_wxEvent
,
32664 &_swigt__p_wxEvtHandler
,
32665 &_swigt__p_wxFSFile
,
32666 &_swigt__p_wxFileDialog
,
32667 &_swigt__p_wxFileSystem
,
32668 &_swigt__p_wxFindDialogEvent
,
32669 &_swigt__p_wxFindReplaceData
,
32670 &_swigt__p_wxFindReplaceDialog
,
32671 &_swigt__p_wxFlexGridSizer
,
32672 &_swigt__p_wxFocusEvent
,
32674 &_swigt__p_wxFontData
,
32675 &_swigt__p_wxFontDialog
,
32676 &_swigt__p_wxFrame
,
32677 &_swigt__p_wxGBSizerItem
,
32678 &_swigt__p_wxGIFHandler
,
32679 &_swigt__p_wxGridBagSizer
,
32680 &_swigt__p_wxGridSizer
,
32681 &_swigt__p_wxHtmlLinkInfo
,
32682 &_swigt__p_wxICOHandler
,
32684 &_swigt__p_wxIconBundle
,
32685 &_swigt__p_wxIconizeEvent
,
32686 &_swigt__p_wxIdleEvent
,
32687 &_swigt__p_wxImage
,
32688 &_swigt__p_wxImageHandler
,
32689 &_swigt__p_wxIndividualLayoutConstraint
,
32690 &_swigt__p_wxInitDialogEvent
,
32691 &_swigt__p_wxJPEGHandler
,
32692 &_swigt__p_wxKeyEvent
,
32693 &_swigt__p_wxLayoutAlgorithm
,
32694 &_swigt__p_wxLayoutConstraints
,
32695 &_swigt__p_wxMDIChildFrame
,
32696 &_swigt__p_wxMDIClientWindow
,
32697 &_swigt__p_wxMDIParentFrame
,
32698 &_swigt__p_wxMaximizeEvent
,
32700 &_swigt__p_wxMenuBar
,
32701 &_swigt__p_wxMenuEvent
,
32702 &_swigt__p_wxMenuItem
,
32703 &_swigt__p_wxMessageDialog
,
32704 &_swigt__p_wxMiniFrame
,
32705 &_swigt__p_wxMouseCaptureChangedEvent
,
32706 &_swigt__p_wxMouseEvent
,
32707 &_swigt__p_wxMoveEvent
,
32708 &_swigt__p_wxMultiChoiceDialog
,
32709 &_swigt__p_wxNavigationKeyEvent
,
32710 &_swigt__p_wxNcPaintEvent
,
32711 &_swigt__p_wxNotifyEvent
,
32712 &_swigt__p_wxObject
,
32713 &_swigt__p_wxPCXHandler
,
32714 &_swigt__p_wxPNGHandler
,
32715 &_swigt__p_wxPNMHandler
,
32716 &_swigt__p_wxPageSetupDialog
,
32717 &_swigt__p_wxPageSetupDialogData
,
32718 &_swigt__p_wxPaintEvent
,
32719 &_swigt__p_wxPaletteChangedEvent
,
32720 &_swigt__p_wxPanel
,
32721 &_swigt__p_wxPaperSize
,
32722 &_swigt__p_wxPasswordEntryDialog
,
32723 &_swigt__p_wxPoint
,
32724 &_swigt__p_wxPopupWindow
,
32725 &_swigt__p_wxPreviewCanvas
,
32726 &_swigt__p_wxPreviewControlBar
,
32727 &_swigt__p_wxPreviewFrame
,
32728 &_swigt__p_wxPrintData
,
32729 &_swigt__p_wxPrintDialog
,
32730 &_swigt__p_wxPrintDialogData
,
32731 &_swigt__p_wxPrintPreview
,
32732 &_swigt__p_wxPrinter
,
32733 &_swigt__p_wxProgressDialog
,
32734 &_swigt__p_wxPyApp
,
32735 &_swigt__p_wxPyCommandEvent
,
32736 &_swigt__p_wxPyEvent
,
32737 &_swigt__p_wxPyHtmlListBox
,
32738 &_swigt__p_wxPyImageHandler
,
32739 &_swigt__p_wxPyPanel
,
32740 &_swigt__p_wxPyPopupTransientWindow
,
32741 &_swigt__p_wxPyPreviewControlBar
,
32742 &_swigt__p_wxPyPreviewFrame
,
32743 &_swigt__p_wxPyPrintPreview
,
32744 &_swigt__p_wxPyPrintout
,
32745 &_swigt__p_wxPyScrolledWindow
,
32746 &_swigt__p_wxPySizer
,
32747 &_swigt__p_wxPyTaskBarIcon
,
32748 &_swigt__p_wxPyVListBox
,
32749 &_swigt__p_wxPyVScrolledWindow
,
32750 &_swigt__p_wxPyValidator
,
32751 &_swigt__p_wxPyWindow
,
32752 &_swigt__p_wxQueryLayoutInfoEvent
,
32753 &_swigt__p_wxQueryNewPaletteEvent
,
32755 &_swigt__p_wxRegion
,
32756 &_swigt__p_wxSashEvent
,
32757 &_swigt__p_wxSashLayoutWindow
,
32758 &_swigt__p_wxSashWindow
,
32759 &_swigt__p_wxScrollEvent
,
32760 &_swigt__p_wxScrollWinEvent
,
32761 &_swigt__p_wxScrolledWindow
,
32762 &_swigt__p_wxSetCursorEvent
,
32763 &_swigt__p_wxShowEvent
,
32764 &_swigt__p_wxSingleChoiceDialog
,
32766 &_swigt__p_wxSizeEvent
,
32767 &_swigt__p_wxSizer
,
32768 &_swigt__p_wxSizerItem
,
32769 &_swigt__p_wxSplashScreen
,
32770 &_swigt__p_wxSplashScreenWindow
,
32771 &_swigt__p_wxSplitterEvent
,
32772 &_swigt__p_wxSplitterWindow
,
32773 &_swigt__p_wxStaticBoxSizer
,
32774 &_swigt__p_wxStatusBar
,
32775 &_swigt__p_wxStdDialogButtonSizer
,
32776 &_swigt__p_wxString
,
32777 &_swigt__p_wxSysColourChangedEvent
,
32778 &_swigt__p_wxTIFFHandler
,
32779 &_swigt__p_wxTaskBarIcon
,
32780 &_swigt__p_wxTaskBarIconEvent
,
32781 &_swigt__p_wxTextEntryDialog
,
32782 &_swigt__p_wxTipWindow
,
32783 &_swigt__p_wxToolBar
,
32784 &_swigt__p_wxTopLevelWindow
,
32785 &_swigt__p_wxUpdateUIEvent
,
32786 &_swigt__p_wxValidator
,
32787 &_swigt__p_wxVisualAttributes
,
32788 &_swigt__p_wxWindow
,
32789 &_swigt__p_wxWindowCreateEvent
,
32790 &_swigt__p_wxWindowDestroyEvent
,
32791 &_swigt__p_wxXPMHandler
,
32794 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32795 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32796 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32797 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32798 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32799 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32800 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32801 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32802 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32803 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32804 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32805 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32806 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32807 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32808 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32809 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32810 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32811 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32812 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32813 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32814 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32815 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32816 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}};
32817 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32818 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
32819 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32820 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32821 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32822 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32823 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32824 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32825 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32826 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32827 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32828 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32829 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32830 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32831 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32832 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32833 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32834 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32835 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32836 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32837 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32838 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32839 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32840 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32841 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32842 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32843 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32844 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32845 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32846 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}};
32847 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32848 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32849 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32850 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32851 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32852 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
32853 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32854 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32855 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32856 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32857 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32858 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32859 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32860 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32861 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}};
32862 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32863 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32864 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32865 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32866 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32867 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32868 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32869 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32870 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32871 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32872 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32873 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32874 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}};
32875 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32876 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32877 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32878 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32879 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32880 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32881 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32882 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32883 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32884 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32885 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32886 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32887 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32888 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32889 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32890 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32891 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32892 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32893 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32894 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32895 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32896 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32897 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32898 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32899 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32900 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32901 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32902 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32903 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_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_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
32904 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32905 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32906 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}};
32907 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32908 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32909 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32910 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}};
32911 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32912 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}};
32913 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}};
32914 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32915 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32916 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32917 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}};
32918 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32919 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32920 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32921 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32922 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}};
32923 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32924 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32925 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32926 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32927 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32928 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32929 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}};
32930 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}};
32931 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32932 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32933 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32934 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32935 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32936 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32937 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}};
32938 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32939 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}};
32940 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32941 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32942 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32943 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32944 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32946 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32947 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32948 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32949 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32950 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32951 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}};
32952 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32953 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32954 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
32955 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32956 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
32958 static swig_cast_info
*swig_cast_initial
[] = {
32961 _swigc__p_form_ops_t
,
32963 _swigc__p_unsigned_char
,
32964 _swigc__p_unsigned_int
,
32965 _swigc__p_unsigned_long
,
32966 _swigc__p_wxANIHandler
,
32967 _swigc__p_wxAcceleratorTable
,
32968 _swigc__p_wxActivateEvent
,
32969 _swigc__p_wxArrayInt
,
32970 _swigc__p_wxBMPHandler
,
32971 _swigc__p_wxBitmap
,
32972 _swigc__p_wxBoxSizer
,
32973 _swigc__p_wxCURHandler
,
32974 _swigc__p_wxCalculateLayoutEvent
,
32975 _swigc__p_wxChildFocusEvent
,
32976 _swigc__p_wxClipboardTextEvent
,
32977 _swigc__p_wxCloseEvent
,
32978 _swigc__p_wxColour
,
32979 _swigc__p_wxColourData
,
32980 _swigc__p_wxColourDialog
,
32981 _swigc__p_wxCommandEvent
,
32982 _swigc__p_wxContextMenuEvent
,
32983 _swigc__p_wxControl
,
32984 _swigc__p_wxControlWithItems
,
32986 _swigc__p_wxDateEvent
,
32987 _swigc__p_wxDialog
,
32988 _swigc__p_wxDirDialog
,
32989 _swigc__p_wxDisplayChangedEvent
,
32990 _swigc__p_wxDropFilesEvent
,
32991 _swigc__p_wxDuplexMode
,
32992 _swigc__p_wxEraseEvent
,
32994 _swigc__p_wxEvtHandler
,
32995 _swigc__p_wxFSFile
,
32996 _swigc__p_wxFileDialog
,
32997 _swigc__p_wxFileSystem
,
32998 _swigc__p_wxFindDialogEvent
,
32999 _swigc__p_wxFindReplaceData
,
33000 _swigc__p_wxFindReplaceDialog
,
33001 _swigc__p_wxFlexGridSizer
,
33002 _swigc__p_wxFocusEvent
,
33004 _swigc__p_wxFontData
,
33005 _swigc__p_wxFontDialog
,
33007 _swigc__p_wxGBSizerItem
,
33008 _swigc__p_wxGIFHandler
,
33009 _swigc__p_wxGridBagSizer
,
33010 _swigc__p_wxGridSizer
,
33011 _swigc__p_wxHtmlLinkInfo
,
33012 _swigc__p_wxICOHandler
,
33014 _swigc__p_wxIconBundle
,
33015 _swigc__p_wxIconizeEvent
,
33016 _swigc__p_wxIdleEvent
,
33018 _swigc__p_wxImageHandler
,
33019 _swigc__p_wxIndividualLayoutConstraint
,
33020 _swigc__p_wxInitDialogEvent
,
33021 _swigc__p_wxJPEGHandler
,
33022 _swigc__p_wxKeyEvent
,
33023 _swigc__p_wxLayoutAlgorithm
,
33024 _swigc__p_wxLayoutConstraints
,
33025 _swigc__p_wxMDIChildFrame
,
33026 _swigc__p_wxMDIClientWindow
,
33027 _swigc__p_wxMDIParentFrame
,
33028 _swigc__p_wxMaximizeEvent
,
33030 _swigc__p_wxMenuBar
,
33031 _swigc__p_wxMenuEvent
,
33032 _swigc__p_wxMenuItem
,
33033 _swigc__p_wxMessageDialog
,
33034 _swigc__p_wxMiniFrame
,
33035 _swigc__p_wxMouseCaptureChangedEvent
,
33036 _swigc__p_wxMouseEvent
,
33037 _swigc__p_wxMoveEvent
,
33038 _swigc__p_wxMultiChoiceDialog
,
33039 _swigc__p_wxNavigationKeyEvent
,
33040 _swigc__p_wxNcPaintEvent
,
33041 _swigc__p_wxNotifyEvent
,
33042 _swigc__p_wxObject
,
33043 _swigc__p_wxPCXHandler
,
33044 _swigc__p_wxPNGHandler
,
33045 _swigc__p_wxPNMHandler
,
33046 _swigc__p_wxPageSetupDialog
,
33047 _swigc__p_wxPageSetupDialogData
,
33048 _swigc__p_wxPaintEvent
,
33049 _swigc__p_wxPaletteChangedEvent
,
33051 _swigc__p_wxPaperSize
,
33052 _swigc__p_wxPasswordEntryDialog
,
33054 _swigc__p_wxPopupWindow
,
33055 _swigc__p_wxPreviewCanvas
,
33056 _swigc__p_wxPreviewControlBar
,
33057 _swigc__p_wxPreviewFrame
,
33058 _swigc__p_wxPrintData
,
33059 _swigc__p_wxPrintDialog
,
33060 _swigc__p_wxPrintDialogData
,
33061 _swigc__p_wxPrintPreview
,
33062 _swigc__p_wxPrinter
,
33063 _swigc__p_wxProgressDialog
,
33065 _swigc__p_wxPyCommandEvent
,
33066 _swigc__p_wxPyEvent
,
33067 _swigc__p_wxPyHtmlListBox
,
33068 _swigc__p_wxPyImageHandler
,
33069 _swigc__p_wxPyPanel
,
33070 _swigc__p_wxPyPopupTransientWindow
,
33071 _swigc__p_wxPyPreviewControlBar
,
33072 _swigc__p_wxPyPreviewFrame
,
33073 _swigc__p_wxPyPrintPreview
,
33074 _swigc__p_wxPyPrintout
,
33075 _swigc__p_wxPyScrolledWindow
,
33076 _swigc__p_wxPySizer
,
33077 _swigc__p_wxPyTaskBarIcon
,
33078 _swigc__p_wxPyVListBox
,
33079 _swigc__p_wxPyVScrolledWindow
,
33080 _swigc__p_wxPyValidator
,
33081 _swigc__p_wxPyWindow
,
33082 _swigc__p_wxQueryLayoutInfoEvent
,
33083 _swigc__p_wxQueryNewPaletteEvent
,
33085 _swigc__p_wxRegion
,
33086 _swigc__p_wxSashEvent
,
33087 _swigc__p_wxSashLayoutWindow
,
33088 _swigc__p_wxSashWindow
,
33089 _swigc__p_wxScrollEvent
,
33090 _swigc__p_wxScrollWinEvent
,
33091 _swigc__p_wxScrolledWindow
,
33092 _swigc__p_wxSetCursorEvent
,
33093 _swigc__p_wxShowEvent
,
33094 _swigc__p_wxSingleChoiceDialog
,
33096 _swigc__p_wxSizeEvent
,
33098 _swigc__p_wxSizerItem
,
33099 _swigc__p_wxSplashScreen
,
33100 _swigc__p_wxSplashScreenWindow
,
33101 _swigc__p_wxSplitterEvent
,
33102 _swigc__p_wxSplitterWindow
,
33103 _swigc__p_wxStaticBoxSizer
,
33104 _swigc__p_wxStatusBar
,
33105 _swigc__p_wxStdDialogButtonSizer
,
33106 _swigc__p_wxString
,
33107 _swigc__p_wxSysColourChangedEvent
,
33108 _swigc__p_wxTIFFHandler
,
33109 _swigc__p_wxTaskBarIcon
,
33110 _swigc__p_wxTaskBarIconEvent
,
33111 _swigc__p_wxTextEntryDialog
,
33112 _swigc__p_wxTipWindow
,
33113 _swigc__p_wxToolBar
,
33114 _swigc__p_wxTopLevelWindow
,
33115 _swigc__p_wxUpdateUIEvent
,
33116 _swigc__p_wxValidator
,
33117 _swigc__p_wxVisualAttributes
,
33118 _swigc__p_wxWindow
,
33119 _swigc__p_wxWindowCreateEvent
,
33120 _swigc__p_wxWindowDestroyEvent
,
33121 _swigc__p_wxXPMHandler
,
33125 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33127 static swig_const_info swig_const_table
[] = {
33128 {0, 0, 0, 0.0, 0, 0}};
33133 /* -----------------------------------------------------------------------------
33134 * Type initialization:
33135 * This problem is tough by the requirement that no dynamic
33136 * memory is used. Also, since swig_type_info structures store pointers to
33137 * swig_cast_info structures and swig_cast_info structures store pointers back
33138 * to swig_type_info structures, we need some lookup code at initialization.
33139 * The idea is that swig generates all the structures that are needed.
33140 * The runtime then collects these partially filled structures.
33141 * The SWIG_InitializeModule function takes these initial arrays out of
33142 * swig_module, and does all the lookup, filling in the swig_module.types
33143 * array with the correct data and linking the correct swig_cast_info
33144 * structures together.
33146 * The generated swig_type_info structures are assigned staticly to an initial
33147 * array. We just loop though that array, and handle each type individually.
33148 * First we lookup if this type has been already loaded, and if so, use the
33149 * loaded structure instead of the generated one. Then we have to fill in the
33150 * cast linked list. The cast data is initially stored in something like a
33151 * two-dimensional array. Each row corresponds to a type (there are the same
33152 * number of rows as there are in the swig_type_initial array). Each entry in
33153 * a column is one of the swig_cast_info structures for that type.
33154 * The cast_initial array is actually an array of arrays, because each row has
33155 * a variable number of columns. So to actually build the cast linked list,
33156 * we find the array of casts associated with the type, and loop through it
33157 * adding the casts to the list. The one last trick we need to do is making
33158 * sure the type pointer in the swig_cast_info struct is correct.
33160 * First off, we lookup the cast->type name to see if it is already loaded.
33161 * There are three cases to handle:
33162 * 1) If the cast->type has already been loaded AND the type we are adding
33163 * casting info to has not been loaded (it is in this module), THEN we
33164 * replace the cast->type pointer with the type pointer that has already
33166 * 2) If BOTH types (the one we are adding casting info to, and the
33167 * cast->type) are loaded, THEN the cast info has already been loaded by
33168 * the previous module so we just ignore it.
33169 * 3) Finally, if cast->type has not already been loaded, then we add that
33170 * swig_cast_info to the linked list (because the cast->type) pointer will
33172 * ----------------------------------------------------------------------------- */
33182 #define SWIGRUNTIME_DEBUG
33186 SWIG_InitializeModule(void *clientdata
) {
33188 swig_module_info
*module_head
;
33189 static int init_run
= 0;
33191 clientdata
= clientdata
;
33193 if (init_run
) return;
33196 /* Initialize the swig_module */
33197 swig_module
.type_initial
= swig_type_initial
;
33198 swig_module
.cast_initial
= swig_cast_initial
;
33200 /* Try and load any already created modules */
33201 module_head
= SWIG_GetModule(clientdata
);
33203 swig_module
.next
= module_head
->next
;
33204 module_head
->next
= &swig_module
;
33206 /* This is the first module loaded */
33207 swig_module
.next
= &swig_module
;
33208 SWIG_SetModule(clientdata
, &swig_module
);
33211 /* Now work on filling in swig_module.types */
33212 #ifdef SWIGRUNTIME_DEBUG
33213 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33215 for (i
= 0; i
< swig_module
.size
; ++i
) {
33216 swig_type_info
*type
= 0;
33217 swig_type_info
*ret
;
33218 swig_cast_info
*cast
;
33220 #ifdef SWIGRUNTIME_DEBUG
33221 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33224 /* if there is another module already loaded */
33225 if (swig_module
.next
!= &swig_module
) {
33226 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33229 /* Overwrite clientdata field */
33230 #ifdef SWIGRUNTIME_DEBUG
33231 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33233 if (swig_module
.type_initial
[i
]->clientdata
) {
33234 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33235 #ifdef SWIGRUNTIME_DEBUG
33236 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33240 type
= swig_module
.type_initial
[i
];
33243 /* Insert casting types */
33244 cast
= swig_module
.cast_initial
[i
];
33245 while (cast
->type
) {
33246 /* Don't need to add information already in the list */
33248 #ifdef SWIGRUNTIME_DEBUG
33249 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33251 if (swig_module
.next
!= &swig_module
) {
33252 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33253 #ifdef SWIGRUNTIME_DEBUG
33254 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33258 if (type
== swig_module
.type_initial
[i
]) {
33259 #ifdef SWIGRUNTIME_DEBUG
33260 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33265 /* Check for casting already in the list */
33266 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33267 #ifdef SWIGRUNTIME_DEBUG
33268 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33270 if (!ocast
) ret
= 0;
33275 #ifdef SWIGRUNTIME_DEBUG
33276 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33279 type
->cast
->prev
= cast
;
33280 cast
->next
= type
->cast
;
33286 /* Set entry in modules->types array equal to the type */
33287 swig_module
.types
[i
] = type
;
33289 swig_module
.types
[i
] = 0;
33291 #ifdef SWIGRUNTIME_DEBUG
33292 printf("**** SWIG_InitializeModule: Cast List ******\n");
33293 for (i
= 0; i
< swig_module
.size
; ++i
) {
33295 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33296 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33297 while (cast
->type
) {
33298 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33302 printf("---- Total casts: %d\n",j
);
33304 printf("**** SWIG_InitializeModule: Cast List ******\n");
33308 /* This function will propagate the clientdata field of type to
33309 * any new swig_type_info structures that have been added into the list
33310 * of equivalent types. It is like calling
33311 * SWIG_TypeClientData(type, clientdata) a second time.
33314 SWIG_PropagateClientData(void) {
33316 swig_cast_info
*equiv
;
33317 static int init_run
= 0;
33319 if (init_run
) return;
33322 for (i
= 0; i
< swig_module
.size
; i
++) {
33323 if (swig_module
.types
[i
]->clientdata
) {
33324 equiv
= swig_module
.types
[i
]->cast
;
33326 if (!equiv
->converter
) {
33327 if (equiv
->type
&& !equiv
->type
->clientdata
)
33328 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33330 equiv
= equiv
->next
;
33350 /* Python-specific SWIG API */
33351 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33352 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33353 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33355 /* -----------------------------------------------------------------------------
33356 * global variable support code.
33357 * ----------------------------------------------------------------------------- */
33359 typedef struct swig_globalvar
{
33360 char *name
; /* Name of global variable */
33361 PyObject
*(*get_attr
)(void); /* Return the current value */
33362 int (*set_attr
)(PyObject
*); /* Set the value */
33363 struct swig_globalvar
*next
;
33366 typedef struct swig_varlinkobject
{
33368 swig_globalvar
*vars
;
33369 } swig_varlinkobject
;
33371 SWIGINTERN PyObject
*
33372 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33373 return PyString_FromString("<Swig global variables>");
33376 SWIGINTERN PyObject
*
33377 swig_varlink_str(swig_varlinkobject
*v
) {
33378 PyObject
*str
= PyString_FromString("(");
33379 swig_globalvar
*var
;
33380 for (var
= v
->vars
; var
; var
=var
->next
) {
33381 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33382 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33384 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33389 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33390 PyObject
*str
= swig_varlink_str(v
);
33391 fprintf(fp
,"Swig global variables ");
33392 fprintf(fp
,"%s\n", PyString_AsString(str
));
33398 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33399 swig_globalvar
*var
= v
->vars
;
33401 swig_globalvar
*n
= var
->next
;
33408 SWIGINTERN PyObject
*
33409 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33410 PyObject
*res
= NULL
;
33411 swig_globalvar
*var
= v
->vars
;
33413 if (strcmp(var
->name
,n
) == 0) {
33414 res
= (*var
->get_attr
)();
33419 if (res
== NULL
&& !PyErr_Occurred()) {
33420 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33426 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33428 swig_globalvar
*var
= v
->vars
;
33430 if (strcmp(var
->name
,n
) == 0) {
33431 res
= (*var
->set_attr
)(p
);
33436 if (res
== 1 && !PyErr_Occurred()) {
33437 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33442 SWIGINTERN PyTypeObject
*
33443 swig_varlink_type(void) {
33444 static char varlink__doc__
[] = "Swig var link object";
33445 static PyTypeObject varlink_type
;
33446 static int type_init
= 0;
33448 const PyTypeObject tmp
33450 PyObject_HEAD_INIT(NULL
)
33451 0, /* Number of items in variable part (ob_size) */
33452 (char *)"swigvarlink", /* Type name (tp_name) */
33453 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33454 0, /* Itemsize (tp_itemsize) */
33455 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33456 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33457 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33458 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33459 0, /* tp_compare */
33460 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33461 0, /* tp_as_number */
33462 0, /* tp_as_sequence */
33463 0, /* tp_as_mapping */
33466 (reprfunc
)swig_varlink_str
, /* tp_str */
33467 0, /* tp_getattro */
33468 0, /* tp_setattro */
33469 0, /* tp_as_buffer */
33471 varlink__doc__
, /* tp_doc */
33472 0, /* tp_traverse */
33474 0, /* tp_richcompare */
33475 0, /* tp_weaklistoffset */
33476 #if PY_VERSION_HEX >= 0x02020000
33477 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33479 #if PY_VERSION_HEX >= 0x02030000
33482 #ifdef COUNT_ALLOCS
33483 0,0,0,0 /* tp_alloc -> tp_next */
33486 varlink_type
= tmp
;
33487 varlink_type
.ob_type
= &PyType_Type
;
33490 return &varlink_type
;
33493 /* Create a variable linking object for use later */
33494 SWIGINTERN PyObject
*
33495 SWIG_Python_newvarlink(void) {
33496 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33500 return ((PyObject
*) result
);
33504 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33505 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33506 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33508 size_t size
= strlen(name
)+1;
33509 gv
->name
= (char *)malloc(size
);
33511 strncpy(gv
->name
,name
,size
);
33512 gv
->get_attr
= get_attr
;
33513 gv
->set_attr
= set_attr
;
33514 gv
->next
= v
->vars
;
33520 SWIGINTERN PyObject
*
33522 static PyObject
*_SWIG_globals
= 0;
33523 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33524 return _SWIG_globals
;
33527 /* -----------------------------------------------------------------------------
33528 * constants/methods manipulation
33529 * ----------------------------------------------------------------------------- */
33531 /* Install Constants */
33533 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33536 for (i
= 0; constants
[i
].type
; ++i
) {
33537 switch(constants
[i
].type
) {
33538 case SWIG_PY_POINTER
:
33539 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33541 case SWIG_PY_BINARY
:
33542 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33549 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33555 /* -----------------------------------------------------------------------------*/
33556 /* Fix SwigMethods to carry the callback ptrs when needed */
33557 /* -----------------------------------------------------------------------------*/
33560 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33561 swig_const_info
*const_table
,
33562 swig_type_info
**types
,
33563 swig_type_info
**types_initial
) {
33565 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33566 const char *c
= methods
[i
].ml_doc
;
33567 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33569 swig_const_info
*ci
= 0;
33570 const char *name
= c
+ 10;
33571 for (j
= 0; const_table
[j
].type
; ++j
) {
33572 if (strncmp(const_table
[j
].name
, name
,
33573 strlen(const_table
[j
].name
)) == 0) {
33574 ci
= &(const_table
[j
]);
33579 size_t shift
= (ci
->ptype
) - types
;
33580 swig_type_info
*ty
= types_initial
[shift
];
33581 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33582 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33583 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33586 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33588 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33590 strncpy(buff
, "swig_ptr: ", 10);
33592 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33593 methods
[i
].ml_doc
= ndoc
;
33605 /* -----------------------------------------------------------------------------*
33606 * Partial Init method
33607 * -----------------------------------------------------------------------------*/
33612 SWIGEXPORT
void SWIG_init(void) {
33615 /* Fix SwigMethods to carry the callback ptrs when needed */
33616 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33618 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33619 d
= PyModule_GetDict(m
);
33621 SWIG_InitializeModule(0);
33622 SWIG_InstallConstants(d
,swig_const_table
);
33625 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33626 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33627 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33628 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33629 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33630 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33631 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33632 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33633 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33634 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33635 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33636 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33637 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33638 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33639 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33640 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33641 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33642 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33643 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33644 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33645 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33646 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33647 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33648 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33649 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33650 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33651 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33652 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33653 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33654 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33655 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33656 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33657 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33658 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33659 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33660 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33661 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33662 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33663 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33664 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33665 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33666 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33667 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33668 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33669 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33670 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33671 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33672 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33673 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33674 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33675 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33676 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33677 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33678 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33679 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33680 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33681 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33682 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33683 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33684 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33685 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33686 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33687 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33688 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33689 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33690 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33691 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33692 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33693 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33694 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33695 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33696 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33697 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33698 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33699 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33700 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33701 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33702 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33703 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33704 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33705 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33706 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33707 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33708 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33709 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33710 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33711 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33712 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33713 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33714 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33715 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33716 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33717 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33718 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33719 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33720 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33721 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33722 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33723 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33724 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33725 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33726 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33728 // Map renamed classes back to their common name for OOR
33729 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33730 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33731 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33733 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33734 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33735 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33736 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33737 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33738 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33739 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33740 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33741 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33742 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33743 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33744 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33745 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33746 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33747 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33748 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33749 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33750 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33751 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33752 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33753 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33754 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33755 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
33756 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33757 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33758 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33759 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33760 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33761 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33762 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33763 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33764 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33765 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33766 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33767 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33768 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33769 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33770 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33771 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33772 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33773 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33774 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33775 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33776 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33777 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33778 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33779 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33780 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33781 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33782 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33783 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33784 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33785 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33786 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33787 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33788 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33789 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33790 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33791 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33792 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33793 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33794 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33795 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33796 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33797 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33798 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33799 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33800 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33801 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33802 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33803 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33804 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33805 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33806 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33807 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33808 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33809 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33810 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33811 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33812 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33813 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33814 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33815 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33816 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33817 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33818 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33819 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33820 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33821 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33822 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33823 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33824 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33825 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33826 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33827 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33829 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");